    /* Bootstrap compatibility layer for inner pages */
    .page-book-appointment {
        display: flex;
        justify-content: center;
        padding: 60px 0 80px;
        background: #FAFAFA;
    }

    .page-book-appointment > .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 24px;
        width: 100%;
    }

    .page-book-appointment .row {
        display: flex;
        flex-wrap: wrap;
        margin-left: -16px;
        margin-right: -16px;
    }

    .page-book-appointment .row > [class*="col-"] {
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
    }

    .page-book-appointment .col-md-12,
    .page-book-appointment .col-lg-12,
    .page-book-appointment .col-xl-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    @media (min-width: 992px) {
        .page-book-appointment .col-lg-7 {
            flex: 0 0 58.333%;
            max-width: 58.333%;
        }

        .page-book-appointment .col-lg-5 {
            flex: 0 0 41.667%;
            max-width: 41.667%;
        }
    }

    @media (min-width: 1200px) {
        .page-book-appointment .col-xl-8 {
            flex: 0 0 66.667%;
            max-width: 66.667%;
        }

        .page-book-appointment .col-xl-4 {
            flex: 0 0 33.333%;
            max-width: 33.333%;
        }
    }

    .page-book-appointment .d-flex {
        display: flex !important;
    }

    .page-book-appointment .justify-content-between {
        justify-content: space-between !important;
    }

    .page-book-appointment .align-items-center {
        align-items: center !important;
    }

    .page-book-appointment .fw-bold {
        font-weight: 600 !important;
    }

    .page-book-appointment .text-center {
        text-align: center !important;
    }

    .page-book-appointment .mt-3 {
        margin-top: 1rem !important;
    }

    .page-book-appointment .mt-4 {
        margin-top: 1.5rem !important;
    }

    .page-book-appointment .mb-2 {
        margin-bottom: 0.5rem !important;
    }

    .page-book-appointment .mb-3 {
        margin-bottom: 1rem !important;
    }

    .page-book-appointment .mb-4 {
        margin-bottom: 1.5rem !important;
    }

    .page-book-appointment .py-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .page-book-appointment .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid transparent;
        border-radius: 6px;
        background-color: #f1f3f5;
        color: #1c1c1c;
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1.5;
        padding: 0.4rem 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
        text-decoration: none;
    }

    .page-book-appointment .btn:hover {
        background-color: #e9ecef;
    }

    .page-book-appointment .btn-sm {
        padding: 0.25rem 0.65rem;
        font-size: 0.75rem;
    }

    .page-book-appointment .btn-secondary {
        background-color: #e9ecef;
        border-color: #dfe3e6;
        color: #1c1c1c;
    }

    .page-book-appointment .btn-secondary:hover {
        background-color: #dfe3e6;
    }

    .page-book-appointment .alert {
        position: relative;
        padding: 0.75rem 1rem;
        border-radius: 6px;
        border: 1px solid transparent;
        font-size: 0.95rem;
    }

    .page-book-appointment .alert-info {
        color: #055160;
        background-color: #cff4fc;
        border-color: #b6effb;
    }

    .page-book-appointment .form-group {
        margin-bottom: 1.5rem;
    }

    .page-book-appointment .form-control {
        width: 100%;
        padding: 0.65rem 0.9rem;
        border-radius: 6px;
        border: 1px solid #ced4da;
        font-size: 0.95rem;
        background-color: #fff;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .page-book-appointment .form-control:focus {
        border-color: var(--theme-color, #1c1c1c);
        outline: none;
        box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.08);
    }

    .page-book-appointment .form-check {
        display: flex;
        align-items: flex-start;
        gap: 0.65rem;
        margin-bottom: 0.75rem;
    }

    .page-book-appointment .form-check-input {
        width: 1.1rem;
        height: 1.1rem;
        margin-top: 0.1rem;
        border: 1px solid #adb5bd;
        border-radius: 50%;
        appearance: none;
        background-color: #fff;
        position: relative;
        cursor: pointer;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .page-book-appointment .form-check-input:checked {
        border-color: var(--theme-color, #1c1c1c);
        background-color: var(--theme-color, #1c1c1c);
    }

    .page-book-appointment .form-check-input:checked::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0.45rem;
        height: 0.45rem;
        border-radius: 50%;
        background-color: #fff;
        transform: translate(-50%, -50%);
    }

    .page-book-appointment .form-check-label {
        font-size: 0.95rem;
        color: #333;
        line-height: 1.4;
        cursor: pointer;
    }

    .page-book-appointment .hidden {
        display: none !important;
    }

    /* Terms and Conditions Checkbox - Distinct styling from payment options */
    .terms-checkbox-wrapper {
        margin-top: 10px;
    }

    .terms-checkbox-input {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 20px !important;
        height: 20px !important;
        border: 2px solid rgba(213, 190, 198, 1) !important;
        border-radius: 4px !important;
        background-color: #fff !important;
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .terms-checkbox-input:hover {
        border-color: rgba(229, 0, 80, 0.7) !important;
    }

    .terms-checkbox-input:checked {
        background-color: rgba(229, 0, 80, 1) !important;
        border-color: rgba(229, 0, 80, 1) !important;
    }

    .terms-checkbox-input:checked::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 14px;
        font-weight: bold;
        line-height: 1;
    }

    .terms-checkbox-input.is-invalid {
        border-color: #dc3545 !important;
    }

    .terms-checkbox-label {
        user-select: none;
    }

    .page-book-appointment .h3 {
        font-size: 1.35rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .page-book-appointment .text-muted {
        color: #6c757d !important;
    }

    .page-book-appointment .w-100 {
        width: 100% !important;
    }

    .page-book-appointment .gap-2 {
        gap: 0.5rem !important;
    }

    .page-book-appointment .rounded-circle {
        border-radius: 50% !important;
    }

    .page-book-appointment .shadow-sm {
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    }

    .page-book-appointment .badge {
        display: inline-block;
        padding: 0.35em 0.65em;
        border-radius: 10rem;
        background-color: #1c1c1c;
        color: #fff;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .page-book-appointment .position-relative {
        position: relative !important;
    }

    .page-book-appointment .position-absolute {
        position: absolute !important;
    }

    .page-book-appointment .top-0 {
        top: 0 !important;
    }

    .page-book-appointment .start-50 {
        left: 50% !important;
    }

    .page-book-appointment .translate-middle {
        transform: translate(-50%, -50%) !important;
    }

    @media (max-width: 767.98px) {
        .page-book-appointment .row > [class*="col-"] {
            padding-left: 10px;
            padding-right: 10px;
        }

        .page-book-appointment > .container {
            padding: 0 18px;
        }

        /* Ensure agent schedule container doesn't overflow on mobile */
        #agentSchedule {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
            box-sizing: border-box;
        }

        /* Ensure period selector fits on mobile */
        .period-selector {
            width: calc(100% - 36px);
            max-width: 100%;
            margin: 12px auto;
            box-sizing: border-box;
        }
    }

    /* Prevent Bootstrap CSS from affecting header/footer */
    .nav-header-section,
    .nav-header-section *,
    footer,
    footer * {
        box-sizing: border-box !important;
    }

    /* Ensure modals work properly */
    .modal {
        z-index: 1055;
    }

    .modal-backdrop {
        z-index: 1050;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .service-details-box {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        border: 1px solid #e9ecef;
    }

    .service-details-box label {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        display: block;
    }

    .service-details-box input[readonly] {
        background-color: #fff;
        color: #333;
        font-weight: 500;
    }

    .booking-days-buttons {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 15px;
        margin-top: 15px;
        margin-bottom: 20px;
        padding: 20px;
        background: #f8f9fa;
        border-radius: 10px;
        border: 1px solid #e9ecef;
    }

    .day-btn {
        position: relative;
        padding: 15px 10px;
        border: 2px solid #e9ecef;
        background: #fff;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        overflow: hidden;
    }

    .day-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--theme-color);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .day-btn span {
        display: block;
        font-weight: 600;
        font-size: 14px;
        color: #333;
        transition: all 0.3s ease;
    }

    .day-btn:hover {
        border-color: var(--theme-color);
        transform: translateY(-2px);
    }

    .day-btn:hover::before {
        transform: scaleX(1);
    }

    .day-btn:hover span {
        color: var(--theme-color);
    }

    .day-btn.active {
        background: var(--theme-color);
        border-color: var(--theme-color);
        transform: translateY(-2px);
    }

    .day-btn.active::before {
        transform: scaleX(1);
        background: #fff;
    }

    .day-btn.active span {
        color: #fff;
    }

    @media (max-width: 991px) {
        .booking-days-buttons {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width: 575px) {
        .booking-days-buttons {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    textarea.form-control {
        resize: vertical;
        min-height: 100px;
    }

    .form-label {
        font-weight: 700;
        color: rgba(44, 13, 24, 1);
        margin-bottom: 18px;
        display: block;
    }

    @media (max-width: 768px) {
        .booking-days-buttons {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Service summary card (left side) */
    .service-summary-card {
        border: 1px solid rgba(213, 190, 198, 1);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        position: relative;
    }
    .service-summary-card .card-cover img {
        border-radius : 20px;
        display: block;
        width: 100%;
        height: 220px; /* fixed so it doesn't stretch with form */
        object-fit: cover;
    }
    .card-cover{
        padding: 30px 30px 0 30px;
    }
    .service-summary-card .card-body {
        padding: 20px 30px 20px;
    }
    .service-summary-title {
        margin: 0;
        font-size: 30px;
        font-weight: 700;
        text-transform: capitalize;
        color: #1c1c1c;
        flex: 1;
        min-width: 0;
    }

    .service-summary-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 6px;
    }

    .service-summary-header .page-share-btn {
        position: static;
        flex-shrink: 0;
        margin-top: 4px;
    }
    .service-summary-price {
        font-size:18px;
        margin: 0 0 10px 0;
        font-weight: 700;
        color: #1c1c1c;
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 6px;
    }
    .service-summary-price .old-price {
        color: #999;
        text-decoration: line-through;
        margin-left: 8px;
        font-weight: 400;
    }
    .service-summary-price-separator,
    .service-summary-duration {
        color: #5f5258;
        font-weight: 600;
    }
    .service-summary-desc {
        margin: 0;
        color: #555;
        line-height: 1.5;
    }
    .desc-clamped {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Service summary card layout */
    .service-summary-card-body{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
    }

    .service-summary-text{
        flex: 1;
        min-width: 0;
    }

    /* Circular service image on the right */
    .service-summary-image-circle{
        width: 96px;
        height: 96px;
        border-radius: 50%;
        /* border: 3px solid rgba(229, 0, 80, 1); */
        overflow: hidden;
        background: rgba(255,255,255,0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 6px;
    }

    .service-summary-image-circle img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    @media (max-width: 575px) {
        .service-summary-card-body{
            flex-direction: column;
            align-items: flex-start;
        }
        .service-summary-image-circle{
            align-self: flex-end;
            margin-top: 14px;
        }
    }

    /* Planity-style Agent Selection Grid */
    .agent-selection-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-top: 12px;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .agent-option {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        background: #fff;
        border: 2px solid rgba(213, 190, 198, 0.6);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        user-select: none;
    }

    .agent-option:hover {
        border-color: rgba(229, 0, 80, 0.4);
        background: #fff4f8;
    }

    .agent-option.active {
        border-color: rgba(229, 0, 80, 1);
        background: #fff4f8;
    }

    .agent-option-radio {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 2px solid rgba(213, 190, 198, 1);
        flex-shrink: 0;
        position: relative;
        transition: all 0.2s ease;
    }

    .agent-option.active .agent-option-radio {
        border-color: rgba(229, 0, 80, 1);
    }

    .agent-option.active .agent-option-radio::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(229, 0, 80, 1);
    }

    .agent-option-label {
        font-size: 14px;
        font-weight: 500;
        color: rgba(44, 13, 24, 1);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .agent-option.active .agent-option-label {
        color: rgba(229, 0, 80, 1);
        font-weight: 600;
    }

    .agent-option.agent-hidden {
        display: none;
    }

    .agent-option.agent-see-more {
        border-style: dashed;
        justify-content: center;
    }

    .agent-option.agent-see-more .agent-option-label {
        color: rgba(229, 0, 80, 1);
        text-decoration: underline;
    }

    .agent-option.agent-see-more:hover {
        background: rgba(229, 0, 80, 0.05);
    }

    /* Accessibility: Focus states */
    .agent-option:focus-visible {
        outline: 2px solid rgba(229, 0, 80, 0.8);
        outline-offset: 2px;
    }

    .day-column:focus-visible {
        outline: 2px solid rgba(229, 0, 80, 0.8);
        outline-offset: 2px;
    }

    .time-slot:focus-visible,
    .mobile-time-slot:focus-visible {
        outline: 2px solid rgba(229, 0, 80, 0.8);
        outline-offset: 2px;
    }

    .period-btn:focus-visible {
        outline: 2px solid rgba(229, 0, 80, 0.8);
        outline-offset: 2px;
    }

    .calendar-arrow:focus-visible,
    .time-slot-arrow:focus-visible {
        outline: 2px solid rgba(229, 0, 80, 0.8);
        outline-offset: 2px;
    }

    /* Desktop/Mobile visibility helpers */
    .desktop-only {
        display: block;
    }
    .desktop-only.agent-selection-grid {
        display: grid;
    }
    .mobile-only {
        display: none;
    }

    @media (max-width: 768px) {
        .desktop-only {
            display: none !important;
        }
        .mobile-only {
            display: block !important;
        }
    }

    /* Agent grid — responsive for mobile */
    @media (max-width: 768px) {
        .agent-selection-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            max-width: 100%;
        }

        .agent-option {
            padding: 10px 12px;
        }

        .agent-option-label {
            font-size: 13px;
        }

        .agent-option-radio {
            width: 16px;
            height: 16px;
        }

        .agent-option.active .agent-option-radio::after {
            width: 8px;
            height: 8px;
        }
    }

    /* Mobile Agent Dropdown (Planity-style) */
    .agent-dropdown-wrapper {
        margin-bottom: 20px;
    }

    .agent-dropdown {
        position: relative;
        width: 100%;
    }

    .agent-dropdown-selected {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        background: #fff;
        border: 1px solid rgba(213, 190, 198, 0.8);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .agent-dropdown-selected:hover {
        border-color: rgba(229, 0, 80, 0.4);
    }

    .agent-dropdown.open .agent-dropdown-selected {
        border-color: rgba(229, 0, 80, 0.6);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .agent-dropdown-text {
        font-size: 15px;
        color: rgba(44, 13, 24, 1);
        font-weight: 500;
    }

    .agent-dropdown-chevron {
        color: rgba(44, 13, 24, 0.6);
        transition: transform 0.2s ease;
    }

    .agent-dropdown.open .agent-dropdown-chevron {
        transform: rotate(180deg);
    }

    .agent-dropdown-options {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid rgba(213, 190, 198, 0.8);
        border-top: none;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        max-height: 250px;
        overflow-y: auto;
        z-index: 100;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .agent-dropdown.open .agent-dropdown-options {
        display: block;
    }

    .agent-dropdown-option {
        padding: 12px 16px;
        font-size: 15px;
        color: rgba(44, 13, 24, 0.85);
        cursor: pointer;
        transition: background 0.15s ease;
        border-bottom: 1px solid rgba(213, 190, 198, 0.3);
    }

    .agent-dropdown-option:last-child {
        border-bottom: none;
    }

    .agent-dropdown-option:hover {
        background: rgba(229, 0, 80, 0.05);
    }

    .agent-dropdown-option.active {
        background: rgba(229, 0, 80, 0.08);
        color: rgba(229, 0, 80, 1);
        font-weight: 600;
    }

    /* Mobile agent avatars — grid layout (3 columns, ensures 2+ rows) */
    .agent-avatars {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 8px;
        justify-items: center;
        padding: 10px 0;
        margin-top: 6px;
    }
    .agent-avatar {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        user-select: none;
    }
    .agent-avatar .avatar-img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 2px solid #e9ecef;
        object-fit: cover;
        transition: border-color 0.2s ease, transform 0.2s ease;
    }
    .agent-avatar.active .avatar-img {
        border: 2.5px solid #e50050;
        transform: translateY(-2px);
    }
    .agent-avatar .agent-name {
        margin-top: 6px;
        font-size: 12px;
        font-weight: 500;
        color: #333;
        text-align: center;
        max-width: 72px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .agent-avatar.active .agent-name {
        color: #e50050;
        font-weight: 600;
    }
    .agent-avatar-hidden {
        display: none;
    }
    .agent-avatars.agent-avatars-expanded .agent-avatar-hidden {
        display: flex;
    }
    .agent-avatars.agent-avatars-expanded .agent-avatar-see-more {
        display: none;
    }
    .avatar-see-more-circle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f0f4;
        color: #e50050;
        font-size: 16px;
        font-weight: 700;
    }
    
    /* Weekly calendar header */
    #weekDisplay {
        font-weight: 700;
        letter-spacing: 0.06em;
        color: rgba(77, 38, 64, 0.85);
        text-align: center;
        font-size: 18px;
        margin-bottom: 18px;
    }

    /* .calendar-strip {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin-bottom: 24px;
    } */

    .calendar-arrow {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        flex-shrink: 0;
        border: none;
        background: transparent;
        color: #ff2d2dff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .calendar-arrow:hover:not(:disabled) {
        color: #c71a6a;
        transform: translateY(-1px);
    }

    .calendar-arrow:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .calendar-strip {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-bottom: 24px;
        width: 100%;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .days-header {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        overflow-x: auto;
        padding: 6px 0 10px;
        flex: 1;
    }

    .day-column {
        min-width: 90px;
        width: 90px;
        background: #fff4f8;
        border-radius: 14px;
        padding: 18px 12px 24px;
        text-align: center;
        transition: all 0.25s ease;
        color: rgba(77, 38, 64, 0.75);
        font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-weight: 600;
        border: 2px solid rgba(213, 190, 198, 0.6);
        position: relative;
        cursor: pointer;
        flex-shrink: 0;
    }

    .day-column .day-name {
        font-size: 14px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-bottom: 2px;
        font-weight: 500;
    }

    .day-column .day-date {
        font-size: 14px;
        font-weight: 700;
        color: rgba(77, 38, 64, 0.85);
    }

    .day-column::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 10px;
        transform: translateX(-50%);
        width: 24px;
        height: 4px;
        border-radius: 999px;
        background: rgba(229, 0, 80, 0.8);
        transition: all 0.2s ease;
    }

    .day-column:hover {
        border-color: rgba(229, 0, 80, 0.4);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(229, 0, 80, 0.15);
    }

    .day-column.active {
        background: linear-gradient(135deg, rgba(229, 0, 80, 1) 0%, rgba(180, 0, 60, 1) 100%);
        border-color: rgba(229, 0, 80, 1);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(229, 0, 80, 0.35);
    }

    .day-column.active .day-name,
    .day-column.active .day-date {
        color: #fff;
    }

    .day-column.active::after {
        background: rgba(255, 255, 255, 0.9);
        width: 26px;
    }

    /* Period Selector - Segmented Button Style */
    .period-selector {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin: 12px auto;
        padding: 4px;
        background: rgba(213, 190, 198, 0.5);
        border-radius: 12px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        width: fit-content;
    }

    .period-btn {
        min-width: 140px;
        padding: 12px 20px;
        background: transparent;
        border-radius: 8px;
        text-align: center;
        transition: all 0.25s ease;
        color: rgba(77, 38, 64, 0.75);
        font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-weight: 500;
        font-size: 14px;
        border: none;
        cursor: pointer;
        position: relative;
        outline: none;
    }

    .period-btn:hover {
        color: rgba(77, 38, 64, 0.95);
        background: rgba(255, 255, 255, 0.5);
    }

    .period-btn.active {
        background: #fff4f8;
        color: rgba(118, 33, 62, 1);
        box-shadow: 0 2px 8px rgba(229, 0, 80, 0.2);
    }

    .period-btn.active::after {
        display: none;
    }

    @media (max-width: 768px) {
        .period-selector {
            flex-direction: row;
            gap: 0;
            width: 100%;
            max-width: 100%;
            padding: 3px;
            margin: 12px 0;
            background: rgba(213, 190, 198, 0.3);
        }

        .period-btn {
            min-width: 0;
            flex: 1;
            padding: 10px 8px;
            font-size: 12px;
        }
        
        .period-btn.active {
            background: #fff4f8;
            color: rgba(118, 33, 62, 1);
        }
    }

    @media (max-width: 768px) {
        /* Show calendar strip on mobile (compact) */
        .calendar-strip {
            gap: 8px;
            margin-bottom: 16px;
        }

        .calendar-arrow {
            width: 32px;
            height: 32px;
        }

        .days-header {
            gap: 6px;
        }

        .day-column {
            min-width: 0;
            width: auto;
            flex: 1;
            padding: 10px 4px 18px;
            border-radius: 10px;
        }

        .day-column .day-name {
            font-size: 11px;
        }

        .day-column .day-date {
            font-size: 12px;
        }

        .day-column::after {
            width: 16px;
            height: 3px;
            bottom: 6px;
        }
    }

    /* Mobile Day Selector (Planity-style) */
    .mobile-day-selector {
        display: none;
        margin-bottom: 16px;
    }

    @media (max-width: 768px) {
        .mobile-day-selector {
            display: block;
        }
    }

    .mobile-day-selector-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        background: #fff;
        border: 1px solid rgba(213, 190, 198, 0.5);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-day-selector-header:hover {
        border-color: rgba(229, 0, 80, 0.3);
    }

    .mobile-day-selector.open .mobile-day-selector-header {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-color: rgba(229, 0, 80, 0.4);
    }

    .mobile-day-selector-text {
        font-size: 16px;
        font-weight: 600;
        color: rgba(44, 13, 24, 1);
    }

    .mobile-day-selector-chevron {
        color: rgba(44, 13, 24, 0.6);
        transition: transform 0.2s ease;
    }

    .mobile-day-selector.open .mobile-day-selector-chevron {
        transform: rotate(180deg);
    }

    .mobile-day-selector-options {
        display: none;
        background: #fff;
        border: 1px solid rgba(213, 190, 198, 0.5);
        border-top: none;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        max-height: 300px;
        overflow-y: auto;
    }

    .mobile-day-selector.open .mobile-day-selector-options {
        display: block;
    }

    .mobile-day-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        font-size: 15px;
        color: rgba(44, 13, 24, 0.85);
        cursor: pointer;
        transition: background 0.15s ease;
        border-bottom: 1px solid rgba(213, 190, 198, 0.2);
    }

    .mobile-day-option:last-child {
        border-bottom: none;
    }

    .mobile-day-option:hover {
        background: rgba(229, 0, 80, 0.05);
    }

    .mobile-day-option.active {
        background: rgba(229, 0, 80, 0.08);
        color: rgba(229, 0, 80, 1);
        font-weight: 600;
    }

    .mobile-day-option-date {
        font-weight: 500;
    }

    .mobile-day-option-slots {
        font-size: 13px;
        color: rgba(44, 13, 24, 0.5);
    }

    .mobile-day-option.active .mobile-day-option-slots {
        color: rgba(229, 0, 80, 0.7);
    }
    
    /* Time slots strip wrapper with navigation arrows */
    .time-slots-strip {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 24px;
    }

    @media (max-width: 768px) {
        .time-slots-strip {
            gap: 6px;
            margin-top: 16px;
            padding: 0;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .time-slot-arrow {
            width: 28px;
            height: 28px;
            flex-shrink: 0;
        }
    }

    /* Time slot navigation arrows */
    .time-slot-arrow {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: transparent;
        color: #ff2d2dff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .time-slot-arrow:hover:not(:disabled) {
        color: #c71a6a;
        transform: translateY(-1px);
    }

    .time-slot-arrow:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    /* Horizontal scrollable time slots container */
    .time-slots-container {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 0 10px;
        overflow-x: auto;
        overflow-y: hidden;
        align-items: center;
        justify-content: flex-start;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        /* Show approximately 6 slots at a time (6 * 110px + gaps) */
        max-width: calc(6 * 110px + 5 * 10px);
        width: calc(6 * 110px + 5 * 10px);
        min-height: 60px;
        /* Hide scrollbar completely but keep scrolling functionality */
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    @media (max-width: 768px) {
        .time-slots-container {
            max-width: calc(100% - 68px);
            width: calc(100% - 68px);
            padding: 0 4px;
            gap: 6px;
            flex: 1 1 auto;
            min-width: 0;
            box-sizing: border-box;
        }
    }
    
    /* Center message when no slots (only affects non-slot divs) */
    .time-slots-container > div:not(.time-slot) {
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Hide scrollbar completely but keep scrolling functionality */
    .time-slots-container::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    /* 3-Column Grouped Slots Layout (Desktop) */
    .slots-grouped-container {
        display: flex;
        gap: 24px;
        justify-content: center;
        margin-top: 20px;
        width: 100%;
    }

    .slots-period-column {
        flex: 1;
        max-width: 200px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .slots-period-header {
        text-align: center;
        font-weight: 600;
        font-size: 14px;
        color: rgba(77, 38, 64, 0.85);
        padding-bottom: 8px;
        border-bottom: 2px solid rgba(213, 190, 198, 0.5);
        margin-bottom: 4px;
    }

    .slots-period-column .time-slot {
        min-width: unset;
        width: 100%;
    }

    /* Hide grouped container on mobile */
    @media (max-width: 768px) {
        .slots-grouped-container {
            display: none !important;
        }
    }

    /* Horizontal time slot items */
    .time-slot {
        flex-shrink: 0;
        min-width: 100px;
        padding: 10px 12px;
        text-align: center;
        background-color: #fff4f8;
        border-radius: 6px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid #d5bec6;
    }

    @media (max-width: 768px) {
        .time-slot {
            min-width: 90px;
            padding: 8px 10px;
            font-size: 11px;
        }
    }
    
    .time-slot:hover {
        background-color: #e9ecef;
        transform: translateY(-2px);
    }
    
    .time-slot.selected {
        background-color: rgba(229, 0, 80, 1);
        color: white;
        border-color: var(--theme-color);
        transform: translateY(-2px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .time-slot.unavailable {
        display: none;
    }
    
    /* Mobile Time Slots Container - Planity-style 3 Column Grid */
    .mobile-time-slots-container {
        margin-top: 16px;
        width: 100%;
        padding: 0;
    }

    /* Simple 3-column grid for all slots (Planity-style) */
    .mobile-slots-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
    }

    /* Legacy columns container - kept for backward compatibility */
    .mobile-slots-columns-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
    }

    .mobile-period-column {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .mobile-period-slots {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .mobile-time-slot {
        padding: 14px 8px;
        background-color: #fff;
        border-radius: 8px;
        font-size: 15px;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid rgba(213, 190, 198, 0.6);
        text-align: center;
        font-weight: 500;
        color: rgba(44, 13, 24, 0.85);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-time-slot:hover {
        background-color: #fff4f8;
        border-color: rgba(229, 0, 80, 0.4);
    }

    .mobile-time-slot.selected {
        background-color: rgba(229, 0, 80, 1);
        color: white;
        border-color: rgba(229, 0, 80, 1);
        box-shadow: 0 2px 8px rgba(229, 0, 80, 0.3);
    }

    .mobile-period-no-slots {
        padding: 12px;
        text-align: center;
        color: #999;
        font-size: 14px;
        font-style: italic;
    }

    .mobile-no-slots {
        padding: 20px;
        text-align: center;
        color: #666;
        font-size: 14px;
    }

    /* See More Button */
    .mobile-see-more-btn {
        grid-column: 1 / -1;
        margin-top: 8px;
        padding: 12px;
        background: transparent;
        border: none;
        color: rgba(229, 0, 80, 1);
        font-size: 14px;
        font-weight: 500;
        text-decoration: underline;
        cursor: pointer;
        text-align: center;
        transition: color 0.2s ease;
    }

    .mobile-see-more-btn:hover {
        color: rgba(229, 0, 80, 0.8);
    }

    .mobile-see-more-btn:active {
        color: rgba(229, 0, 80, 0.6);
    }
    
    /* Hide mobile container on desktop */
    @media (min-width: 769px) {
        .mobile-time-slots-container {
            display: none !important;
        }
    }
    
    /* Show mobile container only on mobile */
    @media (max-width: 768px) {
        .mobile-time-slots-container {
            display: block;
        }
        
        /* Hide desktop time slots strip on mobile when mobile container is visible */
        .mobile-time-slots-container:not([style*="display: none"]) ~ .time-slots-strip,
        .mobile-time-slots-container[style*="display: block"] ~ .time-slots-strip {
            display: none !important;
        }
    }
    
    .footer-section ul{
        padding-left:initial!important;
    }

    /* Layout fixes: ensure right form column doesn't get vertically centered
       or add large top/bottom whitespace when left column grows */
    .page-book-appointment .row { align-items: flex-start !important; }
    /* Keep uniform padding so top/bottom match left/right (scope to booking page only; do not affect #loginModal .appointment-form) */
    .page-book-appointment .appointment-form { display: block !important;}
    
    /* Highlight today's date in the schedule */
    /* .day-column.today:not(.active) {
        border-color: rgba(255, 45, 139, 0.35);
        background: rgba(255, 45, 139, 0.08);
        color: rgba(255, 45, 139, 0.85);
    } */

    /* .day-column.today:not(.active)::after {
        background: rgba(255, 45, 139, 0.4);
    }

    .day-column.today:not(.active) .day-name,
    .day-column.today:not(.active) .day-date {
        color: rgba(255, 45, 139, 0.85);
    } */
    /* 
    .day-slots-column.today {
        background-color: rgba(255, 45, 139, 0.06);
        border-left: 2px solid rgba(255, 45, 139, 0.25);
        border-right: 2px solid rgba(255, 45, 139, 0.25);
    }
     */
    /* User info summary styling */
    .user-info-summary {
        background-color: #f8f9fa;
        border-left: 4px solid var(--theme-color);
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 5px;
    }
    
    .user-info-summary h5 {
        color: var(--theme-color);
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .user-info-summary p {
        margin-bottom: 5px;
        font-size: 14px;
    }
    
    .user-info-summary p:last-child {
        margin-bottom: 0;
    }

/* ============================================================
   Stripe PaymentElement + Payment Summary (Planity-style)
   ============================================================ */

.payment-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: #333;
}

.payment-summary-row span:first-child {
    flex: 1;
    margin-right: 12px;
}

.payment-summary-total {
    font-weight: 600;
    font-size: 15px;
}

.payment-summary-secondary {
    color: #666;
    font-size: 13px;
}

.payment-summary-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 4px 0;
}

.stripe-payment-loading {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.stripe-payment-errors {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff0f0;
    border-radius: 6px;
    border: 1px solid #f5c2c7;
}

/* ── Payment option cards (Planity-style) ── */
.pay-section-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.pay-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 16px 16px 12px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.pay-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.12s;
}
.pay-option:last-child { border-bottom: none; }
.pay-option:hover { background: #fafafa; }

.pay-option__radio {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #c0143c;
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.pay-option__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pay-option__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.pay-option__desc {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* ── Cancellation policy ── */
.cancellation-policy {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 14px 16px;
    border-left: 3px solid #e11d48;
}

.cancellation-policy__title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.cancellation-policy__text {
    font-size: 12.5px;
    color: #555;
    line-height: 1.5;
    margin: 4px 0 0;
}

#bookAppointmentBtn {
    width: 100%;
    background-color: #E50050 !important;
    border-radius: 40px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#bookAppointmentBtn:hover {
    background-color: #c0003f !important;
}

#bookAppointmentBtn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ============================================================
   VARIANT PICKER
   ============================================================ */
.variant-picker-section {
    margin-top: 24px;
    margin-bottom: 8px;
}

.variant-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 12px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.variant-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 2px solid rgba(213, 190, 198, 0.6);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.variant-option:hover {
    border-color: rgba(229, 0, 80, 0.4);
    background: #fff4f8;
}

.variant-option.active {
    border-color: rgba(229, 0, 80, 1);
    background: #fff4f8;
}

.variant-option-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(213, 190, 198, 1);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.variant-option.active .variant-option-radio {
    border-color: rgba(229, 0, 80, 1);
}

.variant-option.active .variant-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(229, 0, 80, 1);
}

.variant-option-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.variant-option-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(44, 13, 24, 1);
    overflow-wrap: break-word;
}

.variant-option.active .variant-option-name {
    color: rgba(229, 0, 80, 1);
}

.variant-option-meta {
    font-size: 12px;
    font-weight: 400;
    color: rgba(44, 13, 24, 0.6);
}

.variant-option.active .variant-option-meta {
    color: rgba(229, 0, 80, 0.8);
}

.variant-option:focus-visible {
    outline: 2px solid rgba(229, 0, 80, 0.8);
    outline-offset: 2px;
}

.variant-selection-hint {
    text-align: center;
    font-size: 13px;
    color: rgba(44, 13, 24, 0.5);
    margin-top: 12px;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .variant-picker-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   MULTI-SERVICE BOOKING
   ============================================================ */
.add-another-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border: none;
    background: none;
    color: rgba(229, 0, 80, 1);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.add-another-service-wrap {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 18px 0;
    border-top: 1px solid rgba(213, 190, 198, 0.45);
}

.add-another-service-wrap[hidden] {
    display: none !important;
}

.add-another-service-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(229, 0, 80, 1);
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.added-services-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    margin-bottom: 0;
    width: 100%;
}

.added-services-section[hidden] {
    display: none !important;
}

.added-service-summary-card {
    margin: 0;
}

.added-service-summary-card .service-summary-header .added-service-card__remove {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(229, 0, 80, 0.1);
    color: rgba(229, 0, 80, 1);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.added-service-summary-card .service-summary-header .added-service-card__remove:hover {
    background: rgba(229, 0, 80, 1);
    color: #fff;
}

.added-service-summary-card .service-summary-header .added-service-card__remove:focus-visible {
    outline: 2px solid rgba(229, 0, 80, 0.8);
    outline-offset: 2px;
}

.added-service-summary-card .service-summary-slot {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: #555;
}

body.add-service-modal-open {
    overflow: hidden;
}

.add-service-modal[hidden] {
    display: none !important;
}

.add-service-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.add-service-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.add-service-modal__panel {
    position: relative;
    width: min(640px, 100%);
    max-height: min(90vh, 820px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.add-service-modal__top {
    flex-shrink: 0;
    padding: 12px 20px 14px;
    background: #fff;
}

.add-service-modal__top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 36px;
    margin-bottom: 10px;
}

.add-service-modal__close {
    position: static;
    z-index: 5;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #222;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.add-service-modal__close-icon {
    display: block;
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-1px);
}

.add-service-modal__close:hover {
    background: rgba(0, 0, 0, 0.06);
}

.add-service-modal__search-wrap {
    padding: 0;
    flex-shrink: 0;
    background: #fff;
}

.add-service-modal__top .add-service-modal__search-wrap[hidden] {
    display: none !important;
}

.add-service-modal__footer[hidden] {
    display: none !important;
}

.add-service-modal__search {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(213, 190, 198, 0.85);
    border-radius: 14px;
    font-size: 15px;
    color: #222;
    background: #fff;
}

.add-service-modal__search::placeholder {
    color: #999;
}

.add-service-modal__search:focus {
    outline: none;
    border-color: rgba(229, 0, 80, 0.45);
    box-shadow: 0 0 0 3px rgba(229, 0, 80, 0.08);
}

.add-service-modal__body {
    flex: 1;
    overflow: auto;
    padding: 4px 20px 16px;
    min-height: 0;
}

.add-service-modal__panel--list .add-service-modal__body,
.add-service-modal__panel--detail .add-service-modal__body,
.add-service-modal__panel--slots .add-service-modal__body {
    padding-top: 4px;
}

.add-service-modal__section-head {
    margin: 0 0 14px;
}

.add-service-modal__section-title {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.add-service-modal__required {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #888;
    line-height: 1.4;
}

.add-service-modal__gender {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.add-service-modal__gender-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(229, 0, 80, 0.85);
    flex-shrink: 0;
}

.add-service-modal__suggested,
.add-service-modal__desc,
.add-service-modal__empty {
    margin: 0 0 14px;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
}

.add-service-modal__suggested {
    color: rgba(229, 0, 80, 1);
    font-weight: 600;
}

.add-service-modal__detail .add-service-modal__desc {
    margin-bottom: 18px;
}

.add-service-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-service-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(213, 190, 198, 0.75);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.add-service-list-item:hover {
    border-color: rgba(229, 0, 80, 0.35);
    background: #fffafb;
}

.add-service-list-item--suggested {
    border-color: rgba(213, 190, 198, 0.75);
    background: #fff;
}

.add-service-list-item__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.add-service-list-item__name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.add-service-list-item__meta {
    font-size: 13px;
    color: #777;
}

.add-service-list-item__price {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    flex-shrink: 0;
}

.add-service-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-service-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(213, 190, 198, 0.75);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.add-service-option:hover {
    border-color: rgba(229, 0, 80, 0.35);
    background: #fffafb;
}

.add-service-option.active {
    border-color: rgba(229, 0, 80, 0.55);
    background: #fff;
}

.add-service-option__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.add-service-option__name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.add-service-option.active .add-service-option__name {
    color: #1a1a1a;
}

.add-service-option__meta {
    font-size: 13px;
    color: #777;
    line-height: 1.35;
}

.add-service-option__price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    flex-shrink: 0;
}

.add-service-option-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(213, 190, 198, 1);
    position: relative;
    flex-shrink: 0;
}

.add-service-option.active .add-service-option-radio {
    border-color: rgba(229, 0, 80, 1);
}

.add-service-option.active .add-service-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(229, 0, 80, 1);
}

.add-service-modal__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 18px;
    border-top: 1px solid rgba(213, 190, 198, 0.35);
    background: #fff;
    flex-shrink: 0;
}

.add-service-modal__footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.add-service-modal__footer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.add-service-modal__footer-price {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
}

.add-service-modal__footer-duration {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.35;
}

.add-service-modal__selected-time {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}

.add-service-modal__selected-time--active {
    color: rgba(229, 0, 80, 1);
    font-weight: 600;
}

.add-service-modal__add-more-btn {
    width: 100%;
    padding: 11px 16px;
    border: 1px dashed rgba(229, 0, 80, 0.4);
    border-radius: 12px;
    background: #fff;
    color: rgba(229, 0, 80, 1);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.add-service-modal__add-more-btn:hover {
    background: rgba(255, 245, 249, 1);
    border-color: rgba(229, 0, 80, 0.65);
}

.add-service-modal__panel--slots .add-service-modal__footer-main {
    flex-direction: column;
    align-items: stretch;
}

.add-service-modal__panel--slots .add-service-modal__add-btn {
    width: 100%;
    min-width: 0;
}

.add-service-modal__panel--slots .add-service-modal__body {
    padding-top: 4px;
}

.add-service-modal__add-btn {
    min-width: 132px;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: #b8b8b8;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.add-service-modal__add-btn:not(:disabled) {
    background: rgba(229, 0, 80, 1);
}

.add-service-modal__add-btn:not(:disabled):hover {
    background: #c0003f;
}

.add-service-modal__add-btn:disabled {
    background: #b8b8b8;
    cursor: not-allowed;
}

.add-service-modal__booking-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 245, 249, 0.9);
    border: 1px solid rgba(229, 0, 80, 0.12);
}

.add-service-modal__panel--slots .add-service-modal__booking-summary {
    margin-top: 32px;
    margin-right: 4px;
}

.add-service-modal__summary-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.add-service-modal__summary-item--primary .add-service-modal__summary-name {
    font-weight: 700;
}

.add-service-modal__summary-name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #222;
    line-height: 1.35;
}

.add-service-modal__summary-meta {
    flex-shrink: 0;
    font-size: 13px;
    color: #666;
    text-align: right;
    white-space: nowrap;
}

.add-service-modal__summary-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(229, 0, 80, 0.15);
    font-size: 15px;
    font-weight: 700;
    color: rgba(229, 0, 80, 1);
}

.add-service-modal__slots-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.add-service-modal__slots-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.add-service-modal__slots-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.add-service-modal__slots-date-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(229, 0, 80, 0.08);
    color: rgba(229, 0, 80, 1);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.add-service-modal__slots-date {
    margin: 0 0 12px;
    font-size: 14px;
    color: #666;
}

.add-service-modal__slots-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-height: 72px;
}

.add-service-modal__slot {
    padding: 12px 10px;
    border: 1px solid rgba(213, 190, 198, 0.9);
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
}

.add-service-modal__slot:hover {
    border-color: rgba(229, 0, 80, 0.45);
}

.add-service-modal__slot.selected {
    border-color: rgba(229, 0, 80, 1);
    background: rgba(229, 0, 80, 1);
    color: #fff;
}

.add-service-modal__slots-loading,
.add-service-modal__slots-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 8px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.add-service-modal__slots-empty-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px dashed rgba(213, 190, 198, 0.8);
    text-align: center;
}

.add-service-modal__slots-empty-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(229, 0, 80, 0.22);
    background: rgba(229, 0, 80, 0.06);
    position: relative;
}

.add-service-modal__slots-empty-icon::before,
.add-service-modal__slots-empty-icon::after {
    content: '';
    position: absolute;
    background: rgba(229, 0, 80, 0.55);
    border-radius: 2px;
}

.add-service-modal__slots-empty-icon::before {
    width: 2px;
    height: 14px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.add-service-modal__slots-empty-icon::after {
    width: 10px;
    height: 2px;
    top: 22px;
    left: 50%;
    transform: translateX(-20%);
}

.add-service-modal__slots-empty-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    line-height: 1.4;
}

.add-service-modal__slots-empty-hint {
    margin: 0;
    max-width: 280px;
    font-size: 13px;
    color: #888;
    line-height: 1.45;
}

@media (max-width: 480px) {
    .add-service-modal__slots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================================
   BOOKING PHONE DIALOG (confirm appointment)
   ============================================================ */

#bookingPhoneDialog .booking-phone-dialog__dialog {
    max-width: 420px;
    width: calc(100% - 32px);
    margin: 0 auto;
}

#bookingPhoneDialog .booking-phone-dialog__content {
    position: relative;
    background: #fff;
    border: none;
    border-radius: 20px;
    padding: 44px 32px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
    overflow: visible;
}

#bookingPhoneDialog .booking-phone-dialog__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    opacity: 1;
    background: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M18 6L6 18M6 6l12 12'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

#bookingPhoneDialog .booking-phone-dialog__close:hover {
    opacity: 0.55;
}

#bookingPhoneDialog .booking-phone-dialog__header {
    text-align: center;
    margin-bottom: 28px;
    padding: 0 24px;
}

#bookingPhoneDialog .booking-phone-dialog__title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    text-transform: none;
    letter-spacing: normal;
}

#bookingPhoneDialog .booking-phone-dialog__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #888;
}

#bookingPhoneDialog .booking-phone-dialog__label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

#bookingPhoneDialog .booking-phone-dialog__phone-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 10px;
}

#bookingPhoneDialog .booking-phone-dialog__country {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

#bookingPhoneDialog .booking-phone-dialog__chevron {
    color: #999;
}

#bookingPhoneDialog .booking-phone-dialog__input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#bookingPhoneDialog .booking-phone-dialog__input::placeholder {
    color: #bbb;
}

#bookingPhoneDialog .booking-phone-dialog__input:focus {
    border-color: #e50050;
    box-shadow: 0 0 0 3px rgba(229, 0, 80, 0.1);
}

#bookingPhoneDialog .booking-phone-dialog__hint {
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 1.4;
    color: #999;
}

#bookingPhoneDialog .booking-phone-dialog__error {
    margin: -12px 0 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff5f7;
    border: 1px solid #ffd0dc;
    color: #c9003f;
    font-size: 13px;
    line-height: 1.4;
}

#bookingPhoneDialog .booking-phone-dialog__submit {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    background: #e50050;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

#bookingPhoneDialog .booking-phone-dialog__submit:hover {
    background: #c9003f;
}

#bookingPhoneDialog .booking-phone-dialog__skip {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 8px;
    border: none;
    background: transparent;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

#bookingPhoneDialog .booking-phone-dialog__skip:hover {
    color: #555;
    text-decoration: underline;
}

@media (max-width: 575px) {
    #bookingPhoneDialog .booking-phone-dialog__content {
        padding: 40px 24px 28px;
    }

    #bookingPhoneDialog .booking-phone-dialog__header {
        padding: 0 16px;
        margin-bottom: 24px;
    }

    #bookingPhoneDialog .booking-phone-dialog__title {
        font-size: 22px;
    }

    #bookingPhoneDialog .booking-phone-dialog__country,
    #bookingPhoneDialog .booking-phone-dialog__input {
        height: 42px;
    }
}
