/* 
Smart Home Battery Calculator CSS 
*/

.tb-calc-container {
	max-width: 1180px;
	margin: 0 auto;
	font-family: 'Inter', system-ui, sans-serif;
}

.tb-calc-header {
	text-align: center;
	margin-bottom: 3rem;
}

.tb-calc-header h2 {
	font-size: 2.25rem;
	font-weight: 800;
	color: #0a1128;
	margin-bottom: 1rem;
}

.tb-calc-header p {
	font-size: 1.125rem;
	color: #475569;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.6;
}

.tb-calc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media(min-width: 900px) {
	.tb-calc-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* LEFT COLUMN - INPUTS */
.tb-calc-inputs {
	background: #ffffff;
	border-radius: 20px;
	padding: 2.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0,0,0,0.05);
}

.tb-calc-inputs h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0a1128;
	margin-bottom: 2rem;
}

.tb-calc-group {
	margin-bottom: 1.5rem;
}

.tb-calc-group label {
	display: block;
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
}

.tb-calc-group select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background-color: #f8fafc;
	font-family: inherit;
	font-size: 1rem;
}

/* Custom Range Slider */
input[type=range] {
	-webkit-appearance: none;
	width: 100%;
	background: transparent;
}
input[type=range]:focus {
	outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 6px;
	cursor: pointer;
	background: #e2e8f0;
	border-radius: 10px;
}
input[type=range]::-webkit-slider-thumb {
	height: 18px;
	width: 18px;
	border-radius: 50%;
	background: #0a1128;
	cursor: pointer;
	-webkit-appearance: none;
	margin-top: -6px;
}
input[type=range]:focus::-webkit-slider-thumb {
	box-shadow: 0 0 0 4px rgba(10, 17, 40, 0.2);
}

/* RIGHT COLUMN - RESULTS */
.tb-calc-results {
	background: #0a1128;
	border-radius: 20px;
	padding: 2.5rem;
	color: #ffffff;
	box-shadow: 0 20px 50px rgba(10, 17, 40, 0.2);
}

.tb-calc-results h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 2rem;
}

.tb-calc-highlight {
	background: rgba(251, 191, 36, 0.1);
	border: 1px solid rgba(251, 191, 36, 0.3);
	border-radius: 12px;
	padding: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

.tb-calc-highlight span {
	color: #fbbf24;
	font-weight: 500;
	font-size: 1.1rem;
}

.tb-calc-highlight strong {
	color: #fbbf24;
	font-weight: 800;
	font-size: 1.8rem;
}

.tb-calc-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem 0;
}

.tb-calc-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tb-calc-list li:last-child {
	border-bottom: none;
}

.tb-calc-list li span {
	color: #cbd5e1;
	font-size: 0.95rem;
}

.tb-calc-list li strong {
	font-weight: 700;
	font-size: 1.05rem;
}

.tb-calc-secondary li span {
	font-size: 0.85rem;
}
.tb-calc-secondary li strong {
	font-size: 0.9rem;
}

.tb-calc-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background-color: #fbbf24;
	color: #0a1128;
	text-align: center;
	font-weight: 700;
	padding: 1.25rem;
	border-radius: 12px;
	text-decoration: none;
	font-size: 1.1rem;
	transition: all 0.3s ease;
}

.tb-calc-btn:hover {
	background-color: #f59e0b;
	transform: translateY(-2px);
}
