:root {
    --clr-light: #C0CAD5;
    --clr-muted: #63869F;
    --clr-primary: #022F40;
    --clr-dark: #222728;
    --clr-accent: #1877f2;

    --primary-color: var(--clr-primary);
    --secondary-color: var(--clr-muted);
    --success-color: #2ecc71;
    --background-light: #f4f7f6;
    --text-dark: var(--clr-dark);
    --text-light: #7f8c8d;
}

body {
    font-family: 'Inter', 'Outfit', sans-serif;
    background-color: var(--background-light);
    margin: 0;
    color: #334155;
    overflow-x: hidden;
}

/* Header */
.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== Wizard Base ===== */
.booking-modal-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px 15px;
}

.booking-wizard-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 550px;
    border: 1px solid #e2e8f0;
}

.wizard-content {
    flex: 2;
    padding: 30px;
    background: #fff;
    overflow-x: hidden;
}

.wizard-summary {
    flex: 1;
    padding: 30px;
    background-color: #f8fafc;
    border-left: 1px solid #e2e8f0;
}

.wizard-header {
    margin-bottom: 25px;
}

.wizard-header h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--clr-primary);
    font-size: 1.5rem; /* Reduced as requested */
}

.wizard-header p {
    color: var(--clr-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* ===== FORCE 1 COLUMN LAYOUT (100% Assurance) ===== */
.services-list, 
.dentist-grid,
.wizard-content > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
}

/* Supreme Card Polish */
.service-card, .dentist-card {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px !important; /* Compact padding */
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    align-items: center !important;
    cursor: pointer !important;
    margin: 0 0 10px 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    box-sizing: border-box !important;
}

/* Hover Effects */
.service-card:hover, .dentist-card:hover {
    border-color: var(--clr-accent) !important;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.1) !important;
    transform: translateY(-2px) !important;
}

.service-card.active, .dentist-card.active {
    border-color: var(--clr-accent) !important;
    background: #f0f7ff !important;
    box-shadow: 0 0 0 1px var(--clr-accent) !important;
}

/* Text Size Reductions */
.service-info h3, .dentist-card h4 {
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important; /* Reduced as requested */
    color: #1e293b !important;
    transition: transform 0.4s ease, color 0.3s ease !important;
}

.service-card:hover h3, .dentist-card:hover h4 {
    transform: translateX(10px) !important;
    color: var(--clr-accent) !important;
}

.service-info .text-light {
    margin-top: 3px;
    font-size: 0.85rem !important;
    color: #64748b;
    transition: transform 0.4s ease !important;
}

.service-card:hover .text-light {
    transform: translateX(10px) !important;
}

/* Price Styling (Compact & Elite) */
.service-price-wrap {
    margin-left: auto !important;
    text-align: right !important;
    padding-left: 20px !important;
    border-left: 1px solid #f1f5f9 !important;
    min-width: 110px !important;
}

.price-value {
    display: block !important;
    color: var(--clr-accent) !important;
    font-size: 1.35rem !important; /* Reduced as requested */
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    line-height: 1 !important;
}

.price-label {
    display: block !important;
    font-size: 0.7rem !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    margin-top: 3px !important;
}

/* Assets */
.service-img {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    margin-right: 18px;
    object-fit: cover;
}

.dentist-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 18px;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Calendar & Slots */
.datetime-container {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.calendar-wrapper { flex: 1.4; }
.slots-wrapper { flex: 1; }

.custom-calendar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 15px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    font-size: 0.85rem;
}

.calendar-day.active { background: var(--clr-accent) !important; color: white; font-weight: 700; }
.calendar-day.disabled { color: #cbd5e1; }

.slots-container.modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
}

.time-slot.active { background: var(--success-color); color: white; border-color: var(--success-color); }

/* Buttons Supreme (Compact) */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.btn-next {
    background: var(--clr-muted) !important;
    color: white !important;
    padding: 12px 32px !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 12px rgba(99, 134, 159, 0.25) !important;
}

.btn-next:hover:not(:disabled) {
    background: #527288 !important;
    transform: translateY(-2px) !important;
}

.btn-arrow { margin-left: 8px; transition: transform 0.3s ease; }
.btn-next:hover .btn-arrow { transform: translateX(5px); }

.btn-back {
    color: #64748b;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
}

.btn-back:hover { background: #f1f5f9; }

/* Summary & Total */
.summary-item {
    background: white;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.summary-label { font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; font-weight: 700; }
.summary-value { color: #1e293b; font-weight: 700; font-size: 0.95rem; }

.total-price-box {
    margin-top: 20px;
    padding: 18px;
    background: #fff;
    border: 2px solid var(--clr-muted);
    border-radius: 14px;
    text-align: center;
}

.total-price-box .price-value { font-size: 2rem; color: var(--clr-muted); }

/* Mobile */
@media (max-width: 850px) {
    .booking-wizard-container { flex-direction: column; }
    .wizard-summary { border-left: none; border-top: 1px solid #e2e8f0; }
    .calendar-wrapper, .slots-wrapper { flex: 1; }
}

@media (max-width: 500px) {
    .service-card { flex-direction: column; text-align: center; }
    .service-img { margin-right: 0; margin-bottom: 12px; }
    .service-price-wrap { border-left: none; padding-left: 0; margin-top: 10px; text-align: center !important; }
}