/* assets/css/frontend.css */
.dca-scheduling-wrapper {
	max-width: 650px;
	margin: 2rem auto;
	font-family: 'Inter', 'Outfit', sans-serif;
	color: #333;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	padding: 2.5rem;
}

.dca-header {
	text-align: center;
	margin-bottom: 2rem;
}

.dca-header h2 {
	margin: 0 0 10px;
	color: #0c3e21;
	/* Dark green matching DCA */
	font-size: 28px;
	font-weight: 700;
}

.dca-header p {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin: 0;
}

/* Steps Indicator */
.dca-steps-indicator {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 2rem;
}

.step-dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #eee;
	color: #888;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
	flex-shrink: 0;
}

.step-dot.active {
	background: #d4af37;
	/* Gold matching DCA */
	color: #fff;
	box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.step-line {
	height: 2px;
	background: #eee;
	width: 60px;
	margin: 0 10px;
}

/* Form Groups */
.dca-form-group {
	margin-bottom: 1.5rem;
}

.dca-form-row {
	display: flex;
	gap: 15px;
}

.dca-form-group.half {
	flex: 1;
}

.dca-form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #444;
	font-size: 14px;
}

.dca-form-group label span {
	color: #e53e3e;
}

.dca-form-group select,
.dca-form-group input[type="text"],
.dca-form-group input[type="email"],
.dca-form-group input[type="tel"],
.dca-form-group input[type="date"],
.dca-form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	background: #fafafa;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.dca-form-group select:focus,
.dca-form-group input:focus,
.dca-form-group textarea:focus {
	outline: none;
	border-color: #d4af37;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Custom Radio Boxes */
.dca-radio-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.dca-radio-label {
	display: block;
	cursor: pointer;
}

.dca-radio-label input {
	display: none;
}

.dca-radio-box {
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 15px;
	border: 2px solid #eee;
	border-radius: 8px;
	background: #fafafa;
	transition: all 0.2s ease;
}

.dca-radio-box b {
	font-size: 16px;
	color: #333;
	margin-bottom: 4px;
}

.dca-radio-box small {
	font-size: 12px;
	color: #777;
}

.dca-radio-label input:checked+.dca-radio-box {
	border-color: #0c3e21;
	/* Green */
	background: rgba(12, 62, 33, 0.03);
}

.dca-radio-label input:checked+.dca-radio-box b {
	color: #0c3e21;
}


/* Time Slots Grid */
.dca-time-slots {
	min-height: 150px;
	background: #fdfdfd;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	padding: 20px;
	margin-top: 15px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
	position: relative;
}

.dca-time-slots p.empty-msg {
	grid-column: 1 / -1;
	text-align: center;
	color: #888;
	font-size: 14px;
	margin: 0;
	align-self: center;
}

.dca-slot-btn {
	background: #fff;
	border: 1px solid #d4af37;
	color: #d4af37;
	padding: 10px;
	border-radius: 6px;
	text-align: center;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.dca-slot-btn:hover {
	background: #d4af37;
	color: #fff;
}

.dca-slot-btn.selected {
	background: #0c3e21;
	border-color: #0c3e21;
	color: #fff;
	box-shadow: 0 4px 10px rgba(12, 62, 33, 0.2);
}

/* Buttons */
.dca-button-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

/* Hide back button on step 1 naturally, flex-end takes over */
.dca-step#step-1 .dca-button-row {
	justify-content: flex-end;
}

.dca-btn {
	background: #0c3e21;
	color: #fff;
	border: none;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}

.dca-btn:hover {
	background: #0a311a;
}

.dca-btn:active {
	transform: translateY(1px);
}

.dca-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
}

.dca-btn-outline {
	background: transparent;
	color: #555;
	border: 1px solid #ccc;
}

.dca-btn-outline:hover {
	background: #f5f5f5;
}

.dca-btn-submit {
	background: #d4af37;
	color: #fff;
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.dca-btn-submit:hover {
	background: #bfa136;
}

/* Loading / Success */
.dca-loading,
.dca-success {
	text-align: center;
	padding: 3rem 1rem;
}

.spinner {
	width: 40px;
	height: 40px;
	border: 4px solid rgba(12, 62, 33, 0.1);
	border-left-color: #0c3e21;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 15px;
}

@keyframes spin {
	100% {
		transform: rotate(360deg);
	}
}

.success-icon {
	width: 60px;
	height: 60px;
	background: #46b450;
	color: #fff;
	font-size: 32px;
	line-height: 60px;
	border-radius: 50%;
	margin: 0 auto 15px;
	text-align: center;
}

.dca-success h3 {
	color: #0c3e21;
	margin-bottom: 10px;
}

.dca-success p {
	color: #555;
	margin-bottom: 20px;
}

/* Responsive */
@media(max-width: 600px) {
	.dca-form-row {
		flex-direction: column;
		gap: 0;
	}

	.dca-scheduling-wrapper {
		padding: 1.2rem;
		margin: 0.5rem;
	}

	.dca-time-slots {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
		padding: 10px;
	}

	.dca-slot-btn {
		padding: 8px;
		font-size: 13px;
	}

	.dca-btn {
		padding: 10px 18px;
		font-size: 14px;
	}

	.dca-header h2 {
		font-size: 24px;
	}
}