/**
 * FITNFLEX - Booking Page Styles
 * Modern, Responsive Design with Light/Dark Theme Support
 */

/* ============================================
   THEME VARIABLES
   ============================================ */
:root[data-theme="light"] {
    --bg-primary: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-primary: #1A2332;
    --text-secondary: #64748B;
    --border-color: #E2E8F0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --hover-bg: #F8FAFC;
    --selected-bg: #E0F2FE;
    --selected-border: #0EA5E9;
}

:root[data-theme="dark"] {
    --bg-primary: #07111F;
    --bg-secondary: #0B2038;
    --bg-card: rgba(11, 32, 56, 0.6);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --hover-bg: rgba(255, 255, 255, 0.05);
    --selected-bg: rgba(30, 136, 229, 0.15);
    --selected-border: #00D9FF;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   THEME & LANGUAGE CONTROLS
   ============================================ */
.theme-lang-controls {
    position: fixed;
    top: 120px;
    right: 2rem;
    z-index: 100;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle, .lang-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.theme-toggle:hover, .lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.theme-icon, .lang-icon {
    font-size: 1.2rem;
}

/* ============================================
   BOOKING CONTAINER
   ============================================ */
.booking-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ============================================
   PROGRESS STEPS - MODERN TIMELINE
   ============================================ */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 2rem;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: var(--border-color);
    z-index: 0;
}

.step-progress-line {
    position: absolute;
    top: 25px;
    left: 2rem;
    height: 3px;
    background: linear-gradient(90deg, #1E88E5, #00D9FF);
    z-index: 1;
    transition: width 0.5s ease;
    width: 0%;
}

.booking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    color: var(--text-secondary);
    backdrop-filter: blur(20px);
}

.booking-step.active .step-circle {
    background: linear-gradient(135deg, #1E88E5, #00D9FF);
    border-color: #00D9FF;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4);
    transform: scale(1.1);
}

.booking-step.completed .step-circle {
    background: #24C68A;
    border-color: #24C68A;
    color: white;
}

.step-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
}

.booking-step.active .step-label {
    color: var(--text-primary);
}

/* ============================================
   BOOKING CONTENT CARD
   ============================================ */
.booking-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow);
}

.form-section {
    display: none;
    animation: fadeSlideIn 0.5s ease;
}

.form-section.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   SERVICE GRID - SMART FLEX LAYOUT
   ============================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-option {
    background: var(--hover-bg);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-option:hover {
    border-color: rgba(0, 217, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 217, 255, 0.15);
}

.service-option.selected {
    background: var(--selected-bg);
    border-color: var(--selected-border);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.25);
}

.service-option input[type="radio"] {
    display: none;
}

/* SVG icon wrapper */
.svc-opt-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(30,136,229,.18), rgba(0,217,255,.18));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.svc-opt-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.service-option:hover .svc-opt-icon,
.service-option.selected .svc-opt-icon {
    background: linear-gradient(135deg, rgba(30,136,229,.35), rgba(0,217,255,.35));
}

.service-option:hover .svc-opt-icon svg,
.service-option.selected .svc-opt-icon svg {
    transform: scale(1.12);
}

.service-option h4 {
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.service-option p {
    color: var(--text-secondary);
    font-size: 0.72rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.svc-opt-duration {
    color: #00D9FF;
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0.9;
}

/* ============================================
   STEP 2 - CALENDAR + SLOTS SIDE BY SIDE
   ============================================ */
#step2 .date-time-layout {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 1.5rem;
    align-items: start;
}

#step2 .date-time-layout #calendar {
    min-width: 0;
}

#step2 .date-time-layout #timeSlotSection {
    min-width: 0;
    margin-top: 0 !important;
}

/* ============================================
   CALENDAR - COMPACT MODERN DESIGN
   ============================================ */
.calendar-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 0;
    box-shadow: var(--shadow);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.calendar-nav-btn {
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.875rem;
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calendar-nav-btn:hover {
    background: var(--selected-bg);
    border-color: var(--selected-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.calendar-nav-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.calendar-nav-btn:hover svg {
    transform: scale(1.1);
}

.calendar-month-year {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, #1E88E5, #00D9FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    letter-spacing: 0.5px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.35rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 700;
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.3rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hover-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.calendar-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(0, 217, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-day:hover:not(.disabled)::before {
    opacity: 1;
}

.calendar-day:hover:not(.disabled) {
    border-color: var(--selected-border);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.25);
}

.calendar-day.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
    background: transparent;
}

.calendar-day.selected {
    background: linear-gradient(135deg, #1E88E5, #00D9FF);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
    z-index: 10;
}

.calendar-day.today:not(.selected) {
    border-color: #24C68A;
    border-width: 2px;
    background: rgba(36, 198, 138, 0.05);
}

.calendar-day.today:not(.selected)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #24C68A;
    border-radius: 50%;
}

/* ============================================
   TIME SLOTS - PREMIUM CARD DESIGN
   ============================================ */
.time-slots-container {
    margin-top: 0;
    animation: slideUp 0.4s ease;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.time-slots-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.time-slots-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-slots-title svg {
    width: 18px;
    height: 18px;
    color: #00D9FF;
}

.time-slots-badge {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.15), rgba(0, 217, 255, 0.15));
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00D9FF;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr));
    gap: 0.75rem;
}

.time-slot {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.875rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E88E5, #00D9FF);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-slot:hover:not(.unavailable)::before {
    opacity: 1;
}

.time-slot-time {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.time-slot-icon {
    width: 14px;
    height: 14px;
    color: #00D9FF;
}

.time-slot-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.time-slot:hover:not(.unavailable) {
    background: var(--selected-bg);
    border-color: var(--selected-border);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 217, 255, 0.25);
}

.time-slot.unavailable {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 82, 82, 0.06);
    border-color: rgba(255, 82, 82, 0.25);
}

.time-slot.unavailable .time-slot-time {
    text-decoration: line-through;
    color: var(--text-secondary);
}

.time-slot.unavailable .time-slot-label {
    color: #FF5252;
    font-weight: 700;
}

.time-slot.selected {
    background: linear-gradient(135deg, #1E88E5, #00D9FF);
    border-color: transparent;
    color: white;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

.time-slot.selected::before {
    opacity: 0;
}

.time-slot.selected .time-slot-icon,
.time-slot.selected .time-slot-label {
    color: white;
}

.time-slot.selected::after {
    content: '✓ Selected';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: 700;
}

/* Loading State */
.time-slots-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.time-slots-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: #00D9FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.time-slots-loading-text {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Empty State */
.time-slots-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--hover-bg);
    border: 2px dashed var(--border-color);
    border-radius: 16px;
}

.time-slots-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.time-slots-empty-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.time-slots-empty-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   FORM INPUTS - MODERN DESIGN
   ============================================ */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--hover-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--selected-border);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

/* ============================================
   BOOKING SUMMARY
   ============================================ */
.booking-summary {
    background: var(--selected-bg);
    border: 2px solid var(--selected-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.summary-title {
    color: #00D9FF;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.summary-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-booking {
    flex: 1;
    min-width: 200px;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #1E88E5, #00D9FF);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-booking:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

.btn-booking:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-back {
    background: var(--hover-bg);
    color: var(--text-primary);
    padding: 1.25rem 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background: var(--bg-card);
    border-color: var(--selected-border);
}

/* ============================================
   INFO BANNER
   ============================================ */
.info-banner {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.info-text strong {
    color: var(--text-primary);
}

/* ============================================
   MOBILE RESPONSIVE — MOBILE-FIRST TIGHT UI
   ============================================ */

/* ── 768px and below: tablet/large phone ── */
@media (max-width: 768px) {

    /* Stack calendar + slots vertically */
    #step2 .date-time-layout {
        grid-template-columns: 1fr;
    }
    #step2 .date-time-layout #timeSlotSection {
        margin-top: 0.75rem !important;
    }

    /* Page header tighter */
    .page-header-section {
        padding-top: 100px !important;
        padding-bottom: 24px !important;
    }
    .page-header-section h1 {
        font-size: clamp(1.4rem, 6vw, 2rem) !important;
        margin-bottom: 0.5rem !important;
    }
    .page-header-section p {
        font-size: 0.85rem !important;
    }

    /* Container */
    .booking-container {
        padding: 1rem 0.75rem;
    }

    /* Progress bar */
    .booking-steps {
        padding: 0 0.5rem;
        margin-bottom: 1.25rem;
        gap: 0;
    }
    .booking-steps::before {
        left: 0.5rem;
        right: 0.5rem;
        top: 18px;
        height: 2px;
    }
    .step-progress-line {
        left: 0.5rem;
        top: 18px;
        height: 2px;
    }
    .step-circle {
        width: 36px;
        height: 36px;
        border-width: 2px;
    }
    .step-circle svg {
        width: 15px;
        height: 15px;
    }
    .booking-step {
        gap: 0.4rem;
    }
    .step-label {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    /* Content card */
    .booking-content {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    /* Section header */
    .section-header {
        margin-bottom: 1.25rem;
    }
    .section-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.35rem;
    }
    .section-header p {
        font-size: 0.8rem;
    }

    /* Service grid — 2 columns on tablet */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .service-option {
        padding: 1rem 0.75rem;
        border-radius: 12px;
    }
    .service-option h4 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    .service-option p {
        font-size: 0.75rem;
        margin-bottom: 0.35rem;
    }
    .service-icon-svg {
        width: 36px;
        height: 36px;
        margin-bottom: 0.6rem;
    }

    /* Calendar */
    .calendar-wrapper {
        padding: 0.875rem;
        border-radius: 12px;
    }
    .calendar-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }
    .calendar-month-year {
        font-size: 0.95rem;
    }
    .calendar-nav-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        gap: 0.2rem;
    }
    .calendar-nav-btn svg {
        width: 12px;
        height: 12px;
    }
    .calendar-day-header {
        font-size: 0.6rem;
        padding: 0.3rem 0;
    }
    .calendar-grid {
        gap: 0.25rem;
    }
    .calendar-day {
        font-size: 0.75rem;
        border-radius: 6px;
        border-width: 1px;
    }

    /* Time slots — 3 per row */
    .time-slots-container {
        padding: 0.875rem;
        border-radius: 12px;
    }
    .time-slots-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.6rem;
    }
    .time-slots-title {
        font-size: 0.85rem;
    }
    .time-slots-title svg {
        width: 14px;
        height: 14px;
    }
    .time-slots-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .time-slot {
        padding: 0.6rem 0.4rem;
        border-radius: 8px;
        border-width: 1.5px;
    }
    .time-slot-time {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
        gap: 0.2rem;
    }
    .time-slot-icon {
        width: 11px;
        height: 11px;
    }
    .time-slot-label {
        font-size: 0.55rem;
    }
    .time-slot.selected::after {
        font-size: 0.55rem;
        padding: 0.15rem 0.3rem;
    }

    /* Form inputs */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        margin-bottom: 0.875rem;
    }
    .form-group label {
        font-size: 0.82rem;
        margin-bottom: 0.4rem;
    }
    .form-input {
        padding: 0.7rem 0.875rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    /* Summary */
    .booking-summary {
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    .summary-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    .summary-item {
        padding: 0.6rem 0;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .summary-label {
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    .summary-value {
        font-size: 0.85rem;
    }

    /* Info banner */
    .info-banner {
        padding: 0.875rem;
        gap: 0.6rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    .info-icon {
        font-size: 1rem;
    }
    .info-text {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    /* Buttons */
    .btn-actions {
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 1.25rem;
    }
    .btn-booking {
        width: 100%;
        min-width: unset;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    .btn-back {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 10px;
        justify-content: center;
    }

    /* Theme/lang controls */
    .theme-lang-controls {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        flex-direction: row;
        gap: 0.5rem;
    }
    .theme-toggle,
    .lang-toggle {
        padding: 0.4rem 0.875rem;
        font-size: 0.75rem;
        gap: 0.35rem;
    }
    .theme-icon, .lang-icon {
        font-size: 0.9rem;
    }
}

/* ── 480px and below: phones ── */
@media (max-width: 480px) {

    .booking-container {
        padding: 0.75rem 0.5rem;
    }

    /* Service grid — single column on small phones */
    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    .service-option {
        padding: 0.875rem 0.6rem;
    }
    .service-option h4 {
        font-size: 0.8rem;
    }
    .service-option p {
        display: none; /* hide description to save space */
    }
    .service-icon-svg {
        width: 30px;
        height: 30px;
        margin-bottom: 0.4rem;
    }

    /* Step circles even smaller */
    .step-circle {
        width: 30px;
        height: 30px;
    }
    .step-circle svg {
        width: 13px;
        height: 13px;
    }
    .booking-steps::before,
    .step-progress-line {
        top: 15px;
    }
    .step-label {
        font-size: 0.58rem;
    }

    .booking-content {
        padding: 1rem 0.75rem;
        border-radius: 12px;
    }
    .section-header h2 {
        font-size: 1.1rem;
    }
    .section-header p {
        font-size: 0.75rem;
    }

    /* Calendar tighter */
    .calendar-wrapper {
        padding: 0.75rem;
    }
    .calendar-month-year {
        font-size: 0.85rem;
    }
    .calendar-nav-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
    }
    .calendar-day {
        font-size: 0.68rem;
        border-radius: 5px;
    }

    /* Time slots 3 per row still but smaller */
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    .time-slot {
        padding: 0.5rem 0.25rem;
    }
    .time-slot-time {
        font-size: 0.72rem;
    }
    .time-slot-icon {
        display: none;
    }
    .time-slot-label {
        font-size: 0.5rem;
    }

    /* Buttons */
    .btn-booking, .btn-back {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

/* ── Landscape phones ── */
@media (max-height: 500px) and (orientation: landscape) {
    .page-header-section {
        padding-top: 70px !important;
        padding-bottom: 16px !important;
    }
    .booking-steps {
        margin-bottom: 0.75rem;
    }
    .booking-content {
        padding: 1rem;
    }
    .section-header {
        margin-bottom: 0.75rem;
    }
    .section-header h2 {
        font-size: 1rem;
    }
}
