/* Theme-matched badge for open hours on booking page */
.booking-wizard .badge.open-hours {
    background: var(--sage) !important;
    color: var(--forest) !important;
    font-weight: 700;
    border-radius: 0.7em;
    font-size: 0.98em;
    box-shadow: 0 2px 8px rgba(36,67,58,0.07);
}
:root {
    --champagne: #f4efe6;
    --mist: #f9f7f2;
    --sage: #8dbbab;
    --forest: #24433a;
    --ink: #1d1f1d;
    --sand: #ccbfa8;
}

* {
    box-sizing: border-box;
}

html {
    /* scrollbar-gutter: stable; */
    overflow-x: hidden;
}

body {
    font-family: 'Mulish', sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 10% 20%, #f5f0e6 0%, #f4f8f2 35%, #eef4f2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Marcellus', serif;
    letter-spacing: 0.03em;
}

.navbar-luxury {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(36, 67, 58, 0.08);
}

.role-guest .navbar-luxury,
.role-customer .navbar-luxury {
    font-family: 'Mulish', sans-serif;
}

.role-therapist .navbar-luxury {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(120deg, rgba(241, 247, 255, 0.92), rgba(231, 244, 255, 0.88));
    border-bottom: 1px solid rgba(61, 114, 168, 0.2);
    box-shadow: 0 8px 24px rgba(43, 95, 150, 0.08);
}

.role-therapist .navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #24507d;
}

.role-therapist .nav-link {
    font-weight: 700;
    color: #2f5f8f;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
}

.role-therapist .nav-link:hover {
    color: #163e67;
    background: rgba(86, 139, 194, 0.14);
}

.role-admin .navbar-luxury {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(120deg, rgba(250, 247, 241, 0.95), rgba(246, 237, 220, 0.9));
    border-bottom: 1px solid rgba(144, 104, 56, 0.22);
    box-shadow: 0 10px 28px rgba(99, 66, 28, 0.08);
}

.role-admin .navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #6b441d;
}

.role-admin .nav-link {
    color: #6d4a24;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding-inline: 0.45rem;
}

.role-admin .nav-link:hover {
    color: #3d2810;
    border-bottom-color: #9d7343;
}

.role-therapist .btn-book,
.role-admin .btn-book {
    border-radius: 999px;
    padding-inline: 0.95rem;
}

.role-therapist .btn-book {
    background: linear-gradient(120deg, #4d8bc6, #3a74ab);
}

.role-admin .btn-book {
    background: linear-gradient(120deg, #b98a52, #9a6f3c);
}

.navbar-brand {
    font-size: 1.6rem;
    color: var(--forest);
}

.header-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.7rem;
}

.header-note {
    justify-self: start;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(36, 67, 58, 0.65);
}

.header-shell .navbar-brand {
    grid-column: 2;
    justify-self: center;
}

.header-shell .nav-right {
    grid-column: 3;
    justify-self: end;
    margin-left: 0 !important;
}

.nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.settings-compact-form .accordion-item {
    border: 1px solid rgba(36, 67, 58, 0.12);
    border-radius: 0.7rem;
    overflow: hidden;
}

.settings-compact-form .accordion-button {
    font-weight: 700;
    font-size: 0.92rem;
    background: rgba(248, 251, 249, 0.95);
}

.settings-compact-form .accordion-body {
    padding: 0.95rem;
}

.settings-toolbar {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(36, 67, 58, 0.14);
    border-radius: 0.85rem;
    padding: 0.75rem;
    display: grid;
    gap: 0.55rem;
}

.settings-toolbar-top {
    display: grid;
    grid-template-columns: minmax(220px, 460px);
}

.settings-jump-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.settings-compact-form .settings-section {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.settings-compact-form .settings-section:focus-within {
    border-color: rgba(52, 99, 87, 0.3);
    box-shadow: 0 0 0 3px rgba(52, 99, 87, 0.09);
}

.settings-gallery-item {
    background: rgba(245, 248, 246, 0.8);
    border: 1px solid rgba(36, 67, 58, 0.12);
    border-radius: 0.75rem;
    padding: 0.55rem;
}

.settings-gallery-item-label {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(36, 67, 58, 0.72);
    text-transform: uppercase;
}

.settings-savebar {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(36, 67, 58, 0.12);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
}

.settings-savebar-hint {
    font-size: 0.83rem;
    font-weight: 600;
    color: rgba(36, 67, 58, 0.68);
}

.settings-savebar.is-dirty {
    border-color: rgba(52, 99, 87, 0.36);
    box-shadow: 0 6px 20px rgba(52, 99, 87, 0.13);
}

.settings-savebar.is-dirty .settings-savebar-hint {
    color: #2f5b4f;
}

@media (max-width: 991px) {
    .settings-compact-form {
        gap: 0.75rem !important;
    }

    .settings-toolbar {
        padding: 0.65rem;
    }

    .settings-toolbar-top {
        grid-template-columns: 1fr;
    }

    .settings-jump-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .settings-jump-list .btn {
        flex: 0 0 auto;
        white-space: nowrap;
        min-height: 36px;
    }

    .settings-compact-form .accordion-button {
        font-size: 0.9rem;
        padding: 0.72rem 0.85rem;
    }

    .settings-compact-form .accordion-body {
        padding: 0.82rem;
    }

    .settings-savebar {
        bottom: 0.35rem;
        gap: 0.55rem;
        border-radius: 0.78rem;
    }

    .settings-savebar .btn {
        min-height: 38px;
    }
}

@media (max-width: 767px) {
    .settings-toolbar {
        padding: 0.56rem;
        border-radius: 0.72rem;
    }

    .settings-toolbar .form-control {
        font-size: 0.88rem;
        min-height: 38px;
    }

    .settings-jump-list {
        gap: 0.36rem;
    }

    .settings-jump-list .btn {
        font-size: 0.74rem;
        padding: 0.3rem 0.58rem;
        border-radius: 999px;
        min-height: 34px;
    }

    .settings-compact-form .accordion-item {
        border-radius: 0.62rem;
    }

    .settings-compact-form .accordion-button {
        font-size: 0.84rem;
        padding: 0.62rem 0.72rem;
    }

    .settings-compact-form .accordion-body {
        padding: 0.72rem;
    }

    .settings-compact-form .form-label {
        font-size: 0.74rem;
        margin-bottom: 0.28rem;
    }

    .settings-compact-form .form-control,
    .settings-compact-form .form-select,
    .settings-compact-form textarea {
        font-size: 0.88rem;
        min-height: 38px;
        padding: 0.5rem 0.65rem;
    }

    .settings-compact-form textarea {
        min-height: 86px;
    }

    .settings-gallery-item {
        padding: 0.46rem;
        border-radius: 0.62rem;
    }

    .settings-gallery-item-label {
        font-size: 0.68rem;
        margin-bottom: 0.3rem;
    }

    .settings-savebar {
        position: sticky;
        bottom: 0.3rem;
        padding: 0.55rem 0.6rem;
        border-radius: 0.7rem;
    }

    .settings-savebar-hint {
        width: 100%;
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }

    .settings-savebar > .d-flex {
        width: 100%;
    }

    .settings-savebar > .d-flex .btn {
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.82rem;
        padding: 0.45rem 0.6rem;
        min-height: 36px;
    }
}

.nav-link {
    color: #2d3b35;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--sage);
}

.btn-book {
    background: linear-gradient(120deg, var(--sage), #7fa495);
    color: #fff;
    border-radius: 999px;
    padding-inline: 1rem;
}

.hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 243, 236, 0.92));
    border: 1px solid rgba(36, 67, 58, 0.1);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(29, 31, 29, 0.08);
    animation: riseIn 0.7s ease;
}

.panel-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: var(--forest);
    margin-bottom: 0.75rem;
}

.pill {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(141, 187, 171, 0.15);
    color: var(--forest);
    font-size: 0.8rem;
}

.btn-luxury {
    background: var(--forest);
    color: #fff;
    border: none;
}

.btn-luxury:hover {
    background: #2f5b4f;
    color: #fff;
}

.footer-luxury {
    margin-top: auto;
    border-top: 1px solid rgba(29, 31, 29, 0.08);
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.customer-index {
    border-left: 6px solid #8dbbab;
}

.therapist-index {
    border-left: 6px solid #7aa895;
}

.admin-index {
    border-left: 6px solid #d1a96c;
}

.stat-card {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-value {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    line-height: 1.1;
    color: var(--forest);
}

.small-value {
    font-size: 1.2rem;
}

.stat-card.therapist .stat-value {
    color: #2f5d4f;
}

.stat-card.admin .stat-value {
    color: #7d5b2b;
}

.mobile-booking-card {
    border-left: 4px solid #8dbbab;
}

.therapist-timeline {
    display: grid;
    gap: 0.75rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.8rem;
    align-items: start;
}

.timeline-time {
    font-size: 0.82rem;
    color: #5f6f6a;
    background: rgba(141, 187, 171, 0.12);
    border-radius: 0.6rem;
    padding: 0.55rem;
}

.timeline-content {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.8rem;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.86);
}

.admin-feed {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.feed-row {
    border-left: 4px solid #d1a96c;
}

.admin-mobile-card {
    border-left: 4px solid rgba(157, 115, 67, 0.45);
}

.therapist-mobile-card {
    border-left: 4px solid rgba(122, 168, 149, 0.55);
}

.app-toast-host {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1080;
    display: grid;
    gap: 0.55rem;
    width: min(360px, calc(100vw - 1.5rem));
    pointer-events: none;
}

.app-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border-radius: 0.9rem;
    padding: 0.72rem 0.78rem;
    color: #1f2a25;
    border: 1px solid rgba(36, 67, 58, 0.16);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.app-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.app-toast.closing {
    opacity: 0;
    transform: translateY(-6px);
}

.app-toast-text {
    font-size: 0.9rem;
    line-height: 1.35;
}

.app-toast-close {
    border: none;
    background: transparent;
    color: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1;
    opacity: 0.7;
}

.app-toast-close:hover {
    opacity: 1;
}

.app-toast-success {
    border-color: rgba(56, 122, 82, 0.25);
    background: linear-gradient(130deg, rgba(237, 249, 241, 0.98), rgba(224, 244, 232, 0.96));
}

.app-toast-danger {
    border-color: rgba(166, 55, 55, 0.24);
    background: linear-gradient(130deg, rgba(255, 241, 241, 0.98), rgba(250, 230, 230, 0.96));
}

.app-toast-warning {
    border-color: rgba(169, 118, 43, 0.24);
    background: linear-gradient(130deg, rgba(255, 247, 234, 0.98), rgba(250, 239, 215, 0.96));
}

.app-toast-info {
    border-color: rgba(58, 118, 150, 0.24);
    background: linear-gradient(130deg, rgba(236, 248, 255, 0.98), rgba(225, 241, 250, 0.96));
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 84px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.admin-sidebar {
    border-color: rgba(157, 115, 67, 0.26);
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.97), rgba(252, 245, 235, 0.93));
}

.sidebar-head {
    margin-bottom: 0.8rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.58rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    padding: 0.52rem 0.7rem;
    color: #2f3b38;
    font-weight: 700;
    transition: 0.2s ease;
    margin-bottom: 0.35rem;
}

.sidebar-icon {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.52rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(36, 67, 58, 0.09);
    color: #355a4e;
    flex-shrink: 0;
}

.sidebar-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.sidebar-label {
    line-height: 1.2;
}

.sidebar-link:hover {
    background: rgba(141, 187, 171, 0.15);
}

.sidebar-link.active {
    background: rgba(141, 187, 171, 0.2);
    border-color: rgba(36, 67, 58, 0.2);
    color: #1e4338;
}

.sidebar-link.active .sidebar-icon {
    background: rgba(36, 67, 58, 0.18);
    color: #1e4338;
}

.panel-section {
    display: none;
}

.panel-section.active {
    display: block;
}

.therapist-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(141, 187, 171, 0.4);
    margin-bottom: 0.6rem;
}

.therapist-avatar-lg {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(141, 187, 171, 0.5);
}

.therapist-avatar-admin-mobile {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
}

.therapist-avatar-admin-table {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
}

.admin-therapist-photo-preview {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.fade-stagger {
    opacity: 0;
    transform: translateY(12px);
    animation: staggerIn 0.5s ease forwards;
}

.fade-stagger:nth-child(2) { animation-delay: 0.08s; }
.fade-stagger:nth-child(3) { animation-delay: 0.16s; }
.fade-stagger:nth-child(4) { animation-delay: 0.24s; }

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        display: block;
        padding: 0.75rem;
        overflow: hidden;
    }

    .sidebar-head {
        min-width: 0;
        margin-bottom: 0.6rem;
    }

    .sidebar-mobile-toggle {
        width: 100%;
        border: 1px solid rgba(36, 67, 58, 0.2);
        background: rgba(255, 255, 255, 0.75);
        border-radius: 0.7rem;
        padding: 0.58rem 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 700;
        color: #2f3b38;
        margin-bottom: 0.6rem;
    }

    .sidebar-mobile-toggle .toggle-left {
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
    }

    .sidebar-mobile-toggle .hamburger {
        width: 1.1rem;
        height: 0.85rem;
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .sidebar-mobile-toggle .hamburger span {
        height: 2px;
        border-radius: 99px;
        background: #2f3b38;
        display: block;
        transition: transform 0.2s ease, opacity 0.2s ease;
        transform-origin: center;
    }

    .dashboard-sidebar.mobile-menu-open .sidebar-mobile-toggle .hamburger span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .dashboard-sidebar.mobile-menu-open .sidebar-mobile-toggle .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .dashboard-sidebar.mobile-menu-open .sidebar-mobile-toggle .hamburger span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .sidebar-mobile-toggle .caret {
        width: 0.5rem;
        height: 0.5rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    .dashboard-sidebar.mobile-menu-open .sidebar-mobile-toggle .caret {
        transform: rotate(225deg);
    }

    .dashboard-sidebar .sidebar-link {
        display: none;
        width: 100%;
        margin-bottom: 0.35rem;
    }

    .dashboard-sidebar.mobile-menu-open .sidebar-link {
        display: flex;
    }
}

@media (max-width: 767px) {
    /* iOS/WebKit fallback: disable sticky header to prevent scroll jitter */
    .navbar.sticky-top {
        position: relative;
        top: auto;
        z-index: 1020;
    }

    .navbar-luxury {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.96);
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    .hero-card {
        padding: 1.2rem;
    }

    .header-shell { grid-template-columns: 1fr auto 1fr; }
    .header-shell .navbar-brand { grid-column: 2; justify-self: center; }
    .header-shell .nav-right { grid-column: 3; }

    .nav-logo-img { height: 30px; }

    .app-toast-host {
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-time {
        width: fit-content;
    }

    .stat-value {
        font-size: 1.45rem;
    }

    .admin-feed {
        max-height: none;
        overflow: visible;
    }

    .role-admin .nav-link {
        text-transform: none;
        font-size: 0.92rem;
        letter-spacing: normal;
    }
}

/* â”€â”€ Booking Wizard â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.booking-hero {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    margin-bottom: 2rem;
}

.booking-hero .pill {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.booking-hero .section-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    margin: 0.8rem 0;
    color: #1e4338;
}

.booking-hero p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

/* Step indicator bar */
.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    padding: 0 1rem;
}

.booking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(36, 67, 58, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #8a9a96;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 1px 3px rgba(36, 67, 58, 0.05);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8a9a96;
    white-space: nowrap;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(36, 67, 58, 0.12);
    margin: 0 0.3rem;
    margin-bottom: 1.5rem;
    transition: background 0.4s ease;
    min-width: 20px;
}

.step-line.done {
    background: var(--sage);
}

.booking-step.active .step-num {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
    box-shadow: 0 4px 12px rgba(40, 70, 56, 0.25);
    transform: scale(1.05);
}

.booking-step.active .step-label {
    color: var(--forest);
    font-weight: 800;
}

.booking-step.done .step-num {
    background: var(--sage);
    border-color: var(--sage);
    color: #fff;
}

.booking-step.done .step-label {
    color: var(--sage);
}

/* Step panels */
.booking-panel {
    display: none;
}

.booking-panel.active {
    display: block;
    animation: riseIn 0.4s ease;
}

/* Step footer nav */
.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    margin-top: 1.8rem;
    border-top: 1px solid rgba(36, 67, 58, 0.1);
    gap: 1rem;
}

.booking-panel .form-control,
.booking-panel .form-select {
    border: 1.5px solid rgba(36, 67, 58, 0.15);
    border-radius: 0.8rem;
    padding: 0.7rem 0.95rem;
    font-size: 0.96rem;
    transition: all 0.25s ease;
    background-color: rgba(255, 255, 255, 0.97);
    color: #2d3b35;
}

.booking-panel .form-control:focus,
.booking-panel .form-select:focus {
    border-color: var(--forest);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(40, 70, 56, 0.1);
}

.booking-panel .form-label {
    font-weight: 750;
    color: #1e4338;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
}

.booking-panel .btn-next-step,
.booking-panel .btn-prev-step {
    font-weight: 700;
    border-radius: 0.8rem;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.booking-panel .btn-luxury {
    box-shadow: 0 4px 14px rgba(36, 67, 58, 0.2);
}

.booking-panel .btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 67, 58, 0.25);
}

.booking-panel .btn-outline-secondary:hover {
    transform: translateY(-2px);
}

/* Area cards */
.area-card {
    cursor: pointer;
    display: block;
}

.area-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
}

.area-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    border: 2px solid rgba(36, 67, 58, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    font-weight: 700;
    color: #2d3b35;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(36, 67, 58, 0.06);
    cursor: pointer;
}

.area-card-inner:hover {
    border-color: var(--sage);
    background: rgba(141, 187, 171, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 187, 171, 0.15);
}

.area-card.selected .area-card-inner,
.area-card:has(input:checked) .area-card-inner {
    border-color: var(--forest);
    background: rgba(40, 70, 56, 0.08);
    color: var(--forest);
    box-shadow: 0 4px 14px rgba(40, 70, 56, 0.12);
    font-weight: 800;
}

.area-icon {
    font-size: 1.3rem;
}

/* Label section headings */
.label-section {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--forest);
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

/* Service cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.service-card {
    cursor: pointer;
    display: block;
    position: relative;
}

.service-card-inner {
    padding: 0;
    border: 2px solid rgba(36, 67, 58, 0.12);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.94);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(36, 67, 58, 0.05);
}

.service-card-img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0.9rem 0.9rem 0 0;
}

.service-card-inner > * {
    padding: 0 0.85rem;
}

.service-card-inner > :first-of-type:not(.service-card-img) {
    padding-top: 0.85rem;
}

.service-card-inner > :last-child {
    padding-bottom: 0.85rem;
}

.service-card-inner:hover {
    border-color: var(--sage);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(141, 187, 171, 0.18);
}

.service-card-inner:hover .service-card-img {
    transform: scale(1.08);
}

.service-card.selected .service-card-inner {
    border-color: var(--forest);
    background: rgba(40, 70, 56, 0.08);
    box-shadow: 0 6px 18px rgba(40, 70, 56, 0.14);
}

.addon-card .service-card-inner {
    border-style: solid;
    border-color: rgba(209, 169, 108, 0.3);
    background: rgba(252, 248, 242, 0.8);
}

.addon-card.selected .service-card-inner {
    border-color: #b8863a;
    background: rgba(209, 169, 108, 0.15);
    box-shadow: 0 6px 18px rgba(184, 134, 58, 0.12);
}

/* ── Service check mark (booking wizard) ── */
.service-check-mark {
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--forest);
    color: #fff;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
    pointer-events: none;
}

.service-card.selected .service-check-mark,
.addon-card.selected .service-check-mark {
    opacity: 1;
    transform: scale(1);
}

/* ── Therapist pick grid ── */
.therapist-pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.therapist-pick-card {
    cursor: pointer;
    text-align: center;
}

.therapist-pick-inner {
    padding: 1.3rem 0.9rem;
    border: 2px solid rgba(36, 67, 58, 0.1);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 8px rgba(36, 67, 58, 0.06);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.therapist-pick-card:hover .therapist-pick-inner {
    border-color: var(--sage);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(141, 187, 171, 0.15);
}

.therapist-pick-card.selected .therapist-pick-inner {
    border-color: var(--forest);
    background: rgba(40, 70, 56, 0.08);
    box-shadow: 0 6px 16px rgba(40, 70, 56, 0.12);
}

.therapist-pick-inner img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.8rem;
    border: 3px solid rgba(141, 187, 171, 0.3);
    transition: border-color 0.3s ease;
}

.therapist-pick-card.selected .therapist-pick-inner img {
    border-color: var(--forest);
}

.therapist-pick-inner .t-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--forest);
    display: block;
    margin-bottom: 0.3rem;
}

.therapist-pick-inner .t-rating {
    font-size: 0.74rem;
    color: #8a9990;
    font-weight: 600;
}

/* ── Booking Summary ── */
.booking-summary {
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(248,246,241,0.8) 100%);
    border-radius: 1.3rem;
    padding: 1.6rem;
    border: 1px solid rgba(141, 187, 171, 0.15);
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 16px rgba(36, 67, 58, 0.08);
}

.booking-summary h5 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--forest);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.45rem 0;
    font-size: 0.86rem;
    border-bottom: 1px solid rgba(36,67,58,0.06);
    gap: 0.5rem;
}

.summary-row:last-of-type { border-bottom: none; }

.summary-row .label { color: #6a7c76; }
.summary-row .value { font-weight: 600; color: var(--forest); text-align: right; }

.total-row {
    display: flex;
    justify-content: space-between;
    padding-top: 0.85rem;
    margin-top: 0.5rem;
    border-top: 2px solid rgba(36,67,58,0.12);
    font-weight: 800;
    font-size: 1rem;
    color: var(--forest);
}

/* ── Wizard step-line responsive ── */
@media (max-width: 576px) {
    .step-line {
        min-width: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   HOME PAGE  —  full-bleed guest landing
═══════════════════════════════════════════════════════════════════════ */

/* ── Home Redesign v2 ── */
.hp2-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hp2-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 36%;
}

.hp2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(12, 25, 20, 0.82), rgba(39, 64, 56, 0.62) 48%, rgba(188, 150, 98, 0.22));
}

.hp2-hero-wrap {
    position: relative;
    z-index: 1;
}

.hp2-hero-card {
    max-width: 700px;
    border-radius: 1.2rem;
    padding: clamp(1.2rem, 3vw, 2rem);
    background: rgba(8, 16, 13, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(7px);
}

.hp2-kicker,
.hp2-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8dbbab;
}

.hp2-title {
    color: #fff;
    font-family: 'Marcellus', serif;
    font-size: clamp(2.2rem, 7vw, 4.8rem);
    line-height: 1.03;
    margin: 0.85rem 0 1rem;
}

.hp2-sub {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
    max-width: 560px;
    line-height: 1.75;
}

.hp2-hero-actions{
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
}


.hp2-final-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
    align-content: center;
    justify-content: center;
}

.hp2-btn-primary {
    border: none;
    border-radius: 999px;
    background: linear-gradient(120deg, #b68f5c, #a87f4d);
    color: #fff;
    font-weight: 800;
    padding: 0.78rem 1.5rem;
}

.hp2-btn-primary:hover { color: #fff; }

.hp2-btn-secondary {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    color: #fff;
    font-weight: 700;
    padding: 0.78rem 1.5rem;
}

.hp2-btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.hp2-proof-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
}

.hp2-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.96);
}

.hp2-proof-icon {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8dbbab;
}

.hp2-proof-icon svg {
    width: 100%;
    height: 100%;
}

.hp2-intro,
.hp2-flow,
.hp2-services,
.hp2-gallery,
.hp2-faq {
    padding: 5rem 0;
}

.hp2-intro { background: linear-gradient(160deg, #f6f2eb, #f2f8f4); }
.hp2-flow { background: #fbf9f5; }
.hp2-services { background: #f4f7f6; }
.hp2-gallery { background: #fbf9f5; }
.hp2-faq { background: #f6f2eb; }

.hp2-section-title {
    font-family: 'Marcellus', serif;
    color: #284238;
    font-size: clamp(1.8rem, 4.6vw, 2.7rem);
    margin-bottom: 0.8rem;
}

.hp2-section-text {
    color: #4f635b;
    line-height: 1.85;
    font-size: 1rem;
}

.hp2-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.hp2-stat {
    border-radius: 0.9rem;
    border: 1px solid rgba(40, 66, 56, 0.12);
    background: rgba(255, 255, 255, 0.82);
    padding: 0.82rem;
}

.hp2-stat strong {
    display: block;
    color: #8a6438;
    font-family: 'Marcellus', serif;
    font-size: 1.3rem;
}

.hp2-stat span {
    display: block;
    color: #5d7068;
    font-size: 0.78rem;
    margin-top: 0.22rem;
}

.hp2-step {
    border-radius: 1rem;
    border: 1px solid rgba(40, 66, 56, 0.11);
    background: rgba(255, 255, 255, 0.9);
    padding: 1.1rem;
    height: 100%;
}

.hp2-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(182, 143, 92, 0.18);
    color: #8a6438;
    font-weight: 800;
    font-size: 0.75rem;
}

.hp2-step h3 {
    margin: 0.75rem 0 0.45rem;
    font-size: 1.06rem;
    color: #284238;
}

.hp2-step p {
    margin: 0;
    color: #5b6f67;
    font-size: 0.9rem;
    line-height: 1.7;
}

.hp2-link {
    color: #87613a;
    text-decoration: none;
    font-weight: 700;
}

.hp2-service-card {
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(40, 66, 56, 0.1);
    height: 100%;
}

.hp2-service-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.hp2-service-body {
    padding: 1rem;
}

.hp2-service-name {
    font-family: 'Marcellus', serif;
    color: #294338;
    font-size: 1.24rem;
    margin-bottom: 0.45rem;
}

.hp2-service-desc {
    color: #61756d;
    font-size: 0.89rem;
    line-height: 1.7;
}

.hp2-service-meta {
    margin-top: 0.65rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    color: #8a6438;
    text-transform: uppercase;
}

.hp2-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.hp2-gallery-item {
    margin: 0;
    position: relative;
    border-radius: 0.8rem;
    overflow: hidden;
}

.hp2-gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.hp2-gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.45rem 0.7rem;
    font-size: 0.76rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,0.62));
}

.hp2-faq-imgwrap {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border-radius: 1rem;
}

.hp2-faq-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
}

.hp2-final-cta {
    padding: 5.5rem 0;
    background: linear-gradient(130deg, #214239, #406355 58%, #9a774f 100%);
}

.hp2-final-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hp2-label-light { color: rgba(255, 255, 255, 0.82); }

.hp2-final-title {
    color: #fff;
    font-family: 'Marcellus', serif;
    font-size: clamp(2rem, 5.4vw, 3.1rem);
    margin-top: 0.8rem;
}

.hp2-final-sub {
    color: rgba(255, 255, 255, 0.86);
    margin: 0.9rem auto 0;
    max-width: 610px;
    line-height: 1.8;
}

.hp2-btn-wa {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-weight: 700;
    padding: 0.78rem 1.5rem;
}

.hp2-btn-wa:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.hp-fullpage {
    padding: 0 !important;
    overflow-x: hidden;
}

/* ── Hero ── */
.hp-hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,18,12,0.76) 0%, rgba(24,50,40,0.6) 60%, rgba(0,0,0,0.25) 100%);
    display: flex;
    align-items: center;
    width: 100%;
}

.hp-hero-content {
    max-width: 640px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hp-eyebrow {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(141,187,171,0.2);
    border: 1px solid rgba(141,187,171,0.45);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #b4ddd1;
    margin-bottom: 1.4rem;
}

.hp-hero-title {
    font-family: 'Marcellus', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.04;
    color: #fff;
    margin-bottom: 1.4rem;
}

.hp-hero-sub {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-bottom: 2.4rem;
    line-height: 1.75;
    font-weight: 300;
}

.hp-hero-proof {
    margin-top: 1.1rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.hp-proof-chip {
    padding: 0.33rem 0.72rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
}

.hp-btn-primary {
    background: var(--sage);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2.2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.hp-btn-primary:hover {
    background: #79a898;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(141,187,171,0.4);
}

.hp-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    padding: 0.85rem 2.2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.hp-btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.85);
}

.hp-btn-ghost-sm {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    padding: 0.4rem 1.2rem;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Hero scroll indicator */
.hp-hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hp-hero-scroll span {
    display: block;
    width: 2px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Section typography ── */
.hp-section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
}

.hp-section-title {
    font-family: 'Marcellus', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--forest);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hp-body-text {
    color: #4a5550;
    line-height: 1.85;
    font-size: 1.02rem;
    margin-bottom: 1rem;
}

.hp-btn-outline {
    border: 2px solid var(--forest);
    color: var(--forest);
    border-radius: 999px;
    padding: 0.72rem 2rem;
    font-weight: 700;
    transition: all 0.22s ease;
}

.hp-btn-outline:hover {
    background: var(--forest);
    color: #fff;
}

/* ── About ── */
.hp-about {
    padding: 7rem 0;
}

.hp-about-imgwrap {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(36,67,58,0.18);
}

.hp-about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.hp-about-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    border-radius: 1rem;
    padding: 1rem 1.6rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hp-badge-num {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    color: var(--forest);
    line-height: 1;
}

.hp-badge-label {
    font-size: 0.72rem;
    color: #7a8c84;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 0.2rem;
}

/* ── Services ── */
.hp-services {
    padding: 6rem 0;
    background: rgba(248,246,241,0.65);
}

.hp-service-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hp-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(36,67,58,0.12);
}

.hp-service-img-wrap {
    position: relative;
    overflow: hidden;
    height: 230px;
    flex-shrink: 0;
}

.hp-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hp-service-card:hover .hp-service-img {
    transform: scale(1.06);
}

.hp-service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24,50,40,0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.hp-service-card:hover .hp-service-overlay {
    opacity: 1;
}

.hp-service-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hp-service-name {
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.hp-service-desc {
    font-size: 0.88rem;
    color: #6a7c76;
    line-height: 1.72;
    margin-bottom: 0.8rem;
    flex: 1;
}

.hp-service-count {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Feature blocks */
.hp-feature-block {
    border-radius: 1.25rem;
    padding: 2.6rem;
    height: 100%;
}

.hp-feature-primary {
    background: linear-gradient(140deg, var(--forest), #1c3a30);
    color: #fff;
}

.hp-feature-primary h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.55rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hp-feature-primary p {
    color: rgba(255,255,255,0.8);
    line-height: 1.82;
}

.hp-feature-sub {
    font-size: 0.87rem !important;
    color: rgba(141,187,171,0.88) !important;
    margin-top: 1rem !important;
}

.hp-feature-secondary {
    background: linear-gradient(140deg, #f5efe4, #ede4d4);
    position: relative;
    overflow: hidden;
}

.hp-feature-num {
    font-family: 'Marcellus', serif;
    font-size: 6rem;
    color: rgba(36,67,58,0.07);
    position: absolute;
    top: 0;
    right: 1.5rem;
    line-height: 1;
    pointer-events: none;
}

.hp-feature-secondary h4 {
    font-family: 'Marcellus', serif;
    font-size: 1.5rem;
    color: var(--forest);
    margin-bottom: 0.8rem;
}

.hp-feature-secondary p {
    color: #5a6b60;
}

/* ── Achievements ── */
.hp-achievements {
    background: linear-gradient(140deg, #18291f 0%, #24433a 55%, #1e3b32 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hp-achievements::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(141,187,171,0.04);
    pointer-events: none;
}

.hp-achieve-card {
    text-align: center;
    padding: 2rem 1.4rem;
    border: 1px solid rgba(141,187,171,0.14);
    border-radius: 1.25rem;
    background: rgba(255,255,255,0.035);
    transition: all 0.3s ease;
}

.hp-achieve-card:hover {
    background: rgba(141,187,171,0.09);
    border-color: rgba(141,187,171,0.4);
    transform: translateY(-5px);
}

.hp-achieve-num {
    font-family: 'Marcellus', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--sage);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hp-achieve-label {
    font-weight: 800;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.88);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.hp-achieve-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin: 0;
}

/* ── Gallery ── */
.hp-gallery {
    padding: 6rem 0;
}

.hp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 220px);
    gap: 0.9rem;
    border-radius: 1.25rem;
    overflow: hidden;
}

.hp-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.6rem;
    cursor: pointer;
}

.hp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hp-gallery-item:hover img {
    transform: scale(1.08);
}

.hp-gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0.5rem 0.85rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 0.76rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.hp-gallery-item:hover .hp-gallery-caption { opacity: 1; }

.hp-gal-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.hp-gal-2 { grid-column: 3;     grid-row: 1; }
.hp-gal-3 { grid-column: 4;     grid-row: 1; }
.hp-gal-4 { grid-column: 3;     grid-row: 2; }
.hp-gal-5 { grid-column: 4;     grid-row: 2 / 4; }
.hp-gal-6 { grid-column: 1;     grid-row: 3; }
.hp-gal-7 { grid-column: 2;     grid-row: 3; }
.hp-gal-8 { grid-column: 3 / 5; grid-row: 3; }

/* ── FAQ ── */
.hp-faq {
    padding: 6rem 0;
    background: rgba(248,246,241,0.65);
}

.hp-faq-imgwrap {
    position: sticky;
    top: 100px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(36,67,58,0.14);
}

.hp-faq-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    display: block;
}

.hp-faq-item {
    border: none;
    border-bottom: 1px solid rgba(36,67,58,0.1);
    background: transparent;
}

.hp-faq-btn {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--forest);
    background: transparent !important;
    box-shadow: none !important;
    padding: 1.1rem 0;
    border: none;
}

.hp-faq-btn:not(.collapsed) { color: var(--sage); }

.hp-faq-body {
    color: #4a5550;
    font-size: 0.92rem;
    line-height: 1.82;
    padding: 0 0 1.25rem;
}

/* ── Booking CTA ── */
.hp-cta-section {
    background: linear-gradient(140deg, var(--sage) 0%, #6aab97 50%, #58998a 100%);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-cta-section::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

/* ── Hide footer on admin/therapist back-office ── */
.role-admin .footer-luxury,
.role-therapist .footer-luxury { display: none !important; }

.hp-cta-section::after {
    content: '';
    position: absolute;
    bottom: -120px; right: -80px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.hp-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hp-cta-title {
    font-family: 'Marcellus', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
}

.hp-cta-sub {
    color: rgba(255,255,255,0.88);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hp-btn-cta {
    background: #fff;
    color: var(--forest);
    border: none;
    border-radius: 999px;
    padding: 1rem 2.8rem;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

.hp-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
    color: var(--forest);
}

.hp-mobile-quickbar {
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    bottom: calc(0.7rem + env(safe-area-inset-bottom));
    z-index: 1070;
    display: flex;
    gap: 0.55rem;
    padding: 0.5rem;
    border-radius: 0.9rem;
    background: rgba(35, 53, 46, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.28);
}

.hp-mobile-quick-btn {
    flex: 1;
    text-align: center;
    border-radius: 0.65rem;
    padding: 0.7rem 0.6rem;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.hp-mobile-quick-primary {
    background: linear-gradient(130deg, #b58e5b, #a57a47);
    color: #fff;
}

.hp-mobile-quick-wa {
    background: #3f695a;
    color: #fff;
}

/* ── Footer ── */
.footer-luxury {
    background: #141e19;
    color: rgba(255,255,255,0.78);
    margin-top: auto;
    flex-shrink: 0;
}

.footer-luxury h4 {
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.footer-heading {
    font-size: 0.7rem !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage) !important;
}

.footer-muted {
    color: rgba(255,255,255,0.52) !important;
    line-height: 1.8;
}

.footer-dim { color: rgba(255,255,255,0.28); }

.footer-luxury a {
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-luxury a:hover { color: var(--sage); }

.footer-bottom {
    border-top: none;
}

@media (max-width: 576px) {
    .footer-luxury .container {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .footer-luxury .footer-bottom {
        justify-content: center !important;
        text-align: center;
        gap: 0.4rem 0.9rem !important;
        row-gap: 0.35rem !important;
    }

    .footer-luxury h4 {
        font-size: 1.1rem;
        width: 100%;
    }

    .footer-luxury .footer-dim,
    .footer-luxury a.small {
        font-size: 0.78rem;
    }
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .hp2-hero {
        min-height: 82vh;
    }

    .hp2-hero-card {
        max-width: 620px;
    }

    .hp2-title {
        font-size: clamp(2rem, 6.4vw, 3.6rem);
    }

    .hp2-sub {
        font-size: 0.98rem;
        line-height: 1.66;
    }

    .hp2-service-img {
        height: 190px;
    }

    .hp-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 200px);
    }
    .hp-gal-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
    .hp-gal-2 { grid-column: 1;     grid-row: 3; }
    .hp-gal-3 { grid-column: 2;     grid-row: 3; }
    .hp-gal-4 { grid-column: 1;     grid-row: 4; }
    .hp-gal-5 { grid-column: 2;     grid-row: 4 / 6; }
    .hp-gal-6 { grid-column: 1;     grid-row: 5; }
    .hp-gal-7 { display: none; }
    .hp-gal-8 { display: none; }
}

@media (max-width: 575px) {
    .hp2-hero {
        min-height: 76vh;
        min-height: 76svh;
    }

    .hp2-hero-card {
        padding: 0.95rem;
        border-radius: 0.9rem;
    }

    .hp2-title {
        font-size: clamp(1.75rem, 9vw, 2.3rem);
        line-height: 1.06;
        margin: 0.55rem 0 0.72rem;
    }

    .hp2-sub {
        font-size: 0.92rem;
        line-height: 1.58;
        max-width: 100%;
    }

    .hp2-proof-row {
        gap: 0.35rem 0.6rem;
    }

    .hp2-proof-item {
        font-size: 0.67rem;
        gap: 0.28rem;
    }

    .hp2-proof-icon {
        width: 0.86rem;
        height: 0.86rem;
    }

    .hp2-hero-actions {
        gap: 0.5rem;
    }

    .hp2-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hp2-btn-primary,
    .hp2-btn-secondary,
    .hp2-btn-wa {
        padding: 0.68rem 1.15rem;
        font-size: 0.92rem;
    }

    .hp2-intro,
    .hp2-flow,
    .hp2-services,
    .hp2-gallery,
    .hp2-faq,
    .hp2-final-cta {
        padding: 3.7rem 0;
    }

    .hp2-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp2-service-card {
        border-radius: 0.85rem;
    }

    .hp2-service-img {
        height: 160px;
    }

    .hp2-service-body {
        padding: 0.82rem;
    }

    .hp2-service-name {
        font-size: 1.05rem;
        margin-bottom: 0.35rem;
    }

    .hp2-service-desc {
        font-size: 0.82rem;
        line-height: 1.56;
    }

    .hp2-service-meta {
        margin-top: 0.45rem;
        font-size: 0.68rem;
    }

    .hp2-gallery-item img { height: 170px; }

    .hp2-final-actions {
        flex-direction: column;
    }

    .hp2-final-actions .btn {
        width: 100%;
    }

    .hp-fullpage {
        padding-bottom: 5.4rem !important;
    }

    .hp-hero-proof {
        margin-top: 1rem;
        gap: 0.45rem;
    }

    .hp-proof-chip {
        font-size: 0.68rem;
        padding: 0.3rem 0.62rem;
    }

    .hp-about      { padding: 4rem 0; }
    .hp-services   { padding: 4rem 0; }
    .hp-gallery    { padding: 4rem 0; }
    .hp-faq        { padding: 4rem 0; }
    .hp-achievements { padding: 4rem 0; }
    .hp-cta-section  { padding: 5rem 1rem; }

    .hp-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 150px);
    }
    .hp-gal-1 { grid-column: 1 / 3; grid-row: 1; }
    .hp-gal-2 { grid-column: 1;     grid-row: 2; }
    .hp-gal-3 { grid-column: 2;     grid-row: 2; }
    .hp-gal-4 { grid-column: 1;     grid-row: 3; }
    .hp-gal-5 { grid-column: 2;     grid-row: 3; }
    .hp-gal-6 { grid-column: 1 / 3; grid-row: 4; }
    .hp-gal-7 { display: none; }
    .hp-gal-8 { display: none; }
}

/* Minimal workspace mode (admin + therapist) */
.role-admin,
.role-therapist {
    --workspace-bg: #f5f7f6;
    --workspace-surface: #ffffff;
    --workspace-border: #dcdfe2;
    --workspace-text: #0f172a;
    --workspace-muted: #64748b;
    --workspace-accent: #8dbbab;
    --workspace-accent-soft: #e9f4f0;
    --sidebar-accent: #8dbbab;
    --sidebar-accent-soft: #eef7f4;
    --sidebar-link-text: #33594c;
    --sidebar-border: #d7e7e0;
    font-family: 'Inter', 'Mulish', sans-serif;
    overflow-y: scroll;
    background: radial-gradient(circle at 14% 4%, #fbfdfc 0%, #f3f8f5 38%, #edf4f1 100%);
}

.role-admin h1,
.role-admin h2,
.role-admin h3,
.role-admin h4,
.role-admin h5,
.role-admin h6,
.role-admin .navbar-brand,
.role-therapist h1,
.role-therapist h2,
.role-therapist h3,
.role-therapist h4,
.role-therapist h5,
.role-therapist h6,
.role-therapist .navbar-brand {
    font-family: 'Inter', 'Mulish', sans-serif;
    letter-spacing: 0;
}

.navbar-luxury {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.nav-right .btn {
    border-radius: 999px;
    padding-inline: 0.95rem;
    font-weight: 600;
}

#spa-view.workspace-route {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.role-admin .dashboard-shell,
.role-therapist .dashboard-shell {
    width: min(100%, 1650px);
    margin: 0 auto;
    padding: 1.1rem clamp(0.9rem, 2.2vw, 2.4rem) 1.7rem;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.2rem;
}

.role-admin .dashboard-sidebar,
.role-therapist .dashboard-sidebar {
    top: 76px;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8f7 100%);
    border: 1px solid var(--sidebar-border);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
    padding: 1rem 0.85rem;
}

.role-admin .sidebar-head,
.role-therapist .sidebar-head {
    margin: 0 0.35rem 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e6ebe8;
}

.role-admin .sidebar-head .pill,
.role-therapist .sidebar-head .pill {
    background: var(--sidebar-accent-soft);
    color: var(--sidebar-accent);
    border: 1px solid #cfe1da;
    font-size: 0.69rem;
    font-weight: 700;
}

.role-admin .sidebar-head h4,
.role-therapist .sidebar-head h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--workspace-text);
}

.role-admin .sidebar-link,
.role-therapist .sidebar-link {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0 0.35rem 0.42rem;
    border-radius: 0.8rem;
    border: 1px solid #d7e7e0;
    padding: 0.64rem 0.88rem 0.64rem 1rem;
    color: var(--sidebar-link-text);
    font-weight: 650;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.role-admin .sidebar-link::before,
.role-therapist .sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 62%;
    transform: translateY(-50%) scaleY(0.25);
    transform-origin: center;
    border-radius: 999px;
    background: var(--sidebar-accent);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.role-admin .sidebar-link:hover,
.role-therapist .sidebar-link:hover {
    background: var(--sidebar-accent-soft);
    border-color: #b7d4c9;
    color: var(--sidebar-accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(141, 187, 171, 0.2);
}

.role-admin .sidebar-link.active,
.role-therapist .sidebar-link.active {
    background: #e6f1ed;
    border-color: #9ec8b9;
    box-shadow: inset 0 0 0 1px #d2e7df;
    color: #2f5d4f;
    font-weight: 700;
}

.role-admin .sidebar-link.active::before,
.role-therapist .sidebar-link.active::before {
    opacity: 1;
    transform: translateY(-50%) scaleY(1);
}

.role-admin .sidebar-link:focus-visible,
.role-therapist .sidebar-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(141, 187, 171, 0.25);
}

.role-admin .dashboard-content,
.role-therapist .dashboard-content {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.role-admin .hero-card,
.role-therapist .hero-card,
.role-admin .panel-card,
.role-therapist .panel-card {
    border-radius: 1rem;
    box-shadow: 0 7px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--workspace-border);
    background: var(--workspace-surface);
}

.role-admin .hero-card,
.role-therapist .hero-card {
    padding: 1.25rem;
}

.role-admin .panel-card,
.role-therapist .panel-card {
    padding: 0.95rem;
}

.role-admin .section-title,
.role-therapist .section-title {
    color: var(--workspace-text);
    font-size: clamp(1.08rem, 1.05rem + 0.3vw, 1.35rem);
    font-weight: 700;
}

.role-admin .text-muted,
.role-therapist .text-muted {
    color: var(--workspace-muted) !important;
}

.role-admin .stat-card,
.role-therapist .stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #f6faf8 100%);
    border: 1px solid #dbe4df;
}

.role-admin .stat-value,
.role-therapist .stat-value {
    font-family: 'Inter', 'Mulish', sans-serif;
    font-size: clamp(1.55rem, 1.15rem + 1vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #46695e;
}

.role-admin .table-responsive,
.role-therapist .table-responsive {
    border-radius: 0.9rem;
    border: 1px solid var(--workspace-border);
    background: #fff;
}

.role-admin .table,
.role-therapist .table {
    margin-bottom: 0;
    color: #1f2937;
}

.role-admin .table thead th,
.role-therapist .table thead th {
    background: #f3f8f6;
    border-bottom-color: #d6e6df;
    color: #486258;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
}

.role-admin .table tbody td,
.role-therapist .table tbody td {
    border-color: #e6ebe8;
    vertical-align: middle;
}

.role-admin #admin-therapists .hero-card,
.role-admin #admin-services .hero-card,
.role-admin #admin-areas .hero-card {
    background:
        radial-gradient(circle at top right, rgba(141, 187, 171, 0.12), transparent 32%),
        linear-gradient(145deg, #ffffff, #f7faf8);
}

.role-admin #admin-therapists .table-responsive,
.role-admin #admin-services .table-responsive,
.role-admin #admin-areas .table-responsive {
    border: 1px solid #e2e5e9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.role-admin #admin-therapists .table thead th,
.role-admin #admin-services .table thead th,
.role-admin #admin-areas .table thead th {
    background: linear-gradient(180deg, #f6f8f7, #eef4f1);
    color: #4d6a5f;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.role-admin #admin-therapists .table tbody tr,
.role-admin #admin-services .table tbody tr,
.role-admin #admin-areas .table tbody tr {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.role-admin #admin-therapists .table tbody tr:hover,
.role-admin #admin-services .table tbody tr:hover,
.role-admin #admin-areas .table tbody tr:hover {
    background: rgba(141, 187, 171, 0.1);
}

.role-admin #admin-therapists .table tbody td,
.role-admin #admin-services .table tbody td,
.role-admin #admin-areas .table tbody td {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.role-admin #adminNewTherapistBtn,
.role-admin #adminNewServiceBtn,
.role-admin #adminNewAreaBtn {
    border-radius: 999px;
    padding: 0.72rem 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 6px rgba(17, 18, 19, 0.14);
}

.role-admin .js-edit-therapist,
.role-admin .js-edit-service,
.role-admin .js-edit-area {
    border-radius: 999px;
    padding-inline: 0.9rem;
    border-color: #cbd8d2;
    color: #33594c;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.9);
}

.role-admin .js-edit-therapist:hover,
.role-admin .js-edit-service:hover,
.role-admin .js-edit-area:hover {
    background: #eaf4f0;
    border-color: #9ec8b9;
    color: #1e4338;
}

.role-admin #adminTherapistModal .modal-content,
.role-admin #adminServiceModal .modal-content,
.role-admin #adminAreaModal .modal-content {
    border: 1px solid #dde5e1;
    border-radius: 1.35rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(141, 187, 171, 0.16), transparent 28%),
        linear-gradient(180deg, #ffffff, #f7faf8);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.role-admin #adminTherapistModal .modal-header,
.role-admin #adminServiceModal .modal-header,
.role-admin #adminAreaModal .modal-header {
    padding: 1.25rem 1.25rem 0;
}

.role-admin #adminTherapistModal .modal-body,
.role-admin #adminServiceModal .modal-body,
.role-admin #adminAreaModal .modal-body {
    padding: 1rem 1.25rem 1.25rem;
}

.role-admin #adminTherapistModal form,
.role-admin #adminServiceModal form,
.role-admin #adminAreaModal form {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(221, 229, 225, 0.95);
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.role-admin #adminTherapistResult .alert,
.role-admin #adminServiceResult .alert,
.role-admin #adminAreaResult .alert {
    margin-bottom: 0;
    border-radius: 0.85rem;
    font-size: 0.92rem;
}

.role-admin #admin-areas #adminAreasResult {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.role-admin .admin-summary-card {
    min-height: 100%;
}

.role-admin .admin-summary-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: end;
    min-height: 240px;
    padding: 1rem 0 0.2rem;
}

.role-admin .summary-bar-col {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
}

.role-admin .summary-bar-wrap {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(141, 187, 171, 0.08), rgba(141, 187, 171, 0.18));
}

.role-admin .summary-bar {
    width: min(42px, 100%);
    min-height: 14px;
    border-radius: 999px 999px 0.75rem 0.75rem;
    background: linear-gradient(180deg, #9fc8ba 0%, #7aa895 100%);
    box-shadow: 0 10px 22px rgba(141, 187, 171, 0.22);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.role-admin .summary-bar:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
}

.role-admin .summary-bar-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: #45675c;
}

.role-admin .summary-bar-label {
    font-size: 0.78rem;
    color: var(--workspace-muted);
    letter-spacing: 0.02em;
}

.role-admin .admin-summary-stack {
    align-content: start;
}

.role-admin .summary-highlight {
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 244, 0.92));
    border: 1px solid #d8e8e1;
}

@media (max-width: 767px) {
    .role-admin #adminNewTherapistBtn,
    .role-admin #adminNewServiceBtn,
    .role-admin #adminNewAreaBtn {
        width: 100%;
        justify-content: center;
    }

    .role-admin #adminTherapistModal form,
    .role-admin #adminServiceModal form,
    .role-admin #adminAreaModal form {
        padding: 0.9rem;
    }

    .role-admin .admin-summary-chart {
        gap: 0.55rem;
        min-height: 210px;
    }

    .role-admin .summary-bar-wrap {
        min-height: 135px;
    }
}

.role-admin .form-control,
.role-admin .form-select,
.role-admin .form-check-input,
.role-therapist .form-control,
.role-therapist .form-select,
.role-therapist .form-check-input {
    border-color: #d3dcd8;
}

.role-admin .form-control:focus,
.role-admin .form-select:focus,
.role-therapist .form-control:focus,
.role-therapist .form-select:focus {
    border-color: #8dbbab;
    box-shadow: 0 0 0 0.2rem rgba(141, 187, 171, 0.2);
}

.role-admin .btn-outline-dark,
.role-therapist .btn-outline-dark {
    border-color: #cbd8d2;
    color: #33594c;
}

.role-admin .btn-outline-dark:hover,
.role-therapist .btn-outline-dark:hover {
    border-color: #2f5b4f;
    background: #2f5b4f;
    color: #fff;
}

.role-admin .feed-row,
.role-therapist .timeline-content {
    border-left-color: var(--sage);
}

.role-admin .table,
.role-therapist .table {
    --bs-table-bg: transparent;
}

/* Admin UX refresh: Shopify-like clean workspace pattern */
.role-admin {
    --workspace-bg: #f6f6f7;
    --workspace-surface: #ffffff;
    --workspace-border: #dcdcdc;
    --workspace-text: #202223;
    --workspace-muted: #6d7175;
    --sidebar-accent: #4f7a65;
    --sidebar-accent-soft: #eaf4f0;
    --sidebar-link-text: #2b2f33;
    --sidebar-border: #e1e3e5;
    /* Shopify-style tokens — flat surfaces, hairline borders, brand-green accent */
    --admin-bg: #f1f2f4;
    --admin-surface: #ffffff;
    --admin-border: #e1e3e5;
    --admin-border-strong: #d2d5da;
    --admin-text: #1f2328;
    --admin-muted: #6b7177;
    --admin-accent: var(--forest, #24433a);
    --admin-accent-strong: #1b3129;
    --admin-accent-soft: #eaf4f0;
    background: var(--admin-bg);
}

.role-admin .dashboard-shell {
    width: min(100%, 1760px);
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 1rem;
    padding-top: 0.85rem;
    min-height: calc(100vh - 110px);
}

.role-admin .dashboard-sidebar {
    width: 248px;
    min-width: 248px;
    max-width: 248px;
    border-radius: 14px;
    border: 1px solid var(--sidebar-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    padding: 0.9rem 0.7rem;
}

.role-admin .sidebar-head {
    border-bottom: 1px solid #eceef0;
    padding-bottom: 0.7rem;
    margin-bottom: 0.8rem;
}

.role-admin .sidebar-head .pill {
    background: #f1f2f3;
    border-color: #e5e7ea;
    color: #61666b;
}

.role-admin .sidebar-head h4 {
    font-size: 0.95rem;
    color: #111213;
}

.role-admin .sidebar-link {
    border-radius: 9px;
    border: 1px solid transparent;
    background: #fff;
    color: #2f3337;
    font-weight: 600;
    font-size: 0.86rem;
    box-shadow: none;
}

.role-admin .sidebar-link::before {
    width: 3px;
    background: var(--admin-accent);
}

.role-admin .sidebar-link:hover {
    background: var(--admin-accent-soft);
    border-color: #d4e6de;
    color: var(--admin-accent);
    box-shadow: none;
    transform: none;
}

.role-admin .sidebar-link.active {
    background: var(--admin-accent-soft);
    border-color: #bcdccf;
    color: var(--admin-accent);
    box-shadow: none;
}

.role-admin .sidebar-link.active .sidebar-icon {
    color: var(--admin-accent);
}

.role-admin .dashboard-content.admin-workspace {
    gap: 0.85rem;
    min-height: calc(100vh - 130px);
}

.role-admin .admin-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    padding: 0.7rem 1.05rem;
}

.role-admin .admin-toolbar-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1b1f23;
}

.role-admin .admin-toolbar-subtitle {
    margin: 0.18rem 0 0;
    font-size: 0.8rem;
    color: #70757a;
}

.role-admin .admin-toolbar-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.role-admin .admin-meta-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d9dde2;
    border-radius: 999px;
    padding: 0.24rem 0.62rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: #4f5459;
    background: #f7f8fa;
}

.role-admin .admin-meta-pill.is-ok {
    color: #1f6f43;
    background: #ebf8ef;
    border-color: #b9e2c8;
}

.role-admin .admin-meta-pill.is-alert {
    color: #8a5b00;
    background: #fff6dd;
    border-color: #eed48f;
}

.role-admin .admin-meta-pill.is-danger {
    color: #8c2f3f;
    background: #ffecef;
    border-color: #f0b3be;
}

/* Clickable variant of the toolbar pill (button element) */
.role-admin .admin-meta-pill-action {
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.role-admin .admin-meta-pill-action:hover {
    filter: brightness(0.97);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.role-admin .admin-meta-pill-action:focus-visible {
    outline: 2px solid #8dbbab;
    outline-offset: 2px;
}

/* Therapist service-capability chips (admin therapist modal) */
.role-admin .admin-therapist-services {
    max-height: 190px;
    overflow-y: auto;
    padding: 0.35rem;
    border: 1px solid #dbdee3;
    border-radius: 0.6rem;
    background: #fbfcfd;
}

.role-admin .admin-service-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.32rem 0.62rem;
    border: 1px solid #cfd6de;
    border-radius: 999px;
    background: #fff;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.role-admin .admin-service-chip:hover {
    border-color: #8dbbab;
}

.role-admin .admin-service-chip:has(input:checked) {
    background: #e6f1ed;
    border-color: #8dbbab;
    color: #24433a;
    font-weight: 600;
}

.role-admin .admin-service-chip input {
    margin: 0;
    accent-color: #4f7a65;
}

/* Today's Schedule card on the admin Overview */
.role-admin .admin-today-row {
    padding: 0.6rem 0.85rem;
}

.role-admin .admin-today-time {
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 3.1rem;
    color: #2f5d4f;
    letter-spacing: 0.01em;
}

.badge-cancelled {
    text-decoration: line-through;
}

.role-admin .is-cancelled-text,
.role-therapist .is-cancelled-text {
    color: #858b93;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.role-admin .is-cancelled-text .badge,
.role-admin .is-cancelled-text .btn,
.role-therapist .is-cancelled-text .badge,
.role-therapist .is-cancelled-text .btn {
    text-decoration: none;
}

.role-admin tr.is-cancelled-row td:not(:last-child),
.role-therapist tr.is-cancelled-row td:not(:last-child) {
    color: #858b93;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.role-admin tr.is-cancelled-row td .badge,
.role-admin tr.is-cancelled-row td .btn,
.role-therapist tr.is-cancelled-row td .badge,
.role-therapist tr.is-cancelled-row td .btn {
    text-decoration: none;
}

.role-admin .hero-card,
.role-admin .panel-card,
.role-admin .table-responsive {
    border-radius: 12px;
    border: 1px solid var(--admin-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    background: var(--admin-surface);
    background-image: none;
}

.role-admin .hero-card {
    padding: 1rem;
}

.role-admin .panel-card {
    padding: 0.78rem;
}

.role-admin .section-title {
    font-size: 1.04rem;
    font-weight: 700;
    color: #222529;
}

.role-admin .stat-card {
    border: 1px solid var(--admin-border);
    background: var(--admin-surface);
    background-image: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.role-admin .stat-value {
    font-size: clamp(1.35rem, 1.05rem + 0.7vw, 1.8rem);
    color: var(--admin-text);
}

/* Metric tiles read as flat Shopify cards with a green value accent */
.role-admin .stat-card.admin .stat-value,
.role-admin .summary-highlight .stat-value {
    color: var(--admin-accent);
}

.role-admin .table-responsive {
    overflow: auto;
}

.role-admin .table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f6f6f7;
    border-bottom-color: var(--admin-border);
    color: var(--admin-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
}

.role-admin .table tbody tr {
    transition: background 0.12s ease;
}

.role-admin .table tbody tr:hover {
    background: var(--admin-accent-soft);
}

.role-admin .table tbody td {
    border-color: #edeef0;
    padding-top: 0.66rem;
    padding-bottom: 0.66rem;
    vertical-align: middle;
}

/* Green links / view buttons inside admin index tables */
.role-admin .table a:not(.btn) {
    color: var(--admin-accent);
}

.role-admin .btn {
    border-radius: 9px;
    font-weight: 600;
}

.role-admin .btn-luxury {
    background: var(--admin-accent);
    border-color: var(--admin-accent);
    color: #fff;
}

.role-admin .btn-luxury:hover {
    background: var(--admin-accent-strong);
    border-color: var(--admin-accent-strong);
    color: #fff;
}

.role-admin .btn-outline-secondary,
.role-admin .btn-outline-dark {
    background: var(--admin-surface);
    border-color: var(--admin-border-strong);
    color: #353a40;
}

.role-admin .btn-outline-secondary:hover,
.role-admin .btn-outline-dark:hover {
    background: #f4f6f8;
    border-color: #bfc5cc;
    color: #202327;
}

.role-admin .pill {
    background: #f3f4f6;
    border-color: #dfe2e6;
    color: #5a6066;
}

@media (max-width: 991px) {
    .role-admin .dashboard-shell,
    .role-therapist .dashboard-shell {
        padding: 0.7rem 0.6rem 1rem;
        gap: 0.65rem;
        grid-template-columns: 1fr;
    }

    .role-admin .dashboard-sidebar,
    .role-therapist .dashboard-sidebar {
        top: auto;
        border-radius: 0.9rem;
        padding: 0.72rem;
    }

    .role-admin .sidebar-link,
    .role-therapist .sidebar-link {
        font-size: 0.84rem;
        padding: 0.44rem 0.64rem;
    }

    .role-admin .admin-toolbar-row {
        flex-direction: column;
        align-items: stretch;
    }

    .role-admin .dashboard-sidebar {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .role-admin .admin-toolbar-meta {
        justify-content: flex-start;
    }

    /* Keep mobile sidebar behavior stable even with role-specific link styles below */
    .role-admin .dashboard-sidebar .sidebar-mobile-toggle,
    .role-therapist .dashboard-sidebar .sidebar-mobile-toggle {
        display: flex !important;
    }

    .role-admin .dashboard-sidebar .sidebar-link,
    .role-therapist .dashboard-sidebar .sidebar-link {
        display: none;
    }

    .role-admin .dashboard-sidebar.mobile-menu-open .sidebar-link,
    .role-therapist .dashboard-sidebar.mobile-menu-open .sidebar-link {
        display: flex;
    }
}

/* ── Inline member sign-in (booking Step 6) ─────────────────────── */
.member-signin {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(141, 187, 171, 0.4);
    border-radius: 0.8rem;
    background: rgba(238, 247, 244, 0.7);
}

.member-signin[hidden] {
    display: none;
}

.member-signin-prompt {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.member-signin-lead {
    font-weight: 700;
    color: #2f5a4c;
}

.member-signin-hint {
    color: #6b8378;
    font-size: 0.85rem;
}

.member-signin-toggle,
.member-signin-cancel {
    background: none;
    border: none;
    padding: 0;
    font-weight: 700;
    color: #33594c;
    text-decoration: underline;
    cursor: pointer;
}

.member-signin-cancel {
    color: #8a9c94;
    font-weight: 600;
    font-size: 0.85rem;
}

.member-signin-toggle:hover {
    color: #1e4338;
}

.member-signin-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.member-signin-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.member-signin-result {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    min-height: 0;
}

@media (max-width: 575px) {
    .member-signin-fields {
        grid-template-columns: 1fr;
    }
}

/* "Use my saved address" chip — offered to members under the address field
   instead of silently auto-filling, so they see + choose their saved address. */
.saved-address-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-top: 0.55rem;
    padding: 0.42rem 0.85rem;
    border: 1px dashed rgba(141, 187, 171, 0.6);
    border-radius: 999px;
    background: rgba(238, 247, 244, 0.7);
    color: #2f5a4c;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.saved-address-chip:hover,
.saved-address-chip:focus-visible {
    background: #e6f1ed;
    border-color: #8dbbab;
    border-style: solid;
    outline: none;
}

.saved-address-chip-text {
    margin-left: 0.15rem;
    color: #6b8378;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Member (customer) dashboard — polished sage workspace ───────────
   Mirrors the admin/therapist minimal-workspace chrome, tuned to sit on
   the public sage body background (body.role-customer). Self-contained so
   it can't regress the back-office roles. */
.role-customer {
    --cust-surface: #ffffff;
    --cust-border: #d7e7e0;
    --cust-text: #22453a;
    --cust-muted: #5b7b70;
    --cust-accent: #33594c;
    --cust-accent-soft: #eef7f4;
}

/* Match the admin/therapist workspace typography (Inter, not the luxury
   Marcellus serif that headings + .stat-value default to). Scoped to the
   dashboard only so public pages a logged-in customer visits keep the brand
   font. */
.role-customer .dashboard-shell h1,
.role-customer .dashboard-shell h2,
.role-customer .dashboard-shell h3,
.role-customer .dashboard-shell h4,
.role-customer .dashboard-shell h5,
.role-customer .dashboard-shell h6,
.role-customer .section-title,
.role-customer .stat-value {
    font-family: 'Inter', 'Mulish', sans-serif;
    letter-spacing: 0;
}

.role-customer .dashboard-shell {
    gap: 1.2rem;
}

.role-customer .dashboard-sidebar {
    background: var(--cust-surface);
    border: 1px solid var(--cust-border);
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(20, 55, 43, 0.14);
    padding: 1rem 0.85rem;
}

.role-customer .sidebar-head {
    margin: 0 0.35rem 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0efe8;
}

.role-customer .sidebar-head .pill {
    background: var(--cust-accent-soft);
    color: var(--cust-accent);
    border: 1px solid #cfe1da;
    font-size: 0.69rem;
    font-weight: 700;
}

.role-customer .sidebar-head h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cust-text);
}

.role-customer .sidebar-link {
    position: relative;
    overflow: hidden;
    margin: 0 0.35rem 0.42rem;
    border: 1px solid #dbeae3;
    border-radius: 0.8rem;
    padding: 0.64rem 0.88rem 0.64rem 1rem;
    color: #33594c;
    font-weight: 650;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.role-customer .sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 62%;
    transform: translateY(-50%) scaleY(0.25);
    transform-origin: center;
    border-radius: 999px;
    background: var(--cust-accent);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.role-customer .sidebar-link:hover {
    background: var(--cust-accent-soft);
    border-color: #b7d4c9;
    color: var(--cust-accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(141, 187, 171, 0.2);
}

.role-customer .sidebar-link.active {
    background: #e6f1ed;
    border-color: #9ec8b9;
    box-shadow: inset 0 0 0 1px #d2e7df;
    color: var(--cust-accent);
    font-weight: 700;
}

.role-customer .sidebar-link.active::before {
    opacity: 1;
    transform: translateY(-50%) scaleY(1);
}

.role-customer .sidebar-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(141, 187, 171, 0.3);
}

.role-customer .dashboard-content {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.role-customer .hero-card,
.role-customer .panel-card {
    border-radius: 1rem;
    border: 1px solid var(--cust-border);
    background: var(--cust-surface);
    box-shadow: 0 10px 28px rgba(20, 55, 43, 0.1);
}

.role-customer .hero-card {
    padding: 1.25rem;
}

.role-customer .panel-card {
    padding: 0.95rem;
}

.role-customer .section-title {
    color: var(--cust-text);
    font-weight: 700;
}

.role-customer .text-muted {
    color: var(--cust-muted) !important;
}

.role-customer .stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #f3f9f6 100%);
    border: 1px solid #d5e7df;
}

.role-customer .stat-value {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #2f5a4c;
}

.role-customer .table-responsive {
    border-radius: 0.9rem;
    border: 1px solid var(--cust-border);
    background: #fff;
}

.role-customer .table thead th {
    background: #f3f8f6;
    border-bottom-color: #d6e6df;
    color: #486258;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
}

.role-customer .table tbody td {
    border-color: #e5efe9;
    vertical-align: middle;
}

/* ── Customer dashboard empty states (new member / no bookings) ─────── */
.customer-empty .customer-empty-inner {
    padding: 1rem 0 1.35rem;
}
.customer-empty-icon {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.customer-empty-steps {
    display: flex;
    gap: 0.6rem 1.1rem;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid rgba(51, 89, 76, 0.12);
    padding-top: 1rem;
    margin-top: 0.25rem;
}
.customer-empty-step {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5b7b70;
}
.customer-empty-step span {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #eef7f4;
    color: #33594c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.72rem;
    flex-shrink: 0;
}
.customer-bookings-empty {
    padding: 1.75rem 1rem 2rem;
}

/* ── Back-office (admin / therapist) empty states ───────────────────── */
.dash-empty {
    text-align: center;
    padding: 2.25rem 1rem 2.5rem;
}
.dash-empty-icon {
    font-size: 2rem;
    line-height: 1;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}
.dash-empty-title {
    font-weight: 700;
    color: #33594c;
    margin-bottom: 0.15rem;
}
.dash-empty-hint {
    font-size: 0.85rem;
    color: #7a8a83;
    max-width: 30rem;
    margin: 0 auto;
}
/* Empty state that has to live inside a table cell (colspan row). */
td.dash-empty-cell {
    text-align: center;
    padding: 1.9rem 1rem;
    color: #8a938e;
    font-size: 0.9rem;
}

/* ── Booking Page Mobile Responsive ─────────────────────────────── */
@media (max-width: 991px) {
    .booking-summary {
        top: auto;
        margin-top: 2rem;
        position: relative;
    }
    
    .service-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .therapist-pick-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 767px) {
    .booking-hero {
        padding: 1rem 0.75rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .booking-steps {
        padding: 0 0.5rem;
    }
    
    .booking-step {
        gap: 0.2rem;
    }
    
    .booking-step .step-num {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .step-line {
        min-width: 16px;
    }
    
    .hero-card {
        padding: 1.5rem 1.2rem;
    }
    
    .booking-panel .form-control,
    .booking-panel .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .booking-panel .form-label {
        font-size: 0.85rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.6rem;
    }
    
    .area-card-inner {
        padding: 0.8rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .area-icon {
        font-size: 1.1rem;
    }
    
    .therapist-pick-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.8rem;
    }
    
    .therapist-pick-inner {
        padding: 1rem 0.7rem;
    }
    
    .therapist-pick-inner img {
        width: 64px;
        height: 64px;
    }
    
    .step-footer {
        flex-wrap: wrap;
        padding-top: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .step-footer .btn {
        flex: 1;
        min-width: 140px;
    }
    
    .booking-panel .btn-next-step,
    .booking-panel .btn-prev-step {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   BOOKING PAGE - MODERN MOBILE APP DESIGN (OVERRIDE)
══════════════════════════════════════════════════════════════════════ */

.booking-wizard {
    max-width: 900px;
    margin: 0 auto;
}

/* Modern Progress Bar */
.booking-progress-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 4px;
    background: rgba(36, 67, 58, 0.06);
    overflow: hidden;
}

.booking-progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sage), var(--forest));
    width: 25%;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Progress Pills */
.booking-progress-pills {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 244, 0.95));
    border-bottom: 1px solid rgba(36, 67, 58, 0.08);
    gap: 0.5rem;
    z-index: 49;
    position: relative;
}

.progress-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    text-align: center;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-pill.active {
    opacity: 1;
}

.progress-pill.completed {
    opacity: 0.7;
}

.pill-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(36, 67, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--forest);
    transition: all 0.3s ease;
}

.progress-pill.active .pill-number {
    background: var(--forest);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 70, 56, 0.3);
    transform: scale(1.1);
}

.progress-pill.completed .pill-number {
    background: var(--sage);
    color: var(--forest);
}

.pill-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--forest);
}

/* Step Panels */
.booking-step-panel {
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 40;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.booking-step-panel.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(240, 247, 244, 0.97));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-header h3 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.step-header p {
    font-size: 0.95rem;
    color: rgba(36, 67, 58, 0.7);
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
}

.form-section-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-section-row .flex-1 {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 0.8rem;
    text-transform: capitalize;
}

.form-control-modern {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px solid rgba(36, 67, 58, 0.15);
    border-radius: 1rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--forest);
    transition: all 0.3s ease;
}

.form-control-modern::placeholder {
    color: rgba(36, 67, 58, 0.5);
}

.form-control-modern:focus {
    border-color: var(--forest);
    background: white;
    box-shadow: 0 0 0 3px rgba(40, 70, 56, 0.1);
    outline: none;
}

/* Area Selector */
.area-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.area-option {
    cursor: pointer;
}

.area-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.2rem 1rem;
    border: 2px solid rgba(36, 67, 58, 0.12);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--forest);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(36, 67, 58, 0.05);
}

.area-option input[type="radio"]:checked + .area-badge {
    border-color: var(--forest);
    background: linear-gradient(135deg, rgba(40, 70, 56, 0.1), rgba(141, 187, 171, 0.1));
    box-shadow: 0 6px 20px rgba(40, 70, 56, 0.15);
    transform: translateY(-2px);
}

.area-option:hover .area-badge {
    border-color: var(--sage);
    transform: translateY(-2px);
}

/* Booking - Customise step (music + pain focus) */
.music-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.music-option {
    cursor: pointer;
}

.music-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 0.8rem;
    border: 2px solid rgba(36, 67, 58, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--forest);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(36, 67, 58, 0.05);
}

.music-option input[type="radio"]:checked + .music-chip {
    border-color: var(--forest);
    background: linear-gradient(135deg, rgba(40, 70, 56, 0.1), rgba(141, 187, 171, 0.1));
    box-shadow: 0 6px 20px rgba(40, 70, 56, 0.15);
    transform: translateY(-2px);
}

.music-option:hover .music-chip {
    border-color: var(--sage);
    transform: translateY(-2px);
}

.optional-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sage);
    background: rgba(141, 187, 171, 0.15);
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.review-card {
    max-width: 640px;
    margin: 0 auto;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
}

.review-star {
    background: none;
    border: none;
    padding: 0 0.1rem;
    font-size: 2.4rem;
    line-height: 1;
    color: #d9d2c4;
    cursor: pointer;
    transition: color 0.12s ease, transform 0.12s ease;
}

.review-star:hover {
    transform: scale(1.08);
}

.review-star.active {
    color: #f0b429;
}

.review-public-hero {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.review-public-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-public-stars {
    color: #f0b429;
    font-size: 1.05rem;
    letter-spacing: 2px;
}

.review-public-text {
    margin: 0;
    color: #3c4a44;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.review-public-foot {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-top: 1px solid rgba(36, 67, 58, 0.08);
    padding-top: 0.7rem;
    margin-top: auto;
}

.review-public-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.review-public-name {
    font-weight: 700;
    color: var(--forest);
    font-size: 0.9rem;
}

.review-public-meta {
    font-size: 0.78rem;
    color: rgba(36, 67, 58, 0.6);
}

.customise-hint {
    font-size: 0.8rem;
    color: rgba(36, 67, 58, 0.6);
    margin-bottom: 0.75rem;
}

.pain-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px dashed var(--sage);
    border-radius: 1rem;
    background: rgba(141, 187, 171, 0.08);
    color: var(--forest);
    font-weight: 600;
    transition: all 0.25s ease;
}

.pain-map-btn:hover {
    background: rgba(141, 187, 171, 0.18);
    border-style: solid;
}

.pain-map-frame-holder {
    width: 100%;
    height: 75vh;
}

.pain-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 575px) {
    .music-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .pain-map-frame-holder {
        height: 80vh;
    }
}

/* Service Grid - Modern */
.service-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.service-option {
    cursor: pointer;
}

.service-card-modern {
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(36, 67, 58, 0.12);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.97);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(36, 67, 58, 0.06);
    height: 100%;
}

.service-media {
    position: relative;
}

.service-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(36, 67, 58, 0.08);
}

.service-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, rgba(141, 187, 171, 0.1), rgba(196, 145, 61, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-bottom: 1px solid rgba(36, 67, 58, 0.08);
}

.service-info-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(36, 67, 58, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--forest);
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(36, 67, 58, 0.15);
    transition: all 0.2s ease;
}

.service-info-btn:hover,
.service-info-btn:focus-visible {
    background: var(--forest);
    color: #fff;
    border-color: var(--forest);
    transform: translateY(-1px);
}

.service-detail-modal-content {
    border-radius: 1rem;
    border: 1px solid rgba(36, 67, 58, 0.12);
}

.service-detail-meta {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(36, 67, 58, 0.7);
    margin-bottom: 0.6rem;
}

.service-detail-text {
    font-size: 0.9rem;
    color: rgba(36, 67, 58, 0.9);
    line-height: 1.5;
}

.service-info {
    flex: 1;
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
}

.service-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--forest);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.service-category-chip {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--forest);
    background: rgba(141, 187, 171, 0.18);
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.4rem;
}

.service-subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(36, 67, 58, 0.78);
    margin: 0 0 0.4rem;
    line-height: 1.35;
}

.service-description {
    font-size: 0.75rem;
    color: rgba(36, 67, 58, 0.65);
    line-height: 1.4;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-duration {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(36, 67, 58, 0.6);
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.95rem 0.95rem;
    padding-top: auto;
    border-top: 1px solid rgba(36, 67, 58, 0.06);
    padding-top: 0.7rem;
    margin-top: auto;
}

.service-card-modern.addon .service-category-chip {
    color: #8a6a2d;
    background: rgba(209, 169, 108, 0.18);
}

.service-price {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--gold);
}

.service-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(36, 67, 58, 0.2);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.service-option input[type="checkbox"]:checked ~ .service-card-modern {
    border-color: var(--forest);
    background: linear-gradient(135deg, rgba(40, 70, 56, 0.08), rgba(141, 187, 171, 0.05));
    box-shadow: 0 6px 18px rgba(40, 70, 56, 0.12);
}

.service-option input[type="checkbox"]:checked ~ .service-card-modern .service-checkbox {
    background: var(--forest);
    border-color: var(--forest);
}

.service-option:hover .service-card-modern {
    border-color: var(--sage);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(141, 187, 171, 0.15);
}

.service-option:hover .service-image {
    transform: scale(1.05);
}

.service-card-modern.addon {
    border-color: rgba(209, 169, 108, 0.2);
    background: rgba(252, 248, 242, 0.95);
}

.service-option input[type="checkbox"]:checked ~ .service-card-modern.addon {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(209, 169, 108, 0.1), rgba(196, 145, 61, 0.05));
}

/* Therapist Grid - Modern */
.therapist-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.2rem;
}

.therapist-option {
    cursor: pointer;
}

.therapist-card-modern {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1rem;
    border: 2px solid rgba(36, 67, 58, 0.12);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.97);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(36, 67, 58, 0.06);
}

.therapist-card-modern img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(36, 67, 58, 0.1);
    transition: transform 0.3s ease;
}

.therapist-card-modern h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--forest);
    margin: 0;
}

.therapist-card-modern .therapist-role {
    font-size: 0.75rem;
    color: rgba(36, 67, 58, 0.6);
}

.therapist-option input[type="radio"]:checked ~ .therapist-card-modern {
    border-color: var(--forest);
    background: linear-gradient(135deg, rgba(40, 70, 56, 0.08), rgba(141, 187, 171, 0.05));
    box-shadow: 0 6px 18px rgba(40, 70, 56, 0.12);
}

.therapist-option input[type="radio"]:checked ~ .therapist-card-modern img {
    border-color: var(--forest);
}

.therapist-option:hover .therapist-card-modern {
    border-color: var(--sage);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(141, 187, 171, 0.15);
}

.therapist-option:hover .therapist-card-modern img {
    transform: scale(1.05);
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.payment-option {
    cursor: pointer;
}

.payment-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.2rem;
    border: 2px solid rgba(36, 67, 58, 0.12);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.97);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(36, 67, 58, 0.05);
}

.payment-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--forest);
}

.payment-desc {
    font-size: 0.75rem;
    color: rgba(36, 67, 58, 0.6);
}

.payment-option input[type="radio"]:checked ~ .payment-card {
    border-color: var(--forest);
    background: linear-gradient(135deg, rgba(40, 70, 56, 0.08), rgba(141, 187, 171, 0.05));
    box-shadow: 0 6px 16px rgba(40, 70, 56, 0.12);
}

.payment-option:hover .payment-card {
    border-color: var(--sage);
    transform: translateY(-2px);
}

/* Order Summary */
.order-summary {
    background: linear-gradient(135deg, rgba(141, 187, 171, 0.08), rgba(240, 247, 244, 0.95));
    border: 1.5px solid rgba(36, 67, 58, 0.1);
    border-radius: 1.3rem;
    padding: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.order-summary h5 {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--forest);
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    font-size: 0.85rem;
}

.summary-label {
    color: rgba(36, 67, 58, 0.7);
}

.summary-value {
    font-weight: 700;
    color: var(--forest);
}

.summary-divider {
    height: 1px;
    background: rgba(36, 67, 58, 0.1);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--forest);
    padding-top: 0.5rem;
}

.summary-total strong {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.step-actions .btn {
    flex: 1;
    padding: 0.9rem 1.5rem;
    font-weight: 700;
    border-radius: 1rem;
    font-size: 0.95rem;
    text-transform: capitalize;
    border: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.step-actions .btn-next-step {
    background: linear-gradient(135deg, var(--forest), var(--sage));
    color: white;
}

.step-actions .btn-next-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 70, 56, 0.25);
}

.step-actions .btn-secondary {
    background: rgba(36, 67, 58, 0.1);
    color: var(--forest);
    border: 1px solid rgba(36, 67, 58, 0.2);
}

.step-actions .btn-secondary:hover {
    background: rgba(36, 67, 58, 0.15);
    transform: translateY(-2px);
}

.step-actions .btn-primary {
    background: linear-gradient(135deg, var(--forest), #1a3329);
    border-color: var(--forest);
    color: #fff;
}

.step-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1a3329, var(--forest));
    border-color: #1a3329;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 67, 58, 0.35);
}

/* On tap-to-advance steps (Type, Treatment, Area, Therapist) Back is the only
   button — keep it compact & left-aligned so it doesn't read like a primary CTA. */
.step-actions:has(.btn-prev-step:only-child) {
    margin-top: 1.75rem;
    justify-content: flex-start;
}

.step-actions .btn-prev-step:only-child {
    flex: 0 0 auto;
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
    box-shadow: none;
}

.step-actions .btn-prev-step:only-child::before {
    content: '‹ ';
    font-weight: 800;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .booking-progress-pills {
        padding: 1rem 0.75rem;
        gap: 0.3rem;
    }
    
    .progress-pill {
        gap: 0.3rem;
    }
    
    .pill-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .pill-label {
        font-size: 0.6rem;
    }
    
    .step-content {
        padding: 1.5rem 1rem;
    }
    
    .step-header {
        margin-bottom: 2rem;
    }
    
    .step-header h3 {
        font-size: 1.3rem;
    }
    
    .form-section {
        margin-bottom: 1.5rem;
    }
    
    .form-section-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .area-selector {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 0.8rem;
    }
    
    .area-badge {
        padding: 1rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .service-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-image {
        height: 120px;
    }

    .service-info-btn {
        width: 22px;
        height: 22px;
        font-size: 0.72rem;
    }
    
    .therapist-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 1rem;
    }
    
    .therapist-card-modern img {
        width: 70px;
        height: 70px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .step-actions {
        gap: 0.8rem;
    }
    
    .step-actions .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* ── Admin File Manager ─────────────────────────────────────────────── */
.admin-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.admin-file-card {
    background: var(--panel-card-bg, #fff);
    border: 1px solid var(--border-subtle, rgba(0,0,0,.08));
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.admin-file-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.admin-file-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-muted, #f4f4f0);
    flex-shrink: 0;
}

.admin-file-meta {
    padding: 0.6rem 0.75rem 0.4rem;
    flex: 1;
    min-width: 0;
}

.admin-file-name {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-file-actions {
    padding: 0.5rem 0.75rem 0.75rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.admin-file-actions .btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    flex: 1 1 auto;
}

@media (max-width: 767px) {
    #admin-audit .admin-audit-table th:nth-child(2),
    #admin-audit .admin-audit-table th:nth-child(3),
    #admin-audit .admin-audit-table th:nth-child(4),
    #admin-audit .admin-audit-table td:nth-child(2),
    #admin-audit .admin-audit-table td:nth-child(3),
    #admin-audit .admin-audit-table td:nth-child(4) {
        display: none;
    }

    #admin-audit .admin-audit-table th:last-child,
    #admin-audit .admin-audit-table td:last-child {
        width: 1%;
        white-space: nowrap;
        text-align: right;
    }
}

/* ============================================================
   Public pages palette — sage family matching homepage
   Scoped to guest + customer roles only; admin & therapist
   keep the neutral back-office theme. The homepage's own
   solid #8DBBAB rule below wins by source order.
   ============================================================ */
body.role-guest,
body.role-customer {
    background: #8DBBAB;
}

body.role-guest .navbar-luxury,
body.role-customer .navbar-luxury,
body.role-therapist .navbar-luxury,
body.role-admin .navbar-luxury {
    background: #8DBBAB;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
    font-family: 'Mulish', sans-serif;
}

body.role-guest .navbar-brand,
body.role-customer .navbar-brand,
body.role-therapist .navbar-brand,
body.role-admin .navbar-brand {
    color: #ffffff;
    font-family: 'Marcellus', serif;
}

body.role-guest .navbar-brand .nav-logo-img,
body.role-customer .navbar-brand .nav-logo-img,
body.role-therapist .navbar-brand .nav-logo-img,
body.role-admin .navbar-brand .nav-logo-img {
    filter: brightness(0) invert(1);
}

/* Navbar links: one consistent white treatment across every role on the sage
   bar. Supersedes the earlier per-role colours (admin brown / therapist blue /
   guest-customer dark green) and their divergent styling (admin uppercase,
   therapist pill) so the top nav reads identically no matter who's signed in. */
body.role-guest .nav-link,
body.role-customer .nav-link,
body.role-therapist .nav-link,
body.role-admin .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: none;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    transition: background-color 0.18s ease, color 0.18s ease;
}

body.role-guest .nav-link:hover,
body.role-customer .nav-link:hover,
body.role-therapist .nav-link:hover,
body.role-admin .nav-link:hover,
body.role-guest .nav-link.active,
body.role-customer .nav-link.active,
body.role-therapist .nav-link.active,
body.role-admin .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-bottom-color: transparent;
}

body.role-guest .btn-book,
body.role-customer .btn-book,
body.role-therapist .btn-book,
body.role-admin .btn-book {
    background: #ffffff;
    color: #2a5a4a;
    border-color: #ffffff;
}

body.role-guest .btn-book:hover,
body.role-guest .btn-book:focus-visible,
body.role-customer .btn-book:hover,
body.role-customer .btn-book:focus-visible,
body.role-therapist .btn-book:hover,
body.role-therapist .btn-book:focus-visible,
body.role-admin .btn-book:hover,
body.role-admin .btn-book:focus-visible {
    background: #f4faf8;
    color: #1f4536;
    border-color: #f4faf8;
}

/* Logout button: the one interactive nav element shown for signed-in roles.
   Default/admin styling left it a dim grey pill that reads poorly on the sage
   bar and differed between admin (custom grey) and other roles. Unify it to a
   translucent white outline that sits with the white brand + BOOK button for
   every role. #id beats the role-scoped .btn-outline-secondary override. */
body.role-guest #navLogout,
body.role-customer #navLogout,
body.role-therapist #navLogout,
body.role-admin #navLogout {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

body.role-guest #navLogout:hover,
body.role-guest #navLogout:focus-visible,
body.role-customer #navLogout:hover,
body.role-customer #navLogout:focus-visible,
body.role-therapist #navLogout:hover,
body.role-therapist #navLogout:focus-visible,
body.role-admin #navLogout:hover,
body.role-admin #navLogout:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: #ffffff;
}

/* ============================================================
   Home Screen — layered Figma composition (#8DBBAB)
   ============================================================ */
.home-screen {
    --home-bg: #8DBBAB;
    --home-ink: #4F7A65;
    --home-deep: #3F6A55;
    --home-chrome: 130px;
    background: var(--home-bg);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    min-height: calc(100vh - var(--home-chrome));
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.home-stage {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    min-height: calc(100vh - var(--home-chrome));
    padding: clamp(0.75rem, 2.5vh, 2rem) clamp(0.75rem, 2.5vw, 2rem) clamp(5.5rem, 14vh, 9rem);
    isolation: isolate;
}

.home-wordmark {
    margin: 0;
    text-align: center;
    line-height: 0.86;
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: clamp(1.5px, 0.22vw, 3px) #ffffff;
    user-select: none;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.home-word {
    display: block;
}

.home-word-top {
    font-size: clamp(5rem, 24vw, 22rem);
    letter-spacing: 0.02em;
}

.home-word-bottom {
    font-size: clamp(2.4rem, 11.5vw, 11rem);
    letter-spacing: 0.12em;
    margin-top: -0.05em;
}

.home-wordmark-img {
    display: block;
    width: clamp(260px, 70vw, 880px);
    height: auto;
    /* Reserve the exact box before the PNG loads (intrinsic 5155x1967) so the
       wordmark doesn't pop in and shift the stage — kills the home-page CLS. */
    aspect-ratio: 5155 / 1967;
    margin: 0 auto;
    -webkit-user-drag: none;
}

.home-face {
    position: absolute;
    top: clamp(-4%, -7vh, -10%);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(420px, 72vw, 1040px);
    height: auto;
    /* Intrinsic 1684x1506 — absolute so it can't shift layout, but reserving the
       ratio avoids a mid-load resize flash. */
    aspect-ratio: 1684 / 1506;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.home-book-btn {
    position: absolute;
    bottom: clamp(1.5rem, 5vh, 3.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--home-ink);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    padding: 1rem clamp(2.5rem, 6vw, 3.5rem);
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 16px 32px rgba(30, 60, 50, 0.25);
    z-index: 3;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-book-btn:hover,
.home-book-btn:focus-visible {
    background: var(--home-deep);
    color: #ffffff;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 22px 42px rgba(30, 60, 50, 0.32);
    text-decoration: none;
    outline: none;
}

@media (max-width: 768px) {
    .home-face {
        width: 150vw;
        max-width: none;
        top: clamp(3%, 5vh, 8%);
    }
}

@media (max-width: 640px) {
    .home-face {
        width: 165vw;
    }
}

@media (max-width: 420px) {
    .home-face {
        width: 230vw;
    }
}

/* On the home route: let the header float over #8DBBAB and hide decorative chrome */
body:has(.home-screen) {
    background: #8DBBAB;
    overflow-y: auto;
}

html:has(.home-screen) {
    scrollbar-gutter: auto;
}

body:has(.home-screen) .navbar-luxury {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
}

body:has(.home-screen) .header-note,
body:has(.home-screen) [data-nav="contact"] {
    display: none !important;
}

body:has(.home-screen) .navbar-brand {
    color: #ffffff;
}

body:has(.home-screen) .navbar-brand .nav-logo-img {
    filter: brightness(0) invert(1);
}

body:has(.home-screen) .btn-book {
    background: #ffffff;
    color: #2a5a4a;
    border-color: #ffffff;
}

body:has(.home-screen) .btn-book:hover,
body:has(.home-screen) .btn-book:focus-visible {
    background: #f4faf8;
    color: #1f4536;
    border-color: #f4faf8;
}

body:has(.home-screen) main#spa-view {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================================================
   Booking page — match the homepage navbar treatment so the
   top bar feels continuous between landing and booking flow.
   Solid #8DBBAB body lets the transparent navbar read like home.
   ============================================================ */
body:has(.booking-wizard) {
    background: #8DBBAB;
}

body:has(.booking-wizard) .navbar-luxury {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
}

body:has(.booking-wizard) .header-note,
body:has(.booking-wizard) [data-nav="contact"] {
    display: none !important;
}

body:has(.booking-wizard) .navbar-brand {
    color: #ffffff;
}

body:has(.booking-wizard) .navbar-brand .nav-logo-img {
    filter: brightness(0) invert(1);
}

body:has(.booking-wizard) .btn-book {
    background: #ffffff;
    color: #2a5a4a;
    border-color: #ffffff;
}

body:has(.booking-wizard) .btn-book:hover,
body:has(.booking-wizard) .btn-book:focus-visible {
    background: #f4faf8;
    color: #1f4536;
    border-color: #f4faf8;
}

/* ============================================================
   Inline Footer — blends with homepage, slim band on other pages
   ============================================================ */
.footer-inline {
    background: #8DBBAB;
    padding: 1.1rem 1rem;
    text-align: center;
    margin-top: auto;
}

.footer-inline-row {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 0.9rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.footer-inline-brand {
    font-family: 'Marcellus', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.footer-inline-sep {
    opacity: 0.6;
}

.footer-inline-row a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-inline-row a:hover,
.footer-inline-row a:focus-visible {
    opacity: 0.78;
    text-decoration: none;
    outline: none;
}

/* ============================================================
   Pain Map helper card — shown on booking confirmation modal
   Soft sage-tinted block with teal CTA matching the external
   "Tell me where it hurts" brand color.
   ============================================================ */
.pain-map-card {
    margin-top: 0.5rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(141, 187, 171, 0.14), rgba(78, 205, 196, 0.08));
    border: 1px solid rgba(78, 205, 196, 0.28);
    border-radius: 0.9rem;
    text-align: left;
}

.pain-map-card-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--forest);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.pain-map-card-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.pain-map-card-text {
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(36, 67, 58, 0.78);
    margin: 0 0 0.75rem;
}

.pain-map-card-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    background-color: #4ECDC4;
    color: #1A202C;
    text-decoration: none;
    border-radius: 0.55rem;
    font-family: 'Inter', 'Mulish', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-map-card-btn:hover,
.pain-map-card-btn:focus-visible {
    background-color: #3fb8af;
    color: #1A202C;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(78, 205, 196, 0.32);
    text-decoration: none;
    outline: none;
}

/* ── Therapist Working Hours editor ───────────────────────────────── */
.schedule-grid {
    display: grid;
    gap: 0.5rem;
}
.schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid #dbeae3;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.9);
}
.schedule-row.is-off {
    background: #f6f7f8;
    border-color: #e3e6e9;
}
.schedule-day {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    min-width: 8.5rem;
    cursor: pointer;
    font-weight: 650;
    color: #33594c;
}
.schedule-row.is-off .schedule-day-name {
    color: #8a938e;
}
.schedule-day input {
    accent-color: #4f7a65;
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}
.schedule-times {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.schedule-times input[type="time"] {
    width: auto;
    min-width: 6.2rem;
}
.schedule-dash {
    color: #8a938e;
}
.schedule-off-label {
    display: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8a938e;
}
.schedule-row.is-off .schedule-times input,
.schedule-row.is-off .schedule-dash {
    display: none;
}
.schedule-row.is-off .schedule-off-label {
    display: inline;
}
.schedule-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}
@media (max-width: 575px) {
    .schedule-row {
        justify-content: flex-start;
    }
    .schedule-day {
        min-width: 7rem;
    }
}

/* ── Weekly Working Hours — tap-off grid (recurring template) ─────────
   Green = available, red = off. Desktop shows the full 7-day grid; phones
   show a Mon–Sun day switcher + big block toggles (large tap targets for
   non-technical therapists). */
.wh-legend {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.wh-legend-hint {
    margin-left: auto;
    font-style: italic;
}
.wh-swatch {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 3px;
    vertical-align: -2px;
    margin-right: 4px;
}
.wh-swatch-on { background: #e7f1ec; border: 1px solid #9ecdba; }
.wh-swatch-off { background: #f8d7da; border: 1px solid #e79aa2; }

/* Desktop grid (hidden on phones) */
.wh-grid {
    display: none;
    gap: 5px;
}
@media (min-width: 768px) {
    .wh-grid { display: grid; }
    .wh-mobile { display: none; }
}
.wh-grid-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wh-grid-dayhead {
    flex-direction: column;
    gap: 1px;
    padding: 0.35rem 0.2rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: #33594c;
    border-radius: 0.5rem;
}
.wh-grid-dayhead small { font-weight: 600; font-size: 0.64rem; color: #8a9c94; }
.wh-grid-dayhead.is-today { background: #eef7f4; color: #24433a; }
.wh-grid-dayhead.is-today small { color: #4f7a65; }
.wh-grid-time {
    justify-content: flex-end;
    padding-right: 0.5rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #5b7b70;
    white-space: nowrap;
}
.wh-cell {
    border: 1px solid #9ecdba;
    background: #e7f1ec;
    color: #235c48;
    border-radius: 0.5rem;
    min-height: 42px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: filter 0.12s ease, transform 0.08s ease;
}
.wh-cell:hover { filter: brightness(0.96); }
.wh-cell:active { transform: scale(0.96); }
.wh-cell.is-off {
    background: #f8d7da;
    border-color: #e79aa2;
    color: #9b2f39;
}
.wh-cell:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(141, 187, 171, 0.4);
}

/* Mobile: day switcher + big block toggles */
.wh-pills {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 0.8rem;
}
.wh-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 0.45rem 0.1rem;
    border: 1px solid #dbeae3;
    border-radius: 0.6rem;
    background: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    color: #33594c;
    cursor: pointer;
}
.wh-pill small { font-weight: 600; font-size: 0.66rem; color: #8a9c94; }
.wh-pill.is-active {
    background: #33594c;
    border-color: #33594c;
    color: #fff;
}
.wh-pill.is-active small { color: rgba(255, 255, 255, 0.82); }
.wh-mobrows {
    display: grid;
    gap: 0.5rem;
}
.wh-mobrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.1rem;
    border: 1.5px solid #9ecdba;
    border-radius: 0.8rem;
    background: #e7f1ec;
    color: #235c48;
    cursor: pointer;
}
.wh-mobrow.is-off {
    background: #f8d7da;
    border-color: #e79aa2;
    color: #9b2f39;
}
.wh-mobrow-time { font-size: 1.02rem; font-weight: 700; }
.wh-mobrow-state { font-size: 0.92rem; font-weight: 800; }
.wh-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

/* ── Therapist Days Off calendar ──────────────────────────────────── */
.dayoff-calendar { max-width: 380px; }
.dayoff-weekdays,
.dayoff-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.dayoff-weekdays { margin-bottom: 4px; }
.dayoff-weekday {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: #9a9a9a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.dayoff-cell {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.dayoff-cell:hover:not(.is-disabled):not(.is-empty) {
    border-color: var(--forest, #28453a);
    transform: translateY(-1px);
}
.dayoff-cell.is-empty { border: none; background: transparent; cursor: default; }
.dayoff-cell.is-disabled { color: #c6c6c6; background: #f6f6f6; cursor: not-allowed; }
.dayoff-cell.is-today { font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--forest, #28453a); }
.dayoff-cell.is-selected {
    background: var(--forest, #28453a);
    color: #fff;
    border-color: var(--forest, #28453a);
    font-weight: 700;
}
.dayoff-cell.is-off {
    background: #f8d7da;
    color: #842029;
    border-color: #f1aeb5;
    font-weight: 600;
}
.dayoff-cell.is-off::after {
    content: '\00d7';
    position: absolute;
    top: 1px;
    right: 5px;
    font-size: 0.68rem;
    line-height: 1;
}
.dayoff-cell.has-booking:not(.is-off):not(.is-special)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f0a020;
}
/* Special-hours date: available only within a window that day (green). */
.dayoff-cell.is-special {
    flex-direction: column;
    gap: 1px;
    background: #e7f1ec;
    color: #235c48;
    border-color: #9ecdba;
    font-weight: 700;
}
/* Blocked-window date: available except within a window that day (amber). */
.dayoff-cell.is-blockwindow {
    flex-direction: column;
    gap: 1px;
    background: #fbeedd;
    color: #8a5a1a;
    border-color: #e6c088;
    font-weight: 700;
}
.dayoff-cell.is-blockwindow .dayoff-hours {
    color: #a8681a;
}
.dayoff-cell .dayoff-num {
    line-height: 1;
}
.dayoff-cell .dayoff-hours {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #2f7d5f;
}
.dayoff-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin-right: 3px;
}
.dayoff-swatch-off { background: #f8d7da; border: 1px solid #f1aeb5; border-radius: 3px; }
.dayoff-swatch-special { background: #cfe7dc; border: 1px solid #9ecdba; border-radius: 3px; }
.dayoff-swatch-block { background: #f6dcb4; border: 1px solid #e6c088; border-radius: 3px; }
.dayoff-swatch-booking { background: #f0a020; border-radius: 50%; }

/* Availability modal — bookable time chips (green = free, greyed = taken/off) */
.avail-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.1rem 0;
}
.avail-slots-empty { width: 100%; }
.avail-slot {
    border: 1px solid #9ecdba;
    background: #e7f1ec;
    color: #235c48;
    border-radius: 0.55rem;
    padding: 0.42rem 0.72rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.12s ease, transform 0.08s ease;
}
.avail-slot:hover { filter: brightness(0.96); }
.avail-slot:active { transform: scale(0.96); }
.avail-slot.is-selected {
    background: var(--forest, #24433a);
    border-color: var(--forest, #24433a);
    color: #fff;
}
.avail-slot.is-taken {
    background: #f1f2f4;
    border-color: #e4e6e9;
    color: #adb2b8;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* "What about this day?" popup — big, plain choices for easy tapping. */
.day-exc-current {
    color: #5b7b70;
}
.day-exc-choices {
    display: grid;
    gap: 0.6rem;
}
.day-exc-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    text-align: left;
    padding: 0.9rem 1rem;
    border: 1.5px solid #cfe1da;
    border-radius: 0.9rem;
    background: #f6fbf9;
    color: #24433a;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.day-exc-btn:hover,
.day-exc-btn:focus-visible {
    background: #e6f1ed;
    border-color: #8dbbab;
    transform: translateY(-1px);
    outline: none;
}
.day-exc-ico {
    font-size: 1.25rem;
    line-height: 1;
}
.day-exc-time-row {
    display: flex;
    gap: 0.75rem;
}
.day-exc-time-row label {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 700;
    color: #33594c;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.day-exc-time-row input[type="time"] {
    padding: 0.55rem 0.6rem;
    border: 1.5px solid #cfe1da;
    border-radius: 0.6rem;
    font-size: 1rem;
}

/* ── Auth page (single centered card, Login/Register toggle) ───────────── */
.auth-shell {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid rgba(36, 67, 58, 0.08);
    border-radius: 22px;
    box-shadow: 0 22px 60px -28px rgba(36, 67, 58, 0.45);
    padding: 2.25rem 2rem 2rem;
}

.auth-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.auth-logo-text {
    display: inline-block;
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.auth-title {
    font-size: 1.4rem;
    margin: 0.25rem 0 0.35rem;
    color: var(--forest);
}

.auth-subtitle {
    font-size: 0.9rem;
    color: #6d7c76;
    margin: 0;
}

/* Segmented toggle */
.auth-toggle {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eef3f0;
    border-radius: 999px;
    padding: 5px;
    margin-bottom: 1.5rem;
}

.auth-toggle-indicator {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 16px -8px rgba(36, 67, 58, 0.5);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-card[data-mode="register"] .auth-toggle-indicator {
    transform: translateX(100%);
}

.auth-toggle-btn {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6d7c76;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-toggle-btn.active {
    color: var(--forest);
}

/* Forms — cross-fade the active one in place */
.auth-panels {
    position: relative;
}

.auth-form {
    display: none;
    animation: authFadeIn 0.25s ease;
}

.auth-form.active {
    display: block;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-field {
    margin-bottom: 1rem;
}

.auth-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #6d7c76;
    margin-bottom: 0.35rem;
}

.auth-submit {
    margin-top: 0.25rem;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
}

.auth-switch-hint {
    text-align: center;
    font-size: 0.86rem;
    color: #6d7c76;
    margin: 1.1rem 0 0;
}

.auth-link {
    border: 0;
    background: transparent;
    padding: 0;
    font-weight: 700;
    color: var(--sage);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-link:hover {
    color: var(--forest);
}

/* "Forgot password?" link — right-aligned under the login password field. */
.auth-forgot-row {
    text-align: right;
    margin: -0.35rem 0 0.9rem;
}
.auth-forgot-row .auth-link {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Account claiming (send set-password link) block on the auth card. */
.auth-claim {
    margin-top: 0.4rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(109, 124, 118, 0.28);
    text-align: center;
}
.auth-claim-hint {
    font-size: 0.84rem;
    color: #6d7c76;
    margin: 0;
}
.auth-claim-lead {
    font-size: 0.8rem;
    color: #6d7c76;
    margin: 0.7rem 0 0.5rem;
}
.auth-claim-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}
.auth-claim-row .form-control-modern {
    flex: 1;
    min-width: 0;
}
.auth-claim-row .btn {
    white-space: nowrap;
    flex-shrink: 0;
}
.auth-claim-result {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    min-height: 1em;
}

@media (max-width: 480px) {
    .auth-claim-row {
        flex-direction: column;
    }
    .auth-card {
        padding: 1.75rem 1.35rem 1.5rem;
        border-radius: 18px;
    }
    .auth-shell {
        min-height: calc(100vh - 180px);
        padding: 0.5rem 0;
    }
}
