/* ==========================================================================
   AYRISOO RANDEVU SİSTEMİ - FRONTEND STİLLERİ
   ========================================================================== */

.ay-randevu-container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: #1e293b;
}

/* ADIM ÇUBUĞU (STEP WIZARD) */
.ay-steps-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
	position: relative;
}

.ay-step-node {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	z-index: 2;
	background: #ffffff;
	padding: 0 8px;
}

.ay-step-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #64748b;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	border: 2px solid #e2e8f0;
	transition: all 0.3s ease;
}

.ay-step-node.is-active .ay-step-circle {
	background: #2bace2;
	color: #ffffff;
	border-color: #2bace2;
	box-shadow: 0 0 0 4px rgba(43, 172, 226, 0.2);
}

.ay-step-node.is-completed .ay-step-circle {
	background: #10b981;
	color: #ffffff;
	border-color: #10b981;
}

.ay-step-label {
	display: flex;
	flex-direction: column;
}

.ay-step-label span {
	font-size: 11px;
	color: #94a3b8;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ay-step-label strong {
	font-size: 14.5px;
	color: #0b2546;
	font-weight: 700;
}

.ay-steps-line {
	position: absolute;
	top: 20px;
	left: 30px;
	right: 30px;
	height: 2px;
	background: #e2e8f0;
	z-index: 1;
}

/* WIZARD ADIM İÇERİKLERİ */
.ay-wizard-step {
	display: none;
	animation: ayFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-wizard-step.is-active {
	display: block;
}

@keyframes ayFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ay-wizard-card {
	background: #ffffff;
	border-radius: 24px;
	border: 1px solid #e5edf5;
	padding: 40px;
	box-shadow: 0 16px 45px rgba(9, 42, 79, 0.06);
	margin-bottom: 30px;
}

.ay-step-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 26px;
	font-weight: 700;
	color: #0b2546;
	margin: 0 0 8px;
}

.ay-step-subtitle {
	font-size: 14.5px;
	color: #64748b;
	margin: 0 0 28px;
}

/* 1. ADIM: SEÇİM KARTLARI */
.ay-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}

.ay-choice-card {
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 18px;
	padding: 22px 20px;
	cursor: pointer;
	transition: all 0.25s ease;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	position: relative;
}

.ay-choice-card:hover {
	border-color: #2bace2;
	background: #f0f9ff;
	transform: translateY(-2px);
}

.ay-choice-card.is-selected {
	border-color: #2bace2;
	background: #f0f9ff;
	box-shadow: 0 8px 24px rgba(43, 172, 226, 0.15);
}

.ay-choice-card .choice-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
	border: 1px solid #e2e8f0;
}

.ay-choice-card.is-selected .choice-icon {
	border-color: #2bace2;
	background: #2bace2;
	color: #ffffff;
}

.ay-choice-card .choice-info h4 {
	font-size: 16px;
	font-weight: 700;
	color: #0b2546;
	margin: 0 0 4px;
}

.ay-choice-card .choice-info p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

.ay-choice-card .choice-check {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.ay-choice-card.is-selected .choice-check {
	border-color: #2bace2;
	background: #2bace2;
}

.ay-choice-card.is-selected .choice-check::after {
	content: '✓';
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
}

/* HİZMET SEÇİM GRİDİ (4'LÜ) */
.ay-services-pick-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

/* 2. ADIM: TARİH VE SAAT SEÇİCİ */
.ay-datetime-wrapper {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 32px;
}

.ay-date-picker-box,
.ay-time-slots-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 24px;
}

.box-header-title {
	font-size: 16px;
	font-weight: 700;
	color: #0b2546;
	margin: 0 0 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ay-date-input-styled {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid #cbd5e1;
	border-radius: 12px;
	font-size: 16px;
	font-family: inherit;
	color: #0b2546;
	background: #ffffff;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.ay-date-input-styled:focus {
	border-color: #2bace2;
	box-shadow: 0 0 0 3px rgba(43, 172, 226, 0.15);
}

.ay-slots-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 14px;
}
@media (max-width: 640px) {
	.ay-slots-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
}

.ay-slot-btn {
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 10px 6px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 58px;
}

.ay-slot-btn .slot-time {
	font-size: 15px;
	font-weight: 700;
	color: #0b2546;
	letter-spacing: -0.01em;
}

.ay-slot-btn .slot-status-badge {
	font-size: 10.5px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 999px;
	line-height: 1.2;
}

.ay-slot-btn .slot-musait {
	background: #ecfdf5;
	color: #059669;
}

.ay-slot-btn:hover:not(.is-disabled):not(.is-booked) {
	border-color: #2bace2;
	background: #f0f9ff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(43, 172, 226, 0.15);
}

.ay-slot-btn.is-selected {
	background: #2bace2 !important;
	border-color: #2bace2 !important;
	box-shadow: 0 6px 18px rgba(43, 172, 226, 0.35);
	transform: translateY(-2px);
}
.ay-slot-btn.is-selected .slot-time {
	color: #ffffff !important;
}
.ay-slot-btn.is-selected .slot-status-badge {
	background: rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
}

/* DOLU / KAPALI SAAT STİLİ */
.ay-slot-btn.is-disabled,
.ay-slot-btn.is-booked {
	background: #f8fafc !important;
	border: 2px dashed #cbd5e1 !important;
	cursor: not-allowed !important;
	opacity: 0.72;
	box-shadow: none !important;
	transform: none !important;
}

.ay-slot-btn.is-disabled .slot-time,
.ay-slot-btn.is-booked .slot-time {
	color: #94a3b8 !important;
	text-decoration: line-through;
}

.ay-slot-btn.is-disabled .slot-status-badge,
.ay-slot-btn.is-booked .slot-status-badge {
	background: #fee2e2 !important;
	color: #dc2626 !important;
	font-weight: 800;
	letter-spacing: 0.04em;
}

/* 3. ADIM: FORM ALANLARI */
.ay-form-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}

.ay-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 18px;
}

.ay-form-group label {
	font-size: 13.5px;
	font-weight: 700;
	color: #0b2546;
}

.ay-form-control {
	width: 100%;
	padding: 13px 18px;
	border: 1.5px solid #cbd5e1;
	border-radius: 12px;
	font-size: 15px;
	font-family: inherit;
	color: #0b2546;
	background: #ffffff;
	outline: none;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.ay-form-control:focus {
	border-color: #2bace2;
	box-shadow: 0 0 0 3px rgba(43, 172, 226, 0.15);
}

.ay-kvkk-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 20px 0 28px;
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

.ay-kvkk-checkbox input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: #2bace2;
}

/* BUTONLAR (NAVIGATION) */
.ay-wizard-nav-btns {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid #f1f5f9;
}

.ay-btn-prev {
	background: #f1f5f9;
	color: #475569;
	border: none;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
	transition: all 0.2s;
}

.ay-btn-prev:hover {
	background: #e2e8f0;
	color: #0b2546;
}

.ay-btn-next,
.ay-btn-submit {
	background: #2bace2;
	color: #ffffff;
	border: none;
	padding: 14px 34px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 8px 20px rgba(43, 172, 226, 0.28);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.ay-btn-next:hover,
.ay-btn-submit:hover {
	background: #1e98cb;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(43, 172, 226, 0.4);
}

.ay-btn-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

/* 4. ADIM: BAŞARILI ONAY EKRANI */
.ay-success-screen {
	text-align: center;
	padding: 40px 20px;
}

.ay-success-icon {
	width: 80px;
	height: 80px;
	background: #dcfce7;
	color: #10b981;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	margin: 0 auto 24px;
	box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
}

.ay-success-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 32px;
	font-weight: 700;
	color: #0b2546;
	margin: 0 0 12px;
}

.ay-success-desc {
	font-size: 15.5px;
	color: #64748b;
	max-width: 540px;
	margin: 0 auto 30px;
	line-height: 1.6;
}

.ay-success-summary-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 26px;
	max-width: 500px;
	margin: 0 auto 32px;
	text-align: left;
}

.summary-row {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 14px;
}

.summary-row:last-child {
	border-bottom: none;
}

.summary-row span {
	color: #64748b;
}

.summary-row strong {
	color: #0b2546;
}

.ay-success-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.ay-wa-confirm-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #25d366;
	color: #ffffff !important;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
	transition: all 0.2s;
}

.ay-wa-confirm-btn:hover {
	background: #1da851;
	transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
	.ay-wizard-card {
		padding: 24px 18px;
		border-radius: 18px;
	}
	.ay-choice-grid,
	.ay-services-pick-grid,
	.ay-datetime-wrapper,
	.ay-form-row {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.ay-slots-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ay-steps-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.ay-steps-line {
		display: none;
	}
}
