/* ===== Booking Wizard - Dark Luxury Theme 2026 ===== */

.wizard-container {
    background: rgba(14, 14, 20, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Step Indicators */
.step-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 1rem;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.4s ease;
}

.step-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    transition: all 0.4s ease;
}

.step-indicator.active .step-number {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--burgundy-dark);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: scale(1.1);
}

.step-indicator.active .step-label {
    color: var(--gold);
    font-weight: 700;
}

.step-indicator.completed .step-number {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.4);
}

.step-line {
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.step-line-progress {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to left, var(--gold), transparent);
    width: 0%;
    transition: width 0.5s ease-in-out;
}

/* Wizard Steps Animations */
.wizard-step {
    animation: fadeSlideUp 0.4s ease forwards;
}

.wizard-step.hidden {
    display: none;
}

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

/* Cards (Categories, Services, Doctors) */
.category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
}

.category-card.selected {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.category-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.category-card.selected i {
    transform: scale(1.1);
}

.category-card h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.category-card p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.service-card.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.service-card h4 {
    font-weight: 700;
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: auto;
}

/* Calendar & Time Slots */
.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:not(:disabled):hover {
    background: var(--gold);
    color: var(--burgundy-dark);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.day-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.8rem 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day-card.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.2);
}

.day-card:not(.disabled):hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.day-card.selected {
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
    transform: scale(1.05);
}

.day-name { font-size: 0.7rem; color: rgba(255, 255, 255, 0.5); display: block; margin-bottom: 0.2rem; }
.day-num { font-size: 1.2rem; font-weight: bold; color: white; display: block; }
.day-card.selected .day-name { color: var(--gold); }
.day-card.selected .day-num { color: var(--gold); }

.time-slot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
    font-size: 0.9rem;
    font-family: var(--font-arabic);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3sease;
}

.time-slot:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.3);
}

.time-slot.selected {
    background: var(--gold);
    color: var(--burgundy-dark);
    border-color: var(--gold);
    font-weight: 700;
}

/* Utilities */
.btn-outline-gold {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .step-label { display: none; }
    .step-indicators { max-width: 250px; }
}

/* ==================================================================
   UTILITY CLASSES (Replacing Tailwind)
================================================================== */
.wizard-main-padding { padding-bottom: 5rem; padding-top: 3rem; }
.text-center { text-align: center; }
.mb-12 { margin-bottom: 3rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

.text-4xl { font-size: 2.5rem; line-height: 1.2; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }

.font-bold { font-weight: 700; }
.text-gray-400 { color: #9ca3af; }
.text-gray-300 { color: #d1d5db; }
.text-gold { color: var(--gold); }
.text-white { color: white; }
.text-black { color: #000; }
.bg-whatsapp { background: linear-gradient(to left, #25D366, #128C7E) !important; color: white !important; }

.max-w-4xl { max-width: 56rem; width: 100%; }
.max-w-xl { max-width: 36rem; width: 100%; }
.max-w-sm { max-width: 24rem; width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.flex-column { display: flex; flex-direction: column; gap: 0.5rem; }
.spacer { flex: 1; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; }

@media (max-width: 768px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: repeat(1, 1fr); }
    .grid-7 { grid-template-columns: repeat(7, 1fr); gap: 0.25rem; }
    .wizard-container { padding: 1.5rem; }
}

.hidden { display: none !important; }

/* Custom Wizard Layouts */
.wizard-container {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.step-content-header {
    margin-bottom: 2.5rem;
}

.services-title {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-wrapper {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
}

.wizard-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-arabic);
}
.wizard-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.final-summary {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.final-summary-title {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.wizard-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.text-right { text-align: right; }
.resize-none { resize: none; }

/* Focused Category View (Step 1 Refinement) */
.selected-category-focused {
    display: flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.focused-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-change-cat {
    background: none;
    border: none;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    padding-right: 1.25rem;
    margin-right: 1rem;
    cursor: pointer;
    font-family: var(--font-arabic);
}

.btn-change-cat:hover {
    color: #fff;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

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