/* ==========================================================
   Novareboot Solar System Calculator
   ========================================================== */

.nrb-nav-calc {
	color: #F5B400 !important;
}

/* Progress indicator */
.nrb-calc__progress {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 40px 0;
}
.nrb-calc__progress__step {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 13px;
	color: #4B5563;
	padding: 8px 16px;
	border-radius: 999px;
	background: #E5E7EB;
}
.nrb-calc__progress__step span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	color: #4B5563;
	font-size: 12px;
}
.nrb-calc__progress__step.is-active {
	background: #0F2747;
	color: #fff;
}
.nrb-calc__progress__step.is-active span {
	background: #F5B400;
	color: #0F2747;
}
.nrb-calc__progress__step.is-done {
	background: rgba(15, 39, 71, 0.08);
	color: #0F2747;
}
.nrb-calc__progress__step.is-done span {
	background: #0F2747;
	color: #fff;
}

/* Card shell */
.nrb-calc__card {
	max-width: 900px;
	margin: 0 auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 30px rgba(15, 39, 71, 0.08);
	padding: 45px;
}
@media (max-width: 767px) {
	.nrb-calc__card {
		padding: 24px 18px;
	}
}

.nrb-calc__panel {
	display: none;
}
.nrb-calc__panel.is-active {
	display: block;
	animation: nrb-calc-fade 0.3s ease;
}
@keyframes nrb-calc-fade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}
.nrb-calc__panel h3 {
	margin-bottom: 8px;
}
.nrb-calc__hint {
	color: #4B5563;
	font-size: 14px;
	margin-bottom: 24px;
}

/* Step 1 — appliance rows */
.nrb-calc__appliance-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
	max-height: 480px;
	overflow-y: auto;
	padding-right: 6px;
}
.nrb-calc__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid #E5E7EB;
	border-radius: 12px;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.nrb-calc__row:has(.nrb-a-include:checked) {
	border-color: #F5B400;
	background: rgba(245, 180, 0, 0.06);
}
.nrb-calc__row__check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: #0F2747;
	cursor: pointer;
	flex: 1 1 200px;
	min-width: 0;
}
.nrb-calc__row__check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #F5B400;
	flex-shrink: 0;
}
.nrb-a-name-label {
	overflow-wrap: anywhere;
}
.nrb-a-name {
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	padding: 4px 8px;
	font-weight: 700;
	color: #0F2747;
	width: 100%;
	min-width: 140px;
}
.nrb-calc__row__fields {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.nrb-calc__row__field {
	display: flex;
	flex-direction: column;
	font-size: 11px;
	color: #4B5563;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}
.nrb-calc__row__field input {
	margin-top: 4px;
	width: 64px;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	padding: 6px 8px;
	color: #0F2747;
	font-weight: 700;
	font-size: 13px;
}

/* Step 2 — lifestyle */
.nrb-calc__field {
	margin-bottom: 28px;
}
.nrb-calc__field > label {
	display: block;
	font-weight: 700;
	color: #0F2747;
	margin-bottom: 12px;
}
.nrb-calc__select {
	width: 100%;
	max-width: 320px;
	padding: 12px 16px;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	color: #0F2747;
	font-weight: 600;
}
.nrb-calc__choice-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.nrb-calc__choice-grid--5 {
	grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 767px) {
	.nrb-calc__choice-grid,
	.nrb-calc__choice-grid--5 {
		grid-template-columns: repeat(2, 1fr);
	}
}
.nrb-calc__choice {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
	padding: 12px 10px;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	font-weight: 700;
	font-size: 13px;
	color: #4B5563;
	cursor: pointer;
	transition: all 0.2s ease;
}
.nrb-calc__choice input {
	display: none;
}
.nrb-calc__choice:has(input:checked) {
	border-color: #F5B400;
	background: #0F2747;
	color: #fff;
}

/* Step 3 — essential loads */
.nrb-calc__essential-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}
@media (max-width: 575px) {
	.nrb-calc__essential-list {
		grid-template-columns: 1fr;
	}
}
.nrb-calc__essential-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	font-weight: 700;
	color: #0F2747;
	cursor: pointer;
}
.nrb-calc__essential-item input {
	width: 18px;
	height: 18px;
	accent-color: #F5B400;
	flex-shrink: 0;
}
.nrb-calc__essential-item em {
	font-style: normal;
	color: #4B5563;
	font-weight: 600;
	font-size: 12px;
}

/* Step 4 — results */
.nrb-calc__results-head {
	text-align: center;
	margin-bottom: 30px;
}
.nrb-calc__results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}
@media (max-width: 767px) {
	.nrb-calc__results-grid {
		grid-template-columns: 1fr;
	}
}
.nrb-calc__result-card {
	text-align: center;
	padding: 30px 20px;
	border-radius: 16px;
	background: #E5E7EB;
}
.nrb-calc__result-card i {
	font-size: 34px;
	color: #F5B400;
	margin-bottom: 12px;
}
.nrb-calc__result-card h4 {
	font-size: 26px;
	color: #0F2747;
	margin-bottom: 4px;
}
.nrb-calc__result-card__label {
	font-weight: 700;
	color: #0F2747;
	margin-bottom: 8px;
}
.nrb-calc__result-card__desc {
	font-size: 13px;
	color: #4B5563;
	margin-bottom: 0;
}
.nrb-calc__profile {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	background: #0F2747;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 24px;
}
@media (max-width: 575px) {
	.nrb-calc__profile {
		grid-template-columns: repeat(2, 1fr);
	}
}
.nrb-calc__profile__stat {
	text-align: center;
}
.nrb-calc__profile__stat span {
	display: block;
	font-size: 22px;
	font-weight: 800;
	color: #F5B400;
}
.nrb-calc__profile__stat small {
	color: #fff;
	opacity: 0.8;
	font-size: 12px;
}
.nrb-calc__disclaimer {
	font-size: 12px;
	color: #4B5563;
	text-align: center;
	max-width: 640px;
	margin: 0 auto 30px;
}

.nrb-calc__lead {
	border-top: 1px solid #E5E7EB;
	padding-top: 30px;
	text-align: center;
}
.nrb-calc__lead .row {
	max-width: 640px;
	margin: 20px auto 0;
}
.nrb-calc__lead input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	margin-bottom: 16px;
	color: #0F2747;
}
.nrb-calc__lead__alt {
	display: block;
	margin-top: 14px;
	font-size: 13px;
	color: #4B5563;
	text-decoration: underline;
}

/* Step nav buttons */
.nrb-calc__nav {
	display: flex;
	justify-content: space-between;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid #E5E7EB;
}
.nrb-calc__nav #nrb-back:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
