/* Fontlar ve Temel Ayarlar[cite: 1] */
:root {
    --bg-dark: #242424;
    --bg-darker: #0a0a0a;
    --text-light: #ebebeb;
    --text-muted: #787878;
    --text-dark: #0a0a0a;
    --primary: #b0b0b0;
    --border-light: rgba(176,176,176,0.12);
    --border-strong: rgba(176,176,176,0.3);
    --card-bg: #1c1c1c;
    --error-bg: rgba(239,68,68,0.1);
    --error-border: rgba(239,68,68,0.3);
    --error-text: #fca5a5;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
}

.fbw-wrapper {
    min-height: 100vh;
    background: radial-gradient(circle at top, var(--bg-dark) 0%, var(--bg-darker) 100%);
    display: flex;
    flex-direction: column;
}

.hidden { display: none !important; }
.margin-b-16 { margin-bottom: 16px; }
.margin-b-14 { margin-bottom: 14px; }
.margin-b-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.padding-y-48 { padding-top: 48px; padding-bottom: 24px; }

/* Animasyonlar[cite: 1] */
.fbw-fade { animation: fbwFadeIn 0.4s ease-out; }
@keyframes fbwFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header[cite: 1] */
.brand-mark { padding: 32px 16px 16px; text-align: center; }
.brand-mark h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 3px;
    font-size: 1.9rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-light);
    margin: 0 0 2px 0;
    line-height: 1.1;
}
.brand-mark .subtitle {
    letter-spacing: 5px;
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

/* Progress Bar[cite: 1] */
.wizard-progress { margin-bottom: 8px; padding: 0 24px; }
.progress-track { height: 2px; background: var(--border-light); border-radius: 99px; }
.progress-fill { height: 100%; width: 0%; background: var(--primary); border-radius: 99px; transition: width 0.45s cubic-bezier(.4,0,.2,1); }
.progress-labels { margin-top: 6px; display: flex; justify-content: space-between; }
.progress-labels span {
    font-size: 0.58rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #484848;
    font-weight: 400;
    transition: color 0.3s;
}
.progress-labels span.active { color: var(--text-muted); font-weight: 700; }

/* Content Area[cite: 1] */
.content-container { flex: 1; padding: 8px 20px 40px; max-width: 600px; margin: 0 auto; width: 100%; box-sizing: border-box; }

/* Hata Bannerı[cite: 1] */
.error-banner { background: var(--error-bg); border: 1px solid var(--error-border); border-radius: 6px; padding: 12px 14px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; }
.error-icon { color: #ef4444; width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; }
.error-text { color: var(--error-text); font-size: 0.85rem; flex: 1; }
.error-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0; }
.error-close i { width: 14px; height: 14px; }

/* Butonlar ve Inputlar[cite: 1] */
.step-header-center { text-align: center; margin-bottom: 36px; margin-top: 40px; }
.step-header-center h2 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2rem; font-weight: 400; margin: 0 0 8px 0; line-height: 1.2; }
.step-header-center p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.input-group { margin-bottom: 12px; }
.fbw-input { width: 100%; background: var(--card-bg); border: 1px solid rgba(176,176,176,0.18); border-radius: 4px; padding: 14px 16px; color: var(--text-light); font-family: 'Outfit', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.2s; box-sizing: border-box; }
.fbw-input::placeholder { color: #484848; }
.fbw-input:focus { border-color: rgba(176,176,176,0.5); }

.phone-input-group { margin-bottom: 28px; display: flex; }
.phone-prefix { background: var(--primary); color: var(--text-dark); font-weight: 700; font-size: 0.9rem; padding: 14px; border-radius: 4px 0 0 4px; display: flex; align-items: center; flex-shrink: 0; letter-spacing: 0.5px; }
.phone-input-group .fbw-input { border-radius: 0 4px 4px 0; border-left: none; }

.luxury-btn { width: 100%; padding: 15px 20px; background: var(--primary); color: var(--text-dark); border: none; border-radius: 4px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 20px rgba(176,176,176,0.15); }
.luxury-btn:disabled { background: #242424; color: #484848; cursor: not-allowed; box-shadow: none; }
.luxury-btn:not(:disabled):hover { transform: translateY(-2px); }

.back-btn { background: none; border: none; color: var(--primary); cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; font-family: 'Outfit', sans-serif; font-weight: 600; padding: 0; margin-bottom: 20px; }
.back-btn i { width: 16px; height: 16px; }

.step-label { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; }

/* Personel & Hizmet Kartları[cite: 1] */
.staff-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 4px; padding: 14px 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: all 0.25s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.staff-card:hover { border-color: rgba(176,176,176,0.35); background: rgba(176,176,176,0.04); }
.staff-card:active { transform: scale(0.98); }
.staff-avatar { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--primary); object-fit: cover; flex-shrink: 0; }
.staff-initials { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--primary); background: rgba(176,176,176,0.05); display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.staff-info { flex: 1; min-width: 0; }
.staff-name { color: var(--text-light); font-weight: 600; font-size: 0.95rem; }
.staff-tag { color: var(--text-muted); font-size: 0.75rem; margin-top: 2px; }
.staff-action { text-align: right; flex-shrink: 0; }
.staff-rating { color: #b8b8b8; font-size: 0.75rem; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.staff-action i { color: #484848; width: 15px; height: 15px; }

/* Hizmet Kartı[cite: 1] */
.service-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 4px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: all 0.25s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.service-card.selected { background: rgba(176,176,176,0.07); border-color: var(--primary); box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.service-card:active { transform: scale(0.98); }
.srv-row { display: flex; justify-content: space-between; align-items: center; }
.srv-row-1 { margin-bottom: 6px; }
.srv-name { color: var(--text-light); font-weight: 600; font-size: 0.95rem; }
.service-card.selected .srv-name { color: var(--primary); }
.srv-price { color: var(--text-light); font-weight: 700; font-size: 0.9rem; }
.srv-desc, .srv-dur { color: var(--text-muted); font-size: 0.73rem; }
.srv-selected-mark { margin-top: 8px; display: flex; align-items: center; gap: 4px; color: var(--primary); font-size: 0.7rem; letter-spacing: 1px; }

/* Gender & Optionals[cite: 1] */
.gender-filter { display: flex; background: var(--card-bg); border: 1px solid rgba(176,176,176,0.18); border-radius: 4px; padding: 4px; gap: 2px; width: fit-content; margin-bottom: 16px; }
.fbw-gender-btn { padding: 7px 18px; border: none; border-radius: 2px; font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; cursor: pointer; transition: all 0.2s; min-width: 72px; }
.fbw-gender-btn.active { background: var(--primary); color: var(--text-dark); }
.fbw-gender-btn.inactive { background: transparent; color: #b8b8b8; }

.optional-box { border: 1px dashed rgba(176,176,176,0.2); border-radius: 4px; background: var(--card-bg); padding: 14px 16px; margin-bottom: 16px; }
.optional-title { font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px 0; }
.optional-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fbw-opt-btn { border-radius: 2px; padding: 7px 13px; font-size: 0.8rem; font-family: 'Outfit', sans-serif; font-weight: 500; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 5px; }
.fbw-opt-btn.active { background: var(--primary); color: var(--text-dark); border: 1px solid var(--primary); font-weight: 700; }
.fbw-opt-btn.inactive { background: transparent; color: #b8b8b8; border: 1px solid rgba(176,176,176,0.25); }

/* Takvim & Saat Slotları[cite: 1] */
.date-label { text-align: center; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.fbw-slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; }
@media (min-width: 560px) { .fbw-slot-grid { grid-template-columns: repeat(5, 1fr); } }

.time-slot { border: 1px solid rgba(176,176,176,0.2); border-radius: 4px; padding: 12px 6px; text-align: center; font-size: 0.85rem; font-weight: 500; transition: all 0.2s ease; cursor: pointer; user-select: none; letter-spacing: 0.5px; background: var(--bg-dark); color: var(--text-light); }
.time-slot:not(.disabled):hover { background: rgba(176,176,176,0.12); color: var(--primary); }
.time-slot.selected { background: var(--primary); color: var(--text-dark); border-color: var(--primary); font-weight: 700; }
.time-slot.disabled { opacity: 0.2; text-decoration: line-through; border-color: transparent; color: var(--text-muted); cursor: not-allowed; }
.time-slot.ghost { opacity: 0.5; text-decoration: line-through; background: rgba(255,0,0,0.05); color: var(--text-muted); border: 1px dashed #484848; cursor: not-allowed; }
.empty-msg { text-align: center; color: var(--text-muted); font-size: 0.83rem; padding: 24px 0; }

/* Yükleniyor Spinner[cite: 1] */
.loading-container { text-align: center; padding: 40px 0; color: var(--text-muted); }
.spinner { width: 22px; height: 22px; border: 2px solid rgba(176,176,176,0.15); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 10px; }
.btn-spinner { width: 14px; height: 14px; border: 2px solid rgba(0,0,0,0.3); border-top-color: var(--text-dark); border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }

/* Özet & Teşekkür[cite: 1] */
.summary-card { background: var(--card-bg); border: 1px solid var(--border-light); border-left: 3px solid var(--primary); border-radius: 4px; padding: 20px; margin-bottom: 20px; }
.summary-staff { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(176,176,176,0.1); margin-bottom: 16px; }
.summary-title { font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.summary-value { color: var(--text-light); font-weight: 600; font-size: 0.97rem; }
.summary-optionals { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.summary-opt-tag { color: var(--text-muted); font-size: 0.78rem; background: rgba(176,176,176,0.06); border: 1px solid var(--border-light); border-radius: 3px; padding: 3px 8px; }
.summary-time-row { color: var(--text-light); font-weight: 600; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.icon-small { color: var(--primary); width: 15px; height: 15px; }
.divider { color: #484848; margin: 0 2px; }

.fbw-textarea { width: 100%; background: rgba(176,176,176,0.04); border: 1px solid rgba(176,176,176,0.1); border-radius: 4px; padding: 12px 14px; color: #b8b8b8; font-family: 'Outfit', sans-serif; font-size: 0.85rem; outline: none; resize: none; transition: border-color 0.2s; box-sizing: border-box; }
.fbw-textarea::placeholder { color: #484848; }
.fbw-textarea:focus { border-color: rgba(176,176,176,0.3); }

.success-icon-wrapper { width: 80px; height: 80px; border-radius: 50%; background: rgba(176,176,176,0.08); border: 1px solid rgba(176,176,176,0.2); display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.success-icon { color: var(--primary); width: 38px; height: 38px; }
.thank-you-title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2.2rem; font-weight: 600; letter-spacing: 2px; margin: 0 0 8px 0; }
.thank-you-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 40px; }
.info-box { background: var(--card-bg); border: 1px solid rgba(176,176,176,0.1); border-radius: 6px; padding: 16px; text-align: left; }
.info-row { display: flex; gap: 10px; margin-bottom: 14px; }
.info-row p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.55; margin: 0; }
.link-box { background: var(--bg-darker); border: 1px solid rgba(176,176,176,0.1); border-radius: 4px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.link-text { color: var(--primary); font-family: monospace; font-size: 0.8rem; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { background: none; border: 1px solid rgba(176,176,176,0.3); border-radius: 4px; color: var(--primary); cursor: pointer; padding: 5px 9px; transition: all 0.2s; }
.restart-btn { margin-top: 28px; background: none; border: none; color: var(--primary); cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; padding: 8px; transition: color 0.2s; }
.restart-btn:hover { color: var(--text-light); }

/* Footer[cite: 1] */
.footer { text-align: center; padding: 20px 16px 28px; margin-top: auto; }
.footer p { color: #484848; font-size: 0.68rem; margin: 0 0 4px; }
.footer a { color: var(--text-muted); text-decoration: none; }
.footer span { color: #333333; font-size: 0.63rem; }

/* Flatpickr (React-Calendar Görünümü)[cite: 1] */
.flatpickr-calendar { background: var(--card-bg) !important; border: 1px solid var(--border-light) !important; box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important; font-family: 'Outfit', sans-serif !important; }
.flatpickr-day { color: var(--text-light) !important; border-radius: 4px !important; }
.flatpickr-day:hover { background: rgba(176,176,176,0.12) !important; color: var(--primary) !important; }
.flatpickr-day.selected { background: var(--primary) !important; color: var(--text-dark) !important; border-color: var(--primary) !important; font-weight: 700 !important; }
.flatpickr-day.today { border-color: var(--primary) !important; }
.flatpickr-month, .flatpickr-current-month, .flatpickr-weekday { color: var(--primary) !important; fill: var(--primary) !important; }
.flatpickr-day.disabled { color: var(--text-muted) !important; opacity: 0.3 !important; }