/**
 * COA Centers - Schedule Tour Wizard Form Styles
 *
 * Multi-step card wizard form for scheduling tours.
 */

/* =============================================================================
   FORM WRAPPER
   ============================================================================= */

.coaScheduleTourWizard {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
}

/* =============================================================================
   CARD CONTAINER
   ============================================================================= */

.coaWizardCard {
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	padding: 40px 48px;
	display: none;
	opacity: 0;
	transform: translateX(30px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.coaWizardCard.active {
	display: block;
	opacity: 1;
	transform: translateX(0);
}

.coaWizardCard.slideOutLeft {
	opacity: 0;
	transform: translateX(-30px);
}

.coaWizardCard.slideInRight {
	opacity: 0;
	transform: translateX(30px);
}

.coaWizardCard.slideOutRight {
	opacity: 0;
	transform: translateX(30px);
}

.coaWizardCard.slideInLeft {
	opacity: 0;
	transform: translateX(-30px);
}

/* =============================================================================
   STEP INDICATOR
   ============================================================================= */

.coaWizardStepIndicator {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 32px;
}

.coaWizardStep {
	display: flex;
	align-items: center;
	gap: 8px;
}

.coaWizardStepNumber {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 500;
	border: 2px solid #E0E0E0;
	color: #999999;
	background: #ffffff;
}

.coaWizardStepNumber.active {
	border-color: #A91D73;
	color: #A91D73;
}

.coaWizardStepNumber.completed {
	border-color: #A91D73;
	background: #ffffff;
	color: #A91D73;
}

.coaWizardStepNumber.completed svg {
	width: 16px;
	height: 16px;
	stroke: #A91D73;
	stroke-width: 3;
}

.coaWizardStepLabel {
	font-size: 14px;
	color: #999999;
}

.coaWizardStep.active .coaWizardStepLabel {
	color: #333333;
	font-weight: 500;
}

/* =============================================================================
   CARD HEADER
   ============================================================================= */

.coaWizardCardHeader {
	text-align: center;
	margin-bottom: 32px;
}

.coaWizardCardTitle {
	font-size: 28px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 12px;
}

.coaWizardCardSubtitle {
	font-size: 16px;
	color: #666666;
	line-height: 1.5;
}

/* =============================================================================
   FORM FIELDS
   ============================================================================= */

.coaWizardFormFields {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 32px;
}

.coaWizardFormRow {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.coaWizardFormField {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.coaWizardFormField.fullWidth {
	grid-column: 1 / -1;
}

.coaWizardFormField label {
	font-size: 15px;
	font-weight: 500;
	color: #333333;
}

.coaWizardRequired {
	color: #A91D73;
}

.coaWizardFormField input,
.coaWizardFormField select,
.coaWizardFormField textarea {
	width: 100%;
	padding: 16px 20px;
	background: #FDF8F3;
	border: 2px solid #FDF8F3;
	border-radius: 50px;
	font-family: inherit;
	font-size: 16px;
	color: #333333;
	transition: border-color 0.2s, background-color 0.2s;
}

.coaWizardFormField textarea {
	border-radius: 16px;
	min-height: 100px;
	resize: vertical;
}

.coaWizardFormField input::placeholder,
.coaWizardFormField textarea::placeholder {
	color: #999999;
}

.coaWizardFormField input:focus,
.coaWizardFormField select:focus,
.coaWizardFormField textarea:focus {
	outline: none;
	border-color: #A91D73;
	background: #ffffff;
}

/* Select dropdown arrow */
.coaWizardFormField select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	padding-right: 48px;
	cursor: pointer;
}

/* Date input */
.coaWizardFormField input[type="date"] {
	cursor: pointer;
}

/* =============================================================================
   ERROR STATES
   ============================================================================= */

.coaWizardFormField input.error,
.coaWizardFormField select.error,
.coaWizardFormField textarea.error {
	border-color: #DC3545;
	background: #FFF5F5;
}

.coaWizardFormField .coaWizardErrorMessage {
	color: #DC3545;
	font-size: 13px;
	margin-top: 4px;
}

/* =============================================================================
   LOCATION HINT
   ============================================================================= */

.coaWizardLocationHint {
	font-size: 13px;
	color: #A91D73;
	margin-bottom: 8px;
}

/* =============================================================================
   CARD ACTIONS
   ============================================================================= */

.coaWizardCardActions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.coaWizardBtnBack {
	padding: 14px 32px;
	background: #ffffff;
	border: 2px solid #1a1a1a;
	border-radius: 50px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	cursor: pointer;
	transition: background-color 0.2s;
}

.coaWizardBtnBack:hover {
	background: #f5f5f5;
}

.coaWizardBtnNext,
.coaWizardBtnSubmit,
.coaWizardBtnPrimary {
	padding: 14px 32px;
	background: #A91D73;
	border: none;
	border-radius: 50px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s, opacity 0.2s;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.coaWizardBtnNext:hover,
.coaWizardBtnSubmit:hover,
.coaWizardBtnPrimary:hover {
	background: #8B1860;
}

.coaWizardBtnNext:disabled,
.coaWizardBtnSubmit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* =============================================================================
   CHILD ENTRIES
   ============================================================================= */

.coaWizardChildEntry {
	background: #F8F9FA;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 16px;
}

.coaWizardChildHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.coaWizardChildTitle {
	font-size: 16px;
	font-weight: 600;
	color: #333333;
}

.coaWizardBtnRemoveChild {
	background: transparent;
	border: 1px solid #DC3545;
	color: #DC3545;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 13px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.coaWizardBtnRemoveChild:hover {
	background: rgba(220, 53, 69, 0.1);
}

.coaWizardBtnAddChild {
	background: transparent;
	border: none;
	color: #A91D73;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	padding: 8px 0;
	transition: opacity 0.2s;
}

.coaWizardBtnAddChild:hover {
	opacity: 0.8;
}

/* =============================================================================
   CHECKBOX CONTAINER
   ============================================================================= */

.coaWizardCheckboxContainer {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.coaWizardCheckboxContainer input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #A91D73;
	cursor: pointer;
	flex-shrink: 0;
}

.coaWizardCheckboxContainer span {
	font-size: 14px;
	color: #666666;
	line-height: 1.4;
}

.coaWizardCheckboxContainer a {
	color: #A91D73;
	text-decoration: underline;
}

/* =============================================================================
   SUCCESS CARD
   ============================================================================= */

.coaWizardSuccessCard {
	text-align: center;
	padding: 60px 48px;
}

.coaWizardSuccessCard .coaWizardCardHeader {
	margin-bottom: 24px;
}

.coaWizardSuccessIcon {
	width: 80px;
	height: 80px;
	background: #E8F5E9;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
}

.coaWizardSuccessIcon svg {
	width: 40px;
	height: 40px;
	stroke: #4CAF50;
	stroke-width: 3;
}

/* =============================================================================
   TOAST NOTIFICATION
   ============================================================================= */

.coaWizardNotification {
	position: fixed;
	top: 20px;
	right: 20px;
	max-width: 400px;
	padding: 16px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	transform: translateX(120%);
	transition: transform 0.3s ease;
}

.coaWizardNotification.visible {
	transform: translateX(0);
}

.coaWizardNotification.error {
	background: #DC3545;
	color: #ffffff;
}

.coaWizardNotification.success {
	background: #28A745;
	color: #ffffff;
}

/* =============================================================================
   SCREEN READER ONLY
   ============================================================================= */

.coaWizardSrOnly {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media screen and (max-width: 600px) {
	.coaWizardCard {
		padding: 32px 24px;
	}

	.coaWizardStepLabel {
		display: none;
	}

	.coaWizardStepIndicator {
		gap: 16px;
	}

	.coaWizardCardTitle {
		font-size: 24px;
	}

	.coaWizardFormRow {
		grid-template-columns: 1fr;
	}

	.coaWizardCardActions {
		flex-direction: column;
	}

	.coaWizardBtnBack,
	.coaWizardBtnNext,
	.coaWizardBtnSubmit {
		width: 100%;
		text-align: center;
	}

	.coaWizardNotification {
		left: 20px;
		right: 20px;
		max-width: none;
	}
}
