/* ==========================================================================
   Multi-step scheduling form + price calculator
   Loaded alongside styles.css on home.html. Namespaced to avoid clashing
   with the existing request-panel styles.
   ========================================================================== */

.step-indicator {
	margin: 4px 0 20px;
}

.step-indicator-text {
	display: block;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8a8a8a;
	margin-bottom: 8px;
}

.step-indicator-track {
	height: 6px;
	border-radius: 999px;
	background: #ece7dd;
	overflow: hidden;
}

.step-indicator-fill {
	height: 100%;
	width: 12.5%;
	border-radius: 999px;
	background: #55a04a;
	transition: width 0.25s ease;
}

.request-steps {
	position: relative;
}

.request-step {
	display: none;
}

.request-step.is-active {
	display: block;
	animation: requestStepIn 0.2s ease;
}

@keyframes requestStepIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.request-step-title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 600;
	color: #26301f;
}

.request-step-sub {
	margin: 0 0 16px;
	font-size: 14px;
	color: #6b7566;
	line-height: 1.5;
}

.step-busy-list {
	margin-bottom: 16px;
}

.step-busy-list:empty {
	display: none;
}

.step-busy-list-label {
	font-size: 13px;
	font-weight: 600;
	color: #6b7566;
	margin: 0 0 6px;
}

.step-busy-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.step-busy-list li {
    background: #fdeceb;
    color: #b3401c;
    border: 1px solid #f3c9c2;
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.step-nav {
	display: flex;
	gap: 10px;
	align-items: center;
}

.step-back-btn {
	background: transparent;
	border: 1px solid #d8d2c2;
	color: #4a5340;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.step-back-btn:hover {
	background: #f2ede0;
}

.step-back-btn:disabled,
.step-back-btn.is-hidden {
	display: none;
}

/* ---- Price calculator ---- */

.calc-substep {
	display: none;
}

.calc-substep.is-active {
	display: block;
	animation: requestStepIn 0.2s ease;
}

.calc-substep.is-active h3 {
	margin-top: 0px;
}

.calc-message {
	font-size: 15px;
	line-height: 1.6;
	color: #4a5340;
	background: #f2ede0;
	border-radius: 12px;
	padding: 16px 18px;
}

.calc-layout {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.calc-inputs {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-info {
	flex: 1 1 auto;
	min-width: 0;
}

.calc-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #faf8f2;
	border: 1px solid #ece7dd;
	border-radius: 12px;
	padding: 10px 14px;
}

.calc-counter-label {
	font-size: 13.5px;
	color: #26301f;
	font-weight: 500;
}

.calc-stepper {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.calc-stepper-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #d8d2c2;
	background: #ffffff;
	color: #26301f;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.calc-stepper-btn:hover {
	background: #55a04a;
	border-color: #55a04a;
	color: #ffffff;
}

.calc-stepper-input {
	width: 40px;
	text-align: center;
	border: none;
	background: transparent;
	font-size: 15px;
	font-weight: 600;
	color: #26301f;
	-moz-appearance: textfield;
}

.calc-stepper-input::-webkit-outer-spin-button,
.calc-stepper-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.calc-base-line {
	font-size: 15px;
	margin: 0 0 8px;
	color: #26301f;
}

.calc-explainer {
	font-size: 13.5px;
	line-height: 1.6;
	color: #6b7566;
	margin: 0 0 12px;
}

.calc-examples {
	margin: 0 0 16px;
	padding-left: 18px;
	font-size: 13.5px;
	line-height: 1.7;
	color: #4a5340;
}

.calc-total {
	font-size: 17px;
	font-weight: 700;
	color: #26301f;
	padding-top: 12px;
	border-top: 1px solid #ece7dd;
}

.calc-quote-panel {
	background: rgba(242,237,224,0.4);
	border-radius: 14px;
	padding: 24px;
	text-align: center;
}

.calc-quote-title {
	margin: 0 0 10px;
	font-size: 17px;
	color: #26301f;
}

.calc-quote-total {
	font-size: 36px;
	font-weight: 700;
	color: #55a04a;
	margin-bottom: 14px;
}

#notesFieldSlot {
    margin-top: 20px;
}

.calc-quote-panel .calc-examples {
	text-align: left;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
}

.calc-donation-exclusions {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #ece7dd;
	text-align: left;
}

.calc-donation-exclusions.is-hidden {
	display: none;
}

.calc-fee-examples-section.is-hidden {
	display: none;
}

.calc-donation-exclusions-title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	color: #26301f;
}

.calc-donation-exclusions-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 641px) {
	.calc-donation-exclusions-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1025px) {
	.calc-donation-exclusions-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.donation-exclusion-card {
	background: #ffffff;
	border: 1px solid #ece7dd;
	border-radius: 12px;
	padding: 12px 16px;
}

.donation-exclusion-card-title {
	font-size: 14px;
	font-weight: 700;
	color: #26301f;
	margin-bottom: 4px;
	word-break: break-word;
}

.donation-exclusion-card-desc {
	font-size: 13.5px;
	line-height: 1.55;
	color: #6b7566;
	word-break: break-word;
}

@media (max-width: 760px) {
	.calc-layout {
		flex-direction: column-reverse;
		gap: 18px;
	}
	.calc-inputs {
		flex: none;
		width: 100%;
	}
}

/* ---- Review panel ---- */

.request-review-panel {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border: 1px solid #ece7dd;
	border-radius: 12px;
	overflow: hidden;
}

.request-review-row {
	display: flex;
	gap: 16px;
	padding: 10px 16px;
	background: #ffffff;
	border-bottom: 1px solid #f2ede0;
}

.request-review-row:last-child {
	border-bottom: none;
}

.request-review-label {
	flex: 0 0 150px;
	font-size: 11.5px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8a8a8a;
}

.request-review-value {
	flex: 1 1 auto;
	font-size: 14px;
	color: #26301f;
	word-break: break-word;
	white-space: pre-line;
}

.calc-donation-exclusions-title {
    font-size: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    row-gap: 2px;
}
.red-text {
    color: red;
    margin: 0 7px;
    border-bottom: 2px solid red;
}

.calc-donation-exclusions-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 25px;
}
.calc-fee-examples-section {
    margin-top: 20px;
}
.calc-fee-examples-section .calc-explainer {
    font-size: 1rem;
    color: var(--ink);
}

@media (max-width: 480px) {
	.calc-donation-exclusions-title {
		font-size: 1.15rem;
	}
	.red-text {
		margin: 0 4px;
	}
	.calc-quote-subtitle, .calc-explainer, .calc-donation-exclusions-subtitle {
		line-height: 1.2rem;
	}
	.calc-donation-exclusions-subtitle {
		font-size: 0.9rem;
	}
}