/* ============================================================
   site.css  â€”  Xervs global design system
   Place at: wwwroot/css/site.css
   ============================================================ */

/* â”€â”€ Bootstrap default overrides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    /* Prevent iOS from auto-scaling fonts on orientation change */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
}

    body:not(.xv-body) {
        margin-bottom: 60px;
    }

        body:not(.xv-body) .btn:focus,
        body:not(.xv-body) .btn:active:focus,
        body:not(.xv-body) .btn-link.nav-link:focus,
        body:not(.xv-body) .form-control:focus,
        body:not(.xv-body) .form-check-input:focus {
            box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
        }

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* â”€â”€ font-display: swap for Bootstrap Icons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   The CDN stylesheet doesn't set font-display, causing invisible
   text (180ms Lighthouse penalty). This @font-face with the same
   family name + src overrides just the font-display property.    */
@font-face {
    font-family: "bootstrap-icons";
    src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/fonts/bootstrap-icons.woff2?e34e399a4a9f478d5076e7bd2b5513d4") format("woff2"), url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/fonts/bootstrap-icons.woff?e34e399a4a9f478d5076e7bd2b5513d4") format("woff");
    font-display: swap;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   XERVS â€” GLOBAL DESIGN SYSTEM
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

:root {
    --navy: #0f172a;
    --navy-hover: #1e293b;
    --green: #166534;
    --green-dark: #14532d;
    --g-bg: rgba(255, 255, 255, 0.82);
    --g-border: rgba(180, 200, 230, 0.55);
    --g-blur: blur(18px) saturate(1.45);
    --g-shadow: 0 6px 28px rgba(80, 100, 160, 0.14), 0 1px 6px rgba(0, 0, 0, 0.07);
    --g-shadow-h: 0 14px 44px rgba(80, 100, 160, 0.22), 0 3px 12px rgba(0, 0, 0, 0.09);
    --sidebar-width: clamp(70px, 18%, 320px);
    --tap-target: 44px;
}

/* â”€â”€ Body / HTML base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html,
body {
    background-color: #f0f4f8 !important;
    background-image: none !important;
    background-attachment: unset !important;
    color: #1e293b;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

    html::before,
    html::after,
    body::before,
    body::after {
        display: none !important;
        content: none !important;
        background: none !important;
    }

/* â”€â”€ Remove 300ms tap delay on all interactive elements â”€â”€â”€â”€â”€ */
a,
button,
input,
select,
textarea,
label,
[role="button"],
[tabindex] {
    touch-action: manipulation;
}

/* â”€â”€ Mobile: minimum 44Ã—44px tap targets â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
    .btn,
    button,
    [role="button"] {
        min-height: var(--tap-target);
        min-width: var(--tap-target);
    }

    .btn-group .btn-sm {
        min-height: 36px;
        min-width: 36px;
        padding: 6px 10px;
    }

    .nav-link {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    body {
        font-size: 0.9375rem;
    }

    .card {
        border-radius: 12px !important;
    }
}

/* â”€â”€ Images: explicit dimensions prevent CLS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

    .product-img,
    .service-img,
    img[class*="card-img"],
    .card-img-top {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        background-color: #e2e8f0;
    }

/* â”€â”€ Transparent layout wrappers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.main-content,
.container-fluid,
.container {
    background-color: transparent !important;
    background-image: none !important;
}

/* â”€â”€ Sticky Navbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar,
nav.navbar {
    background-color: rgba(255, 255, 255, 0.88) !important;
    background-image: none !important;
    backdrop-filter: blur(20px) saturate(1.6) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.6) !important;
    border-bottom: 1px solid rgba(180, 200, 230, 0.45) !important;
    box-shadow: 0 2px 14px rgba(80, 100, 160, 0.09) !important;
    position: sticky;
    top: 0;
    z-index: 1030;
}

    .navbar .navbar-brand,
    .navbar .nav-link,
    .navbar-text {
        color: #1e293b !important;
    }

        .navbar .nav-link:hover {
            color: var(--navy) !important;
        }

/* â”€â”€ Sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar {
    background-color: rgba(255, 255, 255, 0.85) !important;
    background-image: none !important;
    backdrop-filter: blur(20px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
    border-right: 1px solid rgba(180, 200, 230, 0.45) !important;
    box-shadow: 3px 0 20px rgba(80, 100, 160, 0.09) !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index: 1020;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    will-change: width;
    -webkit-overflow-scrolling: touch;
}

    .sidebar.collapsed {
        width: 70px;
    }

        .sidebar.collapsed .sidebar-user-info > div {
            display: none;
        }

        .sidebar.collapsed .sidebar-user-info {
            padding: 0;
            display: none;
        }

        .sidebar.collapsed form {
            width: 100%;
            display: flex;
            justify-content: center;
            padding: 0;
            margin: 0;
        }

            .sidebar.collapsed form button {
                padding: 0;
                justify-content: center;
                align-items: center;
                width: 50px;
                height: 50px;
                min-width: 50px;
                border-radius: 10px !important;
                background-color: #dc2626 !important;
                margin: 0 auto;
                display: flex;
            }

                .sidebar.collapsed form button span {
                    display: none;
                }

                .sidebar.collapsed form button i {
                    margin: 0 !important;
                    font-size: 1.3rem;
                }

    .sidebar .nav-link {
        color: #334155;
        border-radius: 10px;
        margin: 1px 8px;
        padding: 0.5rem 1rem;
        font-weight: 500;
        transition: background-color 0.18s, color 0.18s, padding 0.3s, margin 0.3s;
        display: flex;
        align-items: center;
        white-space: nowrap;
        overflow: hidden;
        min-height: 40px;
        max-width: calc(100% - 16px);
    }

    /* Keep sidebar items in a single inline row even if pages override .nav-link styles. */
    .sidebar .sidebar-nav-links > .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        flex: 0 0 auto;
    }

    .sidebar .nav-link i {
        margin-right: 8px;
        min-width: 20px;
        text-align: center;
        flex-shrink: 0;
        transition: font-size 0.3s, margin 0.3s;
    }

    .sidebar .sidebar-nav-links > .nav-link i {
        margin-left: 0 !important;
        margin-right: 8px !important;
    }

    .sidebar .nav-link span {
        transition: opacity 0.2s;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sidebar .sidebar-nav-links > .nav-link span {
        display: block !important;
        text-align: left !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .sidebar.collapsed .nav-link {
        justify-content: center;
        padding: 0;
        margin: 6px auto;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        overflow: hidden;
        gap: 0;
    }

        .sidebar.collapsed .sidebar-nav-links > .nav-link span,
        .sidebar.collapsed .nav-link span {
            display: none !important;
            width: 0 !important;
            max-width: 0 !important;
            min-width: 0 !important;
            opacity: 0 !important;
            overflow: hidden !important;
            pointer-events: none;
        }

        .sidebar.collapsed .nav-link i {
            margin: 0 !important;
            font-size: 1.3rem;
            flex-shrink: 0;
        }

    .sidebar .nav-link:hover {
        background-color: rgba(15, 23, 42, 0.07) !important;
        color: var(--navy) !important;
    }

    .sidebar .nav-link.active {
        background-color: var(--navy) !important;
        color: #fff !important;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
    }

    .sidebar .nav-section-title {
        color: #94a3b8;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 0.65rem 1.2rem 0.2rem;
        transition: opacity 0.2s;
    }

    .sidebar.collapsed .nav-section-title {
        opacity: 0;
        height: 0;
        padding: 0;
        overflow: hidden;
        display: none;
    }

/* â”€â”€ Sidebar edge toggle â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar-inline-toggle {
    width: 100%;
    border: 1px solid rgba(180, 200, 230, 0.45);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.68rem 0.88rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .sidebar-inline-toggle:hover {
        background: rgba(248, 250, 252, 0.98);
        border-color: rgba(148, 163, 184, 0.55);
        color: #0f172a;
        transform: translateY(-1px);
    }

    .sidebar-inline-toggle i {
        font-size: 1rem;
        color: inherit;
    }

.sidebar.collapsed .sidebar-inline-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    margin: 0.15rem auto 0;
    border-radius: 14px;
    gap: 0;
}

    .sidebar.collapsed .sidebar-inline-toggle span {
        display: none;
    }

/* â”€â”€ Mobile hamburger button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 8px;
    left: 10px;
    z-index: 1060;
    width: 44px;
    height: 44px;
    background: #0f172a;
    border: none;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.3);
    will-change: transform;
}

    .mobile-nav-toggle i {
        font-size: 1.3rem;
        color: #fff;
    }

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .sidebar-inline-toggle {
        display: none;
    }
}

/* â”€â”€ Sidebar brand / logout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar .sidebar-brand span {
    transition: opacity 0.3s;
}

.sidebar.collapsed .sidebar-brand span {
    display: none;
}

.sidebar.collapsed .sidebar-brand {
    justify-content: center;
}

.sidebar .sidebar-logout-btn {
    background: #0f172a !important;
    background-color: #0f172a !important;
    background-image: none !important;
}

    .sidebar .sidebar-logout-btn:hover {
        background: #dc2626 !important;
        background-color: #dc2626 !important;
        background-image: none !important;
        border-color: #dc2626 !important;
    }

.sidebar.collapsed .sidebar-logout-btn {
    background: #0f172a !important;
    background-color: #0f172a !important;
    background-image: none !important;
}

    .sidebar.collapsed .sidebar-logout-btn:hover {
        background: #dc2626 !important;
        background-color: #dc2626 !important;
        background-image: none !important;
        border-color: #dc2626 !important;
    }

.sidebar-nav-links {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
}

.sidebar.collapsed .sidebar-nav-links {
    align-items: center;
    padding-top: 0.55rem;
}

/* Admin sidebar stability: preserve the intended order of the last admin links. */
.sidebar .sidebar-nav-links > .admin-users-link {
    order: 1;
}

.sidebar .sidebar-nav-links > .admin-applications-link {
    order: 2;
}

.sidebar .sidebar-nav-links > .admin-reports-link {
    order: 3;
}

.sidebar-footer {
    padding: 8px 14px 12px;
    border-top: 1px solid rgba(180, 200, 230, 0.4);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.sidebar.collapsed .sidebar-footer {
    padding: 8px 10px 12px;
    align-items: center;
    border-top: none;
}

/* Keep all admin links visible on shorter viewports. */
@media (max-height: 940px) {
    .sidebar .sidebar-user-info {
        margin-bottom: 0.35rem !important;
    }

        .sidebar .sidebar-user-info > div {
            margin-bottom: 0.35rem !important;
        }

        .sidebar .sidebar-user-info i.bi-person-circle {
            font-size: 2rem !important;
        }

        .sidebar .sidebar-user-info > div > div > div {
            font-size: 0.8rem !important;
        }

    .sidebar .sidebar-logout-btn {
        padding: 0.6rem 0.9rem !important;
    }
}

.sidebar-toggle-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: rgba(15, 23, 42, 0.07) !important;
    border: 1px solid rgba(180, 200, 230, 0.45) !important;
    border-radius: 10px !important;
    color: #334155 !important;
    cursor: pointer;
    transition: background-color 0.18s, transform 0.18s;
    box-shadow: none !important;
    will-change: transform;
}

    .sidebar-toggle-bottom i {
        font-size: 1.2rem;
        color: #334155 !important;
    }

    .sidebar-toggle-bottom:hover {
        background-color: rgba(15, 23, 42, 0.14) !important;
        transform: scale(1.08);
    }

        .sidebar-toggle-bottom:hover i {
            color: #0f172a !important;
        }

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.xv-body) footer,
body:not(.xv-body) .footer {
    background-color: rgba(255, 255, 255, 0.88) !important;
    background-image: none !important;
    border-top: 1px solid rgba(180, 200, 230, 0.45) !important;
    backdrop-filter: blur(14px) !important;
    color: #64748b !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

    body:not(.xv-body) footer::before,
    body:not(.xv-body) footer::after,
    body:not(.xv-body) .footer::before,
    body:not(.xv-body) .footer::after {
        display: none !important;
        content: none !important;
        background: none !important;
    }

    body:not(.xv-body) footer a,
    body:not(.xv-body) .footer a {
        color: var(--navy) !important;
    }

/* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0f172a;
}

.text-muted {
    color: #64748b !important;
}

.price-text,
.price {
    color: #1d4ed8 !important;
    font-weight: 700;
}

/* â”€â”€ Scrollbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: rgba(220, 230, 245, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(160, 185, 225, 0.6);
    border-radius: 20px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(130, 160, 215, 0.8);
    }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOP NAVBAR
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
body:not(.xv-body) .top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 58px;
    z-index: 1050;
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-bottom: 1px solid rgba(180, 200, 230, 0.45);
    box-shadow: 0 2px 14px rgba(80, 100, 160, 0.1);
    margin: 0;
    padding: 0;
}

body:not(.xv-body) .top-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 0;
    max-width: 100%;
}

body:not(.xv-body) .top-navbar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a !important;
    text-decoration: none !important;
    min-height: 44px;
    padding-left: 1.25rem;
}

    body:not(.xv-body) .top-navbar-brand i {
        font-size: 1.3rem;
        color: #166534 !important;
    }

    body:not(.xv-body) .top-navbar-brand:hover {
        color: #166534 !important;
    }

body:not(.xv-body) .top-navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 1.25rem;
}

body:not(.xv-body) .top-navbar-user {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(235, 242, 255, 0.85);
    border: 1px solid rgba(180, 205, 235, 0.65);
    border-radius: 50px;
    padding: 5px 14px 5px 10px;
    font-size: 0.875rem;
    color: #0f172a !important;
    font-weight: 500;
}

    body:not(.xv-body) .top-navbar-user i {
        font-size: 1.1rem;
        color: #475569 !important;
    }

body:not(.xv-body) .top-navbar-username {
    color: #0f172a !important;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body:not(.xv-body) .top-navbar-role-badge {
    background-color: #0f172a;
    color: #fff !important;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 9px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

    body:not(.xv-body) .top-navbar-role-badge.seller {
        background-color: #166534;
    }

body:not(.xv-body) .top-navbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.18s, transform 0.15s;
    will-change: transform;
    min-height: 44px;
}

    body:not(.xv-body) .top-navbar-btn i {
        font-size: 1rem;
    }

.logout-btn {
    background-color: #0f172a !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

    .logout-btn:hover {
        background-color: #1e293b !important;
        color: #fff !important;
        transform: translateY(-1px);
    }

    .logout-btn i,
    .logout-btn span {
        color: #fff !important;
    }

.login-btn {
    background-color: #166534 !important;
    color: #fff !important;
}

    .login-btn:hover {
        background-color: #14532d !important;
        color: #fff !important;
        transform: translateY(-1px);
    }

    .login-btn i,
    .login-btn span {
        color: #fff !important;
    }

.register-btn {
    background-color: transparent !important;
    color: #0f172a !important;
    border: 1.5px solid #0f172a !important;
}

    .register-btn:hover {
        background-color: #0f172a !important;
        color: #fff !important;
    }

        .register-btn:hover i,
        .register-btn:hover span {
            color: #fff !important;
        }

    .register-btn i,
    .register-btn span {
        color: #0f172a !important;
    }

.home-btn {
    background-color: rgba(235, 242, 255, 0.8) !important;
    color: #0f172a !important;
    border: 1px solid rgba(180, 205, 235, 0.55);
}

    .home-btn:hover {
        background-color: rgba(220, 232, 255, 0.95) !important;
    }

    .home-btn i,
    .home-btn span {
        color: #0f172a !important;
    }

/* â”€â”€ Main content â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body:not(.xv-body) .main-content {
    min-height: 100vh;
    margin-top: 0;
    transition: margin-left 0.3s ease;
    padding-top: 1rem;
    will-change: margin-left;
}

    body:not(.xv-body) .main-content.no-top-nav {
        margin-top: 0 !important;
        min-height: 100vh;
    }

    body:not(.xv-body) .main-content.with-sidebar {
        margin-left: var(--sidebar-width);
    }

        body:not(.xv-body) .main-content.with-sidebar.collapsed {
            margin-left: 70px;
        }

    body:not(.xv-body) .main-content:not(.with-sidebar) {
        margin-left: 0;
    }

/* Mobile layout */
@media (max-width: 768px) {
    body:not(.xv-body) .sidebar {
        transform: translateX(calc(-1 * var(--sidebar-width)));
        z-index: 1060;
        width: min(280px, 85vw) !important;
    }

        body:not(.xv-body) .sidebar.mobile-open {
            transform: translateX(0);
        }

        body:not(.xv-body) .sidebar.collapsed {
            transform: translateX(-100%);
            width: min(280px, 85vw) !important;
        }

    body:not(.xv-body) .main-content.with-sidebar,
    body:not(.xv-body) .main-content.with-sidebar.collapsed {
        margin-left: 0 !important;
    }

    /* Offset content so mobile hamburger doesn't overlap page title */
    body:not(.xv-body) .main-content {
        padding-top: 4.5rem;
    }

    body:not(.xv-body) .top-navbar-username {
        display: none;
    }

    body:not(.xv-body) .top-navbar-btn span {
        display: none;
    }

    body:not(.xv-body) .container-fluid.px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Mobile backdrop overlay */
.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1045;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

    .sidebar-backdrop.show {
        display: block;
    }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NUCLEAR OVERRIDE BLOCK
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

html body:not(.xv-body),
html body:not(.xv-body)::before,
html body:not(.xv-body)::after {
    background-color: #f0f4f8 !important;
    background-image: none !important;
    background-attachment: unset !important;
}

    html body:not(.xv-body) .main-content,
    html body:not(.xv-body) .container,
    html body:not(.xv-body) .container-fluid {
        background-color: transparent !important;
        background-image: none !important;
    }

    html body:not(.xv-body) footer,
    html body:not(.xv-body) .footer,
    html body:not(.xv-body) footer::before,
    html body:not(.xv-body) footer::after,
    html body:not(.xv-body) .footer::before,
    html body:not(.xv-body) .footer::after {
        background-color: rgba(255, 255, 255, 0.9) !important;
        background-image: none !important;
    }

    /* 2. GLASSY CARDS */
    html body:not(.xv-body) .card,
    html body:not(.xv-body) .modal-content,
    html body:not(.xv-body) .stat-card,
    html body:not(.xv-body) .summary-card,
    html body:not(.xv-body) .glassy-card,
    html body:not(.xv-body) .glassy-form .card {
        background-color: rgba(255, 255, 255, 0.84) !important;
        background-image: none !important;
        backdrop-filter: blur(18px) saturate(1.45) !important;
        -webkit-backdrop-filter: blur(18px) saturate(1.45) !important;
        border: 1px solid rgba(180, 200, 230, 0.52) !important;
        border-radius: 18px !important;
        box-shadow: 0 6px 28px rgba(80, 100, 160, 0.14), 0 1px 6px rgba(0, 0, 0, 0.07) !important;
        color: #1e293b !important;
        transition: box-shadow 0.22s ease, transform 0.22s ease;
        will-change: transform;
    }

        html body:not(.xv-body) .card:hover,
        html body:not(.xv-body) .stat-card:hover,
        html body:not(.xv-body) .summary-card:hover {
            box-shadow: 0 14px 44px rgba(80, 100, 160, 0.22), 0 3px 12px rgba(0, 0, 0, 0.09) !important;
            transform: translateY(-3px);
        }

/* No hover lift on touchscreens */
@media (hover: none) {
    html body:not(.xv-body) .card:hover,
    html body:not(.xv-body) .stat-card:hover,
    html body:not(.xv-body) .summary-card:hover {
        transform: none !important;
        box-shadow: 0 6px 28px rgba(80, 100, 160, 0.14), 0 1px 6px rgba(0, 0, 0, 0.07) !important;
    }

    html body:not(.xv-body) .btn:hover,
    html body:not(.xv-body) .btn-primary:hover {
        transform: none !important;
    }
}

html body:not(.xv-body) .card-header {
    background-color: rgba(245, 248, 255, 0.75) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(180, 200, 230, 0.4) !important;
    border-radius: 18px 18px 0 0 !important;
    font-weight: 600;
    color: #0f172a !important;
}

html body:not(.xv-body) .card-footer {
    background-color: rgba(245, 248, 255, 0.6) !important;
    background-image: none !important;
    border-top: 1px solid rgba(180, 200, 230, 0.35) !important;
    border-radius: 0 0 18px 18px !important;
}

html body:not(.xv-body) .card-title {
    color: #0f172a !important;
    font-weight: 700;
}

html body:not(.xv-body) .card-subtitle {
    color: #64748b !important;
}

html body:not(.xv-body) .card-text {
    color: #334155 !important;
}

html body:not(.xv-body) .card h1,
html body:not(.xv-body) .card h2,
html body:not(.xv-body) .card h3,
html body:not(.xv-body) .card h4,
html body:not(.xv-body) .card h5,
html body:not(.xv-body) .card h6 {
    color: #0f172a !important;
}

html body:not(.xv-body) .card p,
html body:not(.xv-body) .card span:not(.badge):not(.form-check-input),
html body:not(.xv-body) .card small,
html body:not(.xv-body) .card strong,
html body:not(.xv-body) .card em,
html body:not(.xv-body) .card b,
html body:not(.xv-body) .card label,
html body:not(.xv-body) .card li,
html body:not(.xv-body) .card td,
html body:not(.xv-body) .card th,
html body:not(.xv-body) .card .card-body,
html body:not(.xv-body) .card .card-body * {
    color: #1e293b !important;
}

    html body:not(.xv-body) .card .text-muted,
    html body:not(.xv-body) .card small.text-muted {
        color: #64748b !important;
    }

html body:not(.xv-body) .card .text-danger {
    color: #dc2626 !important;
}

html body:not(.xv-body) .card .badge,
html body:not(.xv-body) .card .badge * {
    color: #ffffff !important;
}

html body:not(.xv-body) .card .card-header,
html body:not(.xv-body) .card .card-header * {
    color: #0f172a !important;
}

html body:not(.xv-body) .card .btn-outline-primary,
html body:not(.xv-body) .card .btn-outline-secondary,
html body:not(.xv-body) .card .btn-outline-success,
html body:not(.xv-body) .card .btn-outline-dark,
html body:not(.xv-body) .card .btn-outline-danger {
    color: #0f172a !important;
}

html body:not(.xv-body) .card .btn-outline-danger {
    color: #dc2626 !important;
    border-color: #dc2626 !important;
}

html body:not(.xv-body) .card i.fas,
html body:not(.xv-body) .card i.far,
html body:not(.xv-body) .card i.fab,
html body:not(.xv-body) .card i.bi {
    color: inherit !important;
}

html body:not(.xv-body) .card .spinner-border {
    color: #1e293b !important;
}

html body:not(.xv-body) .card-img-top,
html body:not(.xv-body) .card-img {
    border-radius: 17px 17px 0 0 !important;
    object-fit: cover;
    /* Reserve space during load â€” prevents CLS */
    aspect-ratio: 16 / 9;
    width: 100%;
    background-color: #e2e8f0;
}

/* 3. GLASSY FORMS */
html body:not(.xv-body) .form-control,
html body:not(.xv-body) .form-select,
html body:not(.xv-body) textarea.form-control,
html body:not(.xv-body) input.form-control,
html body:not(.xv-body) select.form-select,
html body:not(.xv-body) .input-group-text {
    background-color: rgba(255, 255, 255, 0.88) !important;
    background-image: none !important;
    border: 1.5px solid rgba(180, 205, 235, 0.75) !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    box-shadow: inset 0 1px 4px rgba(80, 100, 160, 0.07), 0 1px 3px rgba(80, 100, 160, 0.06) !important;
    transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s !important;
    min-height: 44px;
}

    html body:not(.xv-body) .form-control::placeholder,
    html body:not(.xv-body) textarea.form-control::placeholder {
        color: #94a3b8 !important;
    }

    html body:not(.xv-body) .form-control:focus,
    html body:not(.xv-body) .form-select:focus,
    html body:not(.xv-body) textarea.form-control:focus,
    html body:not(.xv-body) input.form-control:focus,
    html body:not(.xv-body) select.form-select:focus {
        background-color: #ffffff !important;
        border-color: rgba(99, 120, 200, 0.6) !important;
        box-shadow: 0 0 0 3px rgba(99, 120, 200, 0.16) !important;
        color: #1e293b !important;
        outline: none !important;
    }

html body:not(.xv-body) .form-label,
html body:not(.xv-body) label {
    color: #334155 !important;
    font-weight: 500;
}

html body:not(.xv-body) .input-group > .form-control,
html body:not(.xv-body) .input-group > .form-select {
    border-radius: 10px !important;
}

html body:not(.xv-body) .input-group-text {
    background-color: rgba(235, 242, 255, 0.9) !important;
    border-color: rgba(180, 205, 235, 0.75) !important;
    color: #475569 !important;
}

@media (max-width: 768px) {
    html body:not(.xv-body) .form-check-input {
        width: 1.25em;
        height: 1.25em;
    }
}

/* â”€â”€ Modals â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .modal-header {
    background-color: rgba(245, 248, 255, 0.8) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(180, 200, 230, 0.4) !important;
    border-radius: 18px 18px 0 0 !important;
}

html body:not(.xv-body) .modal-footer {
    background-color: rgba(245, 248, 255, 0.6) !important;
    background-image: none !important;
    border-top: 1px solid rgba(180, 200, 230, 0.35) !important;
    border-radius: 0 0 18px 18px !important;
}

html body:not(.xv-body) .modal-title {
    color: #0f172a !important;
    font-weight: 700;
}

html body:not(.xv-body) .modal-body {
    color: #1e293b !important;
}

@media (max-width: 576px) {
    html body:not(.xv-body) .modal-dialog {
        margin: 0.5rem;
    }

    html body:not(.xv-body) .modal-content {
        border-radius: 14px !important;
    }
}

/* â”€â”€ Dropdowns â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.94) !important;
    background-image: none !important;
    backdrop-filter: blur(20px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
    border: 1px solid rgba(180, 200, 230, 0.5) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(80, 100, 160, 0.16) !important;
}

html body:not(.xv-body) .dropdown-item {
    color: #1e293b !important;
    border-radius: 8px;
    margin: 2px 4px;
    min-height: 40px;
    display: flex;
    align-items: center;
}

    html body:not(.xv-body) .dropdown-item:hover {
        background-color: rgba(235, 242, 255, 0.9) !important;
        color: #0f172a !important;
    }

/* â”€â”€ Badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .badge.bg-success,
html body:not(.xv-body) .badge.bg-primary,
html body:not(.xv-body) .badge.text-bg-primary,
html body:not(.xv-body) .badge.text-bg-success {
    background-color: #166534 !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 0.4em 0.85em !important;
}

html body:not(.xv-body) .badge.bg-danger,
html body:not(.xv-body) .badge.text-bg-danger {
    background-color: #dc2626 !important;
    color: #fff !important;
    border-radius: 20px !important;
}

html body:not(.xv-body) .badge.bg-warning,
html body:not(.xv-body) .badge.text-bg-warning {
    background-color: #d97706 !important;
    color: #fff !important;
    border-radius: 20px !important;
}

/* â”€â”€ Alerts â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .alert {
    background-color: rgba(255, 255, 255, 0.88) !important;
    background-image: none !important;
    border: 1px solid rgba(180, 205, 235, 0.6) !important;
    border-radius: 14px !important;
    color: #1e293b !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(80, 100, 160, 0.08) !important;
}

/* â”€â”€ List groups â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .list-group-item {
    background-color: rgba(255, 255, 255, 0.85) !important;
    background-image: none !important;
    border: 1px solid rgba(180, 205, 235, 0.45) !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    margin-bottom: 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

    html body:not(.xv-body) .list-group-item:hover,
    html body:not(.xv-body) .list-group-item.active {
        background-color: rgba(235, 242, 255, 0.95) !important;
        color: #0f172a !important;
    }

/* â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .page-item .page-link {
    background-color: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(180, 200, 230, 0.5) !important;
    color: #1e293b !important;
    border-radius: 8px !important;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html body:not(.xv-body) .page-item.active .page-link {
    background-color: #0f172a !important;
    border-color: #0f172a !important;
    color: #fff !important;
}

html body:not(.xv-body) .page-item .page-link:hover {
    background-color: rgba(235, 242, 255, 0.98) !important;
}

/* â”€â”€ Progress â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .progress {
    background-color: rgba(210, 220, 240, 0.55) !important;
    border-radius: 20px !important;
}

html body:not(.xv-body) .progress-bar {
    background-color: #0f172a !important;
    border-radius: 20px !important;
}

/* â”€â”€ Checkboxes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .form-check-input:checked {
    background-color: #0f172a !important;
    border-color: #0f172a !important;
}

/* â”€â”€ Nav tabs / pills â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .nav-tabs .nav-link.active,
html body:not(.xv-body) .nav-pills .nav-link.active {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #0f172a !important;
    border-color: rgba(180, 205, 235, 0.5) !important;
    box-shadow: 0 2px 10px rgba(80, 100, 160, 0.1) !important;
}

/* â”€â”€ Offcanvas â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .offcanvas {
    background-color: rgba(255, 255, 255, 0.94) !important;
    background-image: none !important;
    backdrop-filter: blur(24px) saturate(1.5) !important;
    border: 1px solid rgba(180, 200, 230, 0.45) !important;
}

/* â”€â”€ Spec/pill chips â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .pill-tag,
html body:not(.xv-body) .chip,
html body:not(.xv-body) .tag,
html body:not(.xv-body) .spec-pill,
html body:not(.xv-body) .badge-pill {
    background-color: rgba(235, 242, 255, 0.9) !important;
    border: 1px solid rgba(180, 205, 235, 0.65) !important;
    border-radius: 20px !important;
    color: #334155 !important;
    padding: 0.28em 0.85em !important;
    font-size: 0.82rem !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 4px rgba(80, 100, 160, 0.07) !important;
}

/* â”€â”€ Links â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item) {
    color: #166534;
}

html
body
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover {
    color: #14532d;
}

/* 4. DARK NAVY BUTTONS */
html body:not(.xv-body) .btn,
html body:not(.xv-body) .btn-primary,
html body:not(.xv-body) .btn-secondary,
html body:not(.xv-body) .btn-success,
html body:not(.xv-body) .btn-info,
html body:not(.xv-body) .btn-warning,
html body:not(.xv-body) .btn-dark,
html body:not(.xv-body) a.btn,
html body:not(.xv-body) a.btn-primary,
html body:not(.xv-body) a.btn-secondary,
html body:not(.xv-body) a.btn-success,
html body:not(.xv-body) a.btn-info,
html body:not(.xv-body) a.btn-warning,
html body:not(.xv-body) a.btn-dark,
html body:not(.xv-body) input[type="submit"],
html body:not(.xv-body) input[type="button"],
html body:not(.xv-body) button[type="submit"],
html body:not(.xv-body) button[type="button"].btn,
html body:not(.xv-body) .book-now-btn,
html body:not(.xv-body) .pill-book,
html body:not(.xv-body) .btn-book,
html body:not(.xv-body) .btn-confirm,
html body:not(.xv-body) .btn-save,
html body:not(.xv-body) .btn-filter,
html body:not(.xv-body) .btn-search {
    background-color: #0f172a !important;
    background-image: none !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.22) !important;
    transition: background-color 0.18s, box-shadow 0.18s, transform 0.15s !important;
    will-change: transform;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    html body:not(.xv-body) .btn:hover,
    html body:not(.xv-body) .btn-primary:hover,
    html body:not(.xv-body) .btn-secondary:hover,
    html body:not(.xv-body) .btn-success:hover,
    html body:not(.xv-body) .btn-info:hover,
    html body:not(.xv-body) .btn-warning:hover,
    html body:not(.xv-body) .btn-dark:hover,
    html body:not(.xv-body) a.btn:hover,
    html body:not(.xv-body) a.btn-primary:hover,
    html body:not(.xv-body) input[type="submit"]:hover,
    html body:not(.xv-body) button[type="submit"]:hover,
    html body:not(.xv-body) .book-now-btn:hover,
    html body:not(.xv-body) .pill-book:hover,
    html body:not(.xv-body) .btn-book:hover {
        background-color: #1e293b !important;
        background-image: none !important;
        border-color: #1e293b !important;
        color: #ffffff !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3) !important;
    }

    html body:not(.xv-body) .btn:focus,
    html body:not(.xv-body) .btn:active,
    html body:not(.xv-body) .btn-primary:focus,
    html body:not(.xv-body) .btn-primary:active {
        background-color: #0f172a !important;
        background-image: none !important;
        border-color: #0f172a !important;
        box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.22) !important;
    }

html body:not(.xv-body) .btn-danger,
html body:not(.xv-body) a.btn-danger,
html body:not(.xv-body) button.btn-danger {
    background-color: #dc2626 !important;
    background-image: none !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
    border-radius: 12px !important;
}

    html body:not(.xv-body) .btn-danger:hover {
        background-color: #b91c1c !important;
        border-color: #991b1b !important;
    }

html body:not(.xv-body) .btn-light,
html body:not(.xv-body) a.btn-light {
    background-color: rgba(255, 255, 255, 0.92) !important;
    background-image: none !important;
    border-color: rgba(180, 205, 235, 0.65) !important;
    color: #1e293b !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(80, 100, 160, 0.1) !important;
}

    html body:not(.xv-body) .btn-light:hover {
        background-color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(80, 100, 160, 0.15) !important;
    }

html body:not(.xv-body) .btn-outline-primary,
html body:not(.xv-body) .btn-outline-secondary,
html body:not(.xv-body) .btn-outline-dark,
html body:not(.xv-body) .btn-outline-success {
    background-color: transparent !important;
    background-image: none !important;
    border: 1.5px solid #0f172a !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

    html body:not(.xv-body) .btn-outline-primary:hover,
    html body:not(.xv-body) .btn-outline-secondary:hover,
    html body:not(.xv-body) .btn-outline-dark:hover,
    html body:not(.xv-body) .btn-outline-success:hover {
        background-color: #0f172a !important;
        background-image: none !important;
        color: #ffffff !important;
        transform: translateY(-2px) !important;
    }

/* Button text â€” always white */
html body:not(.xv-body) .btn,
html body:not(.xv-body) .btn-primary,
html body:not(.xv-body) .btn-secondary,
html body:not(.xv-body) .btn-success,
html body:not(.xv-body) .btn-info,
html body:not(.xv-body) .btn-warning,
html body:not(.xv-body) .btn-dark,
html body:not(.xv-body) .btn-danger,
html body:not(.xv-body) button.btn,
html body:not(.xv-body) a.btn,
html body:not(.xv-body) input[type="submit"],
html body:not(.xv-body) input[type="button"],
html body:not(.xv-body) input[type="reset"],
html body:not(.xv-body) .btn span,
html body:not(.xv-body) .btn i,
html body:not(.xv-body) .btn svg,
html body:not(.xv-body) .btn * {
    color: #ffffff !important;
}

html body:not(.xv-body) .btn-light,
html body:not(.xv-body) a.btn-light,
html body:not(.xv-body) .btn-light *,
html body:not(.xv-body) .btn-outline-primary,
html body:not(.xv-body) .btn-outline-secondary,
html body:not(.xv-body) .btn-outline-dark,
html body:not(.xv-body) .btn-outline-success,
html body:not(.xv-body) .btn-outline-primary *,
html body:not(.xv-body) .btn-outline-secondary *,
html body:not(.xv-body) .btn-outline-dark * {
    color: #0f172a !important;
}

    html body:not(.xv-body) .btn-outline-primary:hover *,
    html body:not(.xv-body) .btn-outline-secondary:hover *,
    html body:not(.xv-body) .btn-outline-dark:hover *,
    html body:not(.xv-body) .btn-outline-success:hover * {
        color: #ffffff !important;
    }

/* â”€â”€ Text/bg-primary override â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html body:not(.xv-body) .text-primary,
html body:not(.xv-body) [class*="text-primary"],
html body:not(.xv-body) [class*="-primary"]:not(.badge):not(.btn):not(.bg-primary) {
    color: #0f172a !important;
}

html body:not(.xv-body) .bg-primary,
html body:not(.xv-body) .text-bg-primary,
html body:not(.xv-body) [class*="bg-primary"],
html body:not(.xv-body) [class*="-bg-primary"] {
    background-color: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    background-image: none !important;
}

html body:not(.xv-body) .form-control:focus,
html body:not(.xv-body) .form-select:focus,
html body:not(.xv-body) textarea.form-control:focus {
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.16) !important;
    border-color: #1e293b !important;
}

html body:not(.xv-body) svg [fill],
html body:not(.xv-body) svg path {
    fill: inherit !important;
}

/* â”€â”€ Mobile: table horizontal scroll â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 576px) {
    .table-responsive {
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table td,
    .table th {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}
