        /* =========================================================
           GLOBAL RESET & BASE
        ========================================================= */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #120F10;
            color: #F8F1EC;
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .fm-calendar-page {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 1.5rem;
            max-width: 900px;
            margin: 0 auto;
            width: 100%;
        }

        /* =========================================================
           RETOUR BUTTON
        ========================================================= */
        .fm-calendar-back {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #120F10;
            text-decoration: none;
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 0.5rem 1.2rem;
            border: none;
            border-radius: 50px;
            transition: all 0.3s ease;
            margin-bottom: 1.5rem;
            align-self: flex-start;
            background: #D96A8A;
        }

        .fm-calendar-back:hover {
            background: #C45A7A;
            color: #F8F1EC;
            transform: translateX(-4px);
        }

        .fm-calendar-back i {
            font-size: 0.8rem;
        }

        /* =========================================================
           BRANDING HEADER
        ========================================================= */
        .fm-calendar-brand {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .fm-calendar-brand h1 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            font-weight: 700;
            color: #F8F1EC;
            margin-bottom: 0.25rem;
        }

        .fm-calendar-brand h1 .highlight {
            color: #D98C6B;
            font-style: italic;
        }

        .fm-calendar-brand .brand-subtitle {
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            color: rgba(248, 241, 236, 0.5);
            letter-spacing: 1px;
        }

        /* =========================================================
           INSTRUCTION
        ========================================================= */
        .fm-calendar-instruction {
            text-align: center;
            padding: 0.75rem 1rem;
            margin-bottom: 1.25rem;
            background: rgba(217, 140, 107, 0.08);
            border: 1px solid rgba(217, 140, 107, 0.12);
            border-radius: 12px;
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            color: rgba(248, 241, 236, 0.7);
        }

        .fm-calendar-instruction i {
            color: #D98C6B;
            margin-right: 8px;
        }

        /* =========================================================
           CALENDAR
        ========================================================= */
        .fm-calendar-component {
            padding: 0;
            height: 100%;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .fm-calendar-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 22px;
            padding: 1.5rem;
            border: 1px solid rgba(248, 241, 236, 0.06);
        }

        .fm-calendar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0 1.5rem 0;
            border-bottom: 1px solid rgba(248, 241, 236, 0.08);
        }

        .calendar-title {
            text-align: center;
        }

        .calendar-small-title {
            display: block;
            font-family: 'Inter', sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 10px;
            color: rgba(248, 241, 236, 0.4);
            margin-bottom: 2px;
        }

        .calendar-subtitle {
            display: block;
            font-family: 'Inter', sans-serif;
            font-size: 0.8rem;
            color: rgba(248, 241, 236, 0.4);
            letter-spacing: 0.5px;
            margin-top: -2px;
        }

        .calendar-title h2 {
            font-family: 'Playfair Display', serif;
            margin: 0;
            font-size: 24px;
            font-weight: 600;
            color: #F8F1EC;
        }

        .calendar-nav-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid rgba(248, 241, 236, 0.15);
            background: rgba(255, 255, 255, 0.05);
            color: #F8F1EC;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            cursor: pointer;
        }

        .calendar-nav-btn:hover:not(:disabled) {
            background: #D96A8A;
            border-color: #D96A8A;
            color: #120F10;
        }

        .calendar-nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            padding: 1rem 0 0.5rem 0;
        }

        .calendar-weekdays div {
            text-align: center;
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(248, 241, 236, 0.4);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
            flex: 1;
        }

        .calendar-day {
            position: relative;
            min-height: 70px;
            background: rgba(255, 255, 255, 0.03);
            border: none;
            border-radius: 8px;
            padding: 8px;
            text-align: left;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
        }

        .calendar-day:hover:not(.other-month):not(.past-date) {
            background: rgba(255, 255, 255, 0.08);
        }

        .calendar-day.other-month {
            opacity: 0.3;
            pointer-events: none;
        }

        .calendar-day.past-date {
            opacity: 0.4;
            pointer-events: none;
            cursor: not-allowed;
        }

        .calendar-day.today {
            background: rgba(217, 140, 107, 0.15);
            border: 1px solid rgba(217, 140, 107, 0.3);
        }

        .calendar-day.has-booking {
            background: rgba(217, 140, 107, 0.08);
        }

        .calendar-day.has-booking:hover:not(.other-month):not(.past-date) {
            background: rgba(217, 140, 107, 0.15);
        }

        .calendar-date-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 600;
            color: #F8F1EC;
        }

        .calendar-day.today .calendar-date-number {
            background: #D96A8A;
            color: #120F10;
        }

        .booking-indicator {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-top: auto;
            font-family: 'Inter', sans-serif;
            font-size: 9px;
            font-weight: 500;
            color: rgba(248, 241, 236, 0.5);
        }

        .booking-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #D98C6B;
            flex-shrink: 0;
        }

        .calendar-legend {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            padding-top: 1rem;
            margin-top: 1rem;
            border-top: 1px solid rgba(248, 241, 236, 0.06);
            flex-wrap: wrap;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            color: rgba(248, 241, 236, 0.5);
        }

        .legend-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #D98C6B;
        }

        .legend-dot.today-dot {
            background: #D96A8A;
        }

        .legend-dot.past-dot {
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .legend-dot.available-dot {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(217, 140, 107, 0.3);
        }

        /* =========================================================
           MODAL
        ========================================================= */
        .fm-day-modal {
            border: 0;
            border-radius: 18px;
            overflow: hidden;
            background: #1a1415;
            color: #F8F1EC;
        }

        .fm-day-modal .modal-header {
            padding: 22px 25px;
            border-bottom: 1px solid rgba(248, 241, 236, 0.08);
            background: #1a1415;
            flex-shrink: 0;
        }

        .fm-day-modal .modal-title {
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            font-weight: 600;
            color: #F8F1EC;
        }

        .fm-day-modal .modal-body {
            background: #1a1415;
            padding: 20px 25px 25px;
            overflow: visible;
            display: flex;
            flex-direction: column;
        }

        .fm-day-modal .btn-close {
            filter: invert(1) brightness(0.8);
        }

        .modal-small-title {
            display: block;
            text-transform: uppercase;
            letter-spacing: 1.8px;
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            color: rgba(248, 241, 236, 0.4);
            margin-bottom: 4px;
        }

        .day-appointment-summary {
            margin-bottom: 15px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            color: rgba(248, 241, 236, 0.6);
            flex-shrink: 0;
        }

        /* =========================================================
           TIMELINE
        ========================================================= */
        .day-timeline {
            width: 100%;
            height: 400px;
            max-height: 400px;
            overflow-y: auto !important;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-y;
            border: 1px solid rgba(248, 241, 236, 0.08);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.03);
            scrollbar-width: thin;
            scrollbar-color: rgba(217, 140, 107, 0.55) rgba(255, 255, 255, 0.04);
            position: relative;
        }

        .day-timeline::-webkit-scrollbar {
            width: 6px;
        }

        .day-timeline::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 20px;
        }

        .day-timeline::-webkit-scrollbar-thumb {
            background: rgba(217, 140, 107, 0.55);
            border-radius: 20px;
        }

        .day-timeline::-webkit-scrollbar-thumb:hover {
            background: #D98C6B;
        }

        .timeline-canvas {
            position: relative;
            width: 100%;
            min-width: 100%;
        }

        /* =========================================================
           TIMELINE GRID — Hour labels
        ========================================================= */
        .timeline-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .timeline-grid .hour-line {
            position: absolute;
            left: 0;
            width: 100%;
            height: 1px;
            background: rgba(248, 241, 236, 0.08);
            border: none;
        }

        .timeline-grid .hour-line.major {
            background: rgba(248, 241, 236, 0.15);
            height: 2px;
        }

        .timeline-grid .hour-line .hour-label {
            position: absolute;
            left: 8px;
            top: -8px;
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            font-weight: 600;
            color: #F8F1EC;
            background: rgba(18, 15, 16, 0.9);
            padding: 0 6px;
            border-radius: 4px;
            pointer-events: none;
            transition: color 0.3s ease;
        }

        .timeline-grid .hour-line .hour-label.past-label {
            color: rgba(248, 241, 236, 0.3);
        }

        .timeline-grid .half-hour-tick {
            position: absolute;
            left: 0;
            width: 100%;
            height: 1px;
            background: rgba(248, 241, 236, 0.04);
            border: none;
        }

        /* =========================================================
           TIMELINE SLOTS — Clickable areas
        ========================================================= */
        .timeline-appointments {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
        }

        .timeline-slot {
            position: absolute;
            left: 0;
            width: 100%;
            cursor: pointer;
            transition: all 0.15s ease;
            border-radius: 4px;
            border: 1px solid transparent;
            min-height: 20px;
        }

        .timeline-slot:hover:not(.past-slot) {
            background: rgba(217, 140, 107, 0.12);
            border-color: rgba(217, 140, 107, 0.25);
            box-shadow: inset 0 0 20px rgba(217, 140, 107, 0.05);
        }

        .timeline-slot:active:not(.past-slot) {
            background: rgba(217, 140, 107, 0.2);
            transform: scale(0.98);
        }

        .timeline-slot.past-slot {
            opacity: 0.2;
            cursor: not-allowed;
        }

        .timeline-slot.past-slot:hover {
            background: transparent;
            border-color: transparent;
            box-shadow: none;
        }

        .timeline-slot::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10%;
            height: 80%;
            width: 3px;
            border-radius: 0 2px 2px 0;
            background: transparent;
            transition: all 0.2s ease;
        }

        .timeline-slot:hover:not(.past-slot)::before {
            background: #D98C6B;
        }

        .timeline-slot.past-slot::before {
            display: none;
        }

        /* =========================================================
           BOOKING BLOCKS — Already booked
        ========================================================= */
        .timeline-booking-block {
            position: absolute;
            left: 4px;
            right: 4px;
            z-index: 5;
            background: rgba(217, 140, 107, 0.25);
            border-left: 3px solid #D98C6B;
            border-radius: 6px;
            padding: 6px 10px;
            cursor: default;
            pointer-events: none;
            overflow: hidden;
            min-height: 30px;
            box-shadow: 0 2px 12px rgba(217, 140, 107, 0.12);
            background-image: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(217, 140, 107, 0.05) 10px,
                rgba(217, 140, 107, 0.05) 11px
            );
        }

        .timeline-booking-block .booking-time {
            font-family: 'Inter', sans-serif;
            font-size: 9px;
            font-weight: 700;
            color: #F8F1EC;
            letter-spacing: 0.3px;
            margin-bottom: 2px;
        }

        .timeline-booking-block .booking-name {
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            font-weight: 700;
            color: #F8F1EC;
            line-height: 1.3;
        }

        .timeline-booking-block .booking-service {
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            color: rgba(248, 241, 236, 0.5);
            margin-top: 1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .timeline-booking-block .booking-lock {
            position: absolute;
            top: 6px;
            right: 8px;
            font-size: 10px;
            color: rgba(217, 140, 107, 0.5);
        }

        /* =========================================================
           BOOKING FORM — CONTAINER
        ========================================================= */
        .booking-form-container {
            display: none;
            padding: 1.25rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 14px;
            border: 1px solid rgba(248, 241, 236, 0.06);
            margin-top: 0.75rem;
        }

        .booking-form-container.active {
            display: block;
            animation: fadeInUp 0.35s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .booking-form-container .form-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            font-weight: 600;
            color: #F8F1EC;
            margin-bottom: 0.15rem;
        }

        .booking-form-container .form-subtitle {
            font-family: 'Inter', sans-serif;
            font-size: 0.8rem;
            color: #D98C6B;
            margin-bottom: 1rem;
        }

        .booking-form-grid {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }

        .form-row .full-width {
            grid-column: 1 / -1;
        }

        /* =========================================================
           BOOKING FORM — UNIFIED FIELD SYSTEM
        ========================================================= */
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
        }

        /* ---------------------------------------------------------
           ALL FIELD LABELS
        --------------------------------------------------------- */
        .form-group .form-label {
            font-family: 'Inter', sans-serif;
            font-size: 0.68rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.55px;

            /* Turquoise — matches the service panel labels */
            color: #40E0D0;

            margin-bottom: 0;
        }

        /* ---------------------------------------------------------
           ALL INPUTS / SELECTS / TEXTAREAS
           One consistent visual system
        --------------------------------------------------------- */
        .form-group .form-control {
            width: 100%;

            background-color: #211C1D;
            border: 1px solid rgba(248, 241, 236, 0.10);
            border-radius: 7px;

            padding: 0.7rem 0.9rem;

            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            line-height: 1.4;

            color: #F8F1EC;

            transition:
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background-color 0.25s ease;
        }

        .form-group .form-control:focus {
            background-color: #211C1D;
            border-color: #D98C6B;

            box-shadow:
                0 0 0 3px rgba(217, 140, 107, 0.08);

            color: #F8F1EC;
            outline: none;
        }

        .form-group .form-control::placeholder {
            color: rgba(248, 241, 236, 0.38);
            opacity: 1;
        }

        .form-group .form-control[readonly] {
            background-color: #211C1D;
            border: 1px solid rgba(248, 241, 236, 0.10);

            color: rgba(248, 241, 236, 0.65);

            opacity: 1;
            cursor: default;
        }

        .form-group .form-control[readonly]:focus {
            background-color: #211C1D;
            border-color: rgba(248, 241, 236, 0.10);
            box-shadow: none;
        }

        /* =========================================================
           CHROME / EDGE AUTOFILL FIX
        ========================================================= */
        .form-group input.form-control:-webkit-autofill,
        .form-group input.form-control:-webkit-autofill:hover,
        .form-group input.form-control:-webkit-autofill:focus,
        .form-group input.form-control:-webkit-autofill:active {
            -webkit-text-fill-color: #F8F1EC !important;

            -webkit-box-shadow:
                0 0 0 1000px #211C1D inset !important;

            box-shadow:
                0 0 0 1000px #211C1D inset !important;

            caret-color: #F8F1EC;

            border: 1px solid rgba(248, 241, 236, 0.10);

            transition: background-color 9999s ease-out 0s;
        }

        .form-group input.form-control:autofill {
            background-color: #211C1D !important;
            color: #F8F1EC !important;
        }

        /* ---------------------------------------------------------
           SELECTS
        --------------------------------------------------------- */
        .form-group select.form-control {
            appearance: none;
            -webkit-appearance: none;

            background-color: #211C1D;

            background-image:
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D98C6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");

            background-repeat: no-repeat;
            background-position: right 0.9rem center;

            padding-right: 2.5rem;

            color: #F8F1EC;
        }

        .form-group select.form-control option {
            background-color: #211C1D;
            color: #F8F1EC;

            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
        }

        /* ---------------------------------------------------------
           TEXTAREA
        --------------------------------------------------------- */
        .form-group textarea.form-control {
            resize: vertical;
            min-height: 70px;

            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;

            background-color: #211C1D;
            color: #F8F1EC;
        }
        
        /* =========================================================
   BOOKING FORM — CAPTCHA
========================================================= */

.captcha-group {
    margin-top: 0.25rem;
}


/* ---------------------------------------------------------
   CAPTCHA PANEL
--------------------------------------------------------- */

.captcha-panel {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;

    padding: 0.85rem;

    background: #211C1D;

    border: 1px solid rgba(217, 140, 107, 0.28);
    border-radius: 10px;
}


/* ---------------------------------------------------------
   CAPTCHA QUESTION
--------------------------------------------------------- */

.captcha-question {
    display: flex;
    align-items: center;
    gap: 0.45rem;

    min-height: 42px;
    padding: 0.65rem 0.9rem;

    background: rgba(217, 140, 107, 0.08);

    border: 1px solid rgba(217, 140, 107, 0.22);
    border-radius: 7px;

    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;

    color: rgba(248, 241, 236, 0.72);
}


/* ---------------------------------------------------------
   CAPTCHA NUMBERS
--------------------------------------------------------- */

.captcha-question strong {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;

    color: #D98C6B;

    letter-spacing: 0.5px;
}


/* ---------------------------------------------------------
   CAPTCHA ANSWER ROW
--------------------------------------------------------- */

.captcha-answer-row {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* ---------------------------------------------------------
   CAPTCHA ANSWER FIELD
--------------------------------------------------------- */

.captcha-answer-row .captcha-answer {
    width: 140px;
    max-width: 100%;

    text-align: center;
}


/* ---------------------------------------------------------
   CAPTCHA HELPER TEXT
--------------------------------------------------------- */

.captcha-help {
    margin: 0;

    text-align: center;

    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    line-height: 1.4;

    color: #F8F1EC;
}
        

        /* =========================================================
           FORM BUTTONS
        ========================================================= */
        .btn-back-to-timeline-pink {
            background: #D96A8A;
            color: #120F10;
            border: none;
            padding: 0.35rem 1rem;
            border-radius: 7px;
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            margin-bottom: 0.5rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .btn-back-to-timeline-pink:hover {
            background: #C45A7A;
            color: #F8F1EC;
            transform: translateX(-3px);
        }

        .btn-back-to-timeline-pink i {
            font-size: 0.7rem;
        }

        .btn-confirm-booking {
            background: #D96A8A;
            color: #120F10;
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 0.8rem;
            padding: 0.6rem 1.25rem;
            border: none;
            border-radius: 7px;
            transition: all 0.3s ease;
            width: 100%;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            cursor: pointer;
        }

        .btn-confirm-booking:hover {
            background: #C45A7A;
            color: #F8F1EC;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(217, 106, 138, 0.25);
        }

        .btn-confirm-booking i {
            margin-right: 6px;
        }

        /* =========================================================
           SELECTED SERVICE INFORMATION PANEL
           Two-column grid:
             Row 1: Vue de face   | Vue de dos
             Row 2: Durée estimée | Heure de fin prévue
             Row 3: Prix          | Acompte
             Row 4: À propos de cette coiffure (full width)
        ========================================================= */
        .selected-service-info {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.65rem;

            padding: 0.85rem;
            margin-top: 0.25rem;

            background: #211C1D;

            border: 1px solid rgba(217, 140, 107, 0.28);
            border-radius: 10px;
        }

        .service-info-item {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;

            padding: 0.65rem 0.75rem;

            background: #211C1D;

            border: 1px solid rgba(248, 241, 236, 0.10);
            border-radius: 7px;

            min-width: 0;
        }

        .service-info-label {
            font-family: 'Inter', sans-serif;
            font-size: 0.68rem;
            font-weight: 500;

            text-transform: uppercase;
            letter-spacing: 0.55px;

            color: #40E0D0;
        }

        .service-info-item strong {
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            line-height: 1.4;

            color: rgba(248, 241, 236, 0.68);

            letter-spacing: 0;
        }

        /* ---------------------------------------------------------
           ROW 1 — IMAGE CELLS
        --------------------------------------------------------- */
        .service-image-item {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .service-image-preview {
            position: relative;

            width: 100%;
            height: 150px;

            overflow: hidden;

            background: #181415;

            border: 1px solid rgba(248, 241, 236, 0.08);
            border-radius: 6px;
        }

        .service-image-preview img {
            display: block;

            width: 100%;
            height: 100%;

            object-fit: cover;
            object-position: center 30%;
        }

        /* ---------------------------------------------------------
           ROW 4 — DESCRIPTION (spans both columns)
        --------------------------------------------------------- */
        .service-info-description {
            grid-column: 1 / -1;
        }

        .service-info-description-field {
            width: 100%;
            min-height: 70px;

            padding: 0.7rem 0.9rem;

            background: #211C1D;

            border: 1px solid rgba(248, 241, 236, 0.10);
            border-radius: 7px;

            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            line-height: 1.5;

            color: rgba(248, 241, 236, 0.68);

            resize: none;
            outline: none;
        }

        .service-info-description-field::placeholder {
            color: rgba(248, 241, 236, 0.38);
            opacity: 1;
        }

        .service-info-description-field:focus {
            background: #211C1D;
            border-color: rgba(248, 241, 236, 0.10);
            box-shadow: none;
        }

        /* =========================================================
           RESPONSIVE — TABLET
        ========================================================= */
        @media (max-width: 991px) {
            .fm-calendar-page {
                padding: 1rem;
            }

            .calendar-day {
                min-height: 55px;
                padding: 5px;
            }

            .calendar-date-number {
                width: 26px;
                height: 26px;
                font-size: 11px;
            }

            .calendar-title h2 {
                font-size: 20px;
            }

            .calendar-weekdays div {
                font-size: 9px;
            }

            .calendar-nav-btn {
                width: 34px;
                height: 34px;
                font-size: 12px;
            }

            .day-timeline {
                height: 420px;
                max-height: 420px;
            }

            .timeline-grid .hour-line .hour-label {
                font-size: 9px;
                left: 5px;
                top: -7px;
            }

            .timeline-booking-block {
                padding: 4px 8px;
                left: 2px;
                right: 2px;
            }

            .timeline-booking-block .booking-name {
                font-size: 10px;
            }

            .timeline-booking-block .booking-service {
                font-size: 8px;
            }

            .timeline-booking-block .booking-time {
                font-size: 8px;
            }

            .calendar-legend {
                flex-wrap: wrap;
                gap: 0.75rem;
                font-size: 10px;
            }

            .fm-calendar-wrapper {
                padding: 1rem;
            }

            .fm-calendar-brand h1 {
                font-size: 1.6rem;
            }

            .fm-calendar-instruction {
                font-size: 0.85rem;
                padding: 0.6rem 0.8rem;
            }

            .booking-form-container {
                padding: 1rem;
            }

            .booking-form-container .form-title {
                font-size: 1.2rem;
            }

            .booking-form-container .form-subtitle {
                font-size: 0.75rem;
            }

            .booking-form-container.active {
                animation: fmMobileFormFade 0.25s ease;
            }

            @keyframes fmMobileFormFade {
                from { opacity: 0; }
                to { opacity: 1; }
            }
        }

        /* =========================================================
           RESPONSIVE — MOBILE
        ========================================================= */
        @media (max-width: 576px) {
            .fm-day-modal .modal-body {
                padding: 15px;
            }

            .day-timeline {
                height: 420px;
                max-height: 420px;
            }

            .fm-day-modal .modal-title {
                font-size: 18px;
            }

            .calendar-title h2 {
                font-size: 17px;
            }

            .fm-calendar-page {
                padding: 0.75rem;
            }

            .fm-calendar-wrapper {
                padding: 0.75rem;
            }

            .fm-calendar-brand h1 {
                font-size: 1.3rem;
            }

            .fm-calendar-brand .brand-subtitle {
                font-size: 0.75rem;
            }

            .fm-calendar-instruction {
                font-size: 0.75rem;
                padding: 0.5rem 0.6rem;
            }

            .booking-form-container {
                padding: 0.75rem;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 0.6rem;
            }

            .btn-back-to-timeline-pink {
                font-size: 0.7rem;
                padding: 0.3rem 0.8rem;
            }

            .btn-confirm-booking {
                font-size: 0.75rem;
                padding: 0.35rem 1rem;
            }

            .fm-calendar-back {
                font-size: 0.75rem;
                padding: 0.4rem 1rem;
            }

            .timeline-slot:active:not(.past-slot) {
                background: rgba(217, 140, 107, 0.25) !important;
                transform: scale(0.97);
            }

            /* Keep the 2-column grid so the two hairstyle preview
               images remain side by side for comparison. */
            .selected-service-info {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                padding: 0.7rem;
                gap: 0.55rem;
            }

            .service-info-item {
                padding: 0.55rem 0.6rem;
            }

            .service-image-preview {
                height: 130px;
            }

            .service-info-description {
                grid-column: 1 / -1;
            }

            .service-info-item strong,
            .service-info-item:nth-child(4) strong {
                font-size: 0.82rem;
            }
        }

        /* =========================================================
           MODAL LAYERING
        ========================================================= */
        #appointmentDayModal {
            z-index: 1060 !important;
        }

        .modal-backdrop {
            z-index: 1050 !important;
        }

        #appointmentDayModal .modal-dialog,
        #appointmentDayModal .modal-content,
        #appointmentDayModal .modal-body {
            pointer-events: auto !important;
        }

        #dayTimeline {
            overflow-y: auto !important;
            overflow-x: hidden !important;
            pointer-events: auto !important;
            touch-action: pan-y !important;
            -webkit-overflow-scrolling: touch;
        }
        
        .required-marker {
    color: red;
    font-weight: bold;
}