/* LoonReserve — Premium Overhaul CSS */
:root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Inter', system-ui, -apple-system, sans-serif;

    --sea: #0a6e8a;
    --sea-deep: #064e63;
    --sea-light: #1a9bb8;
    --gold: #c9992c;
    --gold-light: #e8b84b;
    --sand: #f5f0e8;
    --sand-dark: #ede4d0;
    --white: #ffffff;
    --text: #1a2535;
    --text-muted: #5a6a7a;
    --border: #d8e6ec;
    --success: #2e7d53;
    --danger: #b83232;
    --warning: #c97a1a;
    --info: #0a6e8a;
    --radius: 12px;

    /* Premium Tokens */
    --gradient-primary: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    --glass-border: rgba(255, 255, 255, 0.12);

    --shadow-sm: 0 2px 8px rgba(6, 78, 99, 0.05);
    --shadow: 0 10px 30px rgba(6, 78, 99, 0.08);
    --shadow-lg: 0 20px 50px rgba(6, 78, 99, 0.15);

    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reserve the vertical scrollbar's space permanently so the page never shifts
   left/right when that scrollbar appears/disappears (opening modals, hover height
   changes). This is the key fix for "layout breaks when I move the cursor". */
html {
    scrollbar-gutter: stable;
}

/* Contain stray horizontal overflow WITHOUT creating a scroll container, so
   nothing stretches/jumps on resize and position:sticky (navbar) keeps working. */
body {
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--sand);
    color: var(--text);
    min-height: 100vh;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

/* Fullscreen background image with dark overlay */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.site-bg__img {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(0.95) contrast(0.98);
    transform: translateZ(0);
}

.site-bg__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

/* Ensure main content and nav sit above the background */
body,
.navbar,
.container,
.main-content,
.hero {
    position: relative;
    z-index: 1;
}

body.user-page .navbar {
    z-index: 2;
}

/* Homepage-specific: make page header text visible over background */
.home-page .page-header h2 {
    color: #ffffff;
}

.home-page .page-header p {
    color: rgba(255, 255, 255, 0.9);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--sea-deep);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── NAVBAR ── */
.navbar {
    background: linear-gradient(135deg, rgba(6, 78, 99, 0.95), rgba(6, 78, 99, 0.92));
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    box-shadow: 0 4px 20px rgba(6, 78, 99, 0.15);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-sidebar-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 1rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.navbar-sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.navbar-sidebar-toggle:active {
    transform: translateY(1px);
}

.navbar-sidebar-toggle svg,
.navbar-sidebar-toggle i {
    width: 20px;
    height: 20px;
}

.navbar.scrolled {
    height: 64px;
    background: linear-gradient(135deg, rgba(6, 78, 99, 0.98), rgba(6, 78, 99, 0.96));
    box-shadow: 0 8px 30px rgba(6, 78, 99, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    transition: all 0.3s;
    text-decoration: none;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand .navbar-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: all 0.3s;
}

.navbar-brand:hover .navbar-logo {
    filter: drop-shadow(0 6px 12px rgba(201, 153, 44, 0.35));
    transform: scale(1.08);
}

.navbar-brand h1 {
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.3px;
    font-weight: 800;
    margin: 0;
}

.navbar-brand span {
    color: var(--gold-light);
    font-weight: 800;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
}

/* Nav Link Underline Hover Effect & Centering (min-width: 769px) */
@media (min-width: 769px) {
    .navbar-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-nav a::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 18px;
        right: 18px;
        height: 2px;
        background: var(--gold-light);
        transform: scaleX(0);
        transition: var(--transition);
        transform-origin: center;
    }

    .navbar-nav a:hover::after,
    .navbar-nav a.active::after {
        transform: scaleX(1);
    }

    /* Make select lists with many options scrollable and compact */
    .rate-select {
        max-height: 220px;
        overflow-y: auto;
    }

    /* Improve appearance on small screens */
    @media (max-width: 600px) {
        .rate-select {
            max-height: 160px;
        }
    }

    .navbar-nav a:hover {
        color: var(--white);
    }

    .navbar-nav a.active {
        color: var(--gold-light);
    }
}

/* Hamburger button styles */
.navbar-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.navbar-hamburger .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Responsive navigation menu toggle drawer */
@media (max-width: 768px) {
    .navbar-hamburger {
        display: flex;
    }

    .navbar-nav {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 72px);
        background: rgba(6, 78, 99, 0.98);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        border-left: 1px solid var(--glass-border);
    }

    .navbar-nav.active {
        right: 0;
    }

    .navbar-nav a {
        display: block;
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 8px;
        border-left: 3px solid transparent;
        color: var(--white);
    }

    .navbar-nav a:hover,
    .navbar-nav a.active {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: var(--gold);
        color: var(--gold-light);
    }

    /* Hamburger active state transition */
    .navbar-hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar-hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

body.user-page {
    padding-left: 0;
}

body.user-page .navbar {
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    height: 72px;
    padding: 0 2rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    background: rgba(6, 78, 99, 0.9);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
}

body.user-page .navbar-brand {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

body.user-page .navbar-brand h1 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
}

body.user-page .navbar-brand img,
body.user-page .navbar-brand .navbar-logo {
    width: 44px;
    height: 44px;
}

body.user-page .navbar-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

body.user-page .navbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 900px) {
    body.user-page {
        padding-left: 0;
    }

    body.user-page .navbar {
        position: sticky;
        width: auto;
        height: 72px;
        bottom: auto;
        padding: 0 2rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    body.user-page .navbar-nav {
        flex-direction: row;
        margin-bottom: 0;
    }

    body.user-page .navbar-actions {
        flex-direction: row;
    }

    body.user-page .navbar-actions .btn,
    body.user-page .navbar-actions .user-menu,
    body.user-page .navbar-actions .notif-btn {
        width: auto;
    }
}

.notif-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.notif-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: var(--sea-deep);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-size: 0.88rem;
    font-weight: 500;
    border: none;
    transition: background 0.2s;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.18);
}

.user-avatar {
    width: 30px;
    height: 30px;
    background: var(--gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--sea-deep);
    font-weight: 700;
}

/* ── PROFILE DROPDOWN ── */
.profile-menu {
    position: relative;
}

.user-menu-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-caret {
    width: 16px;
    height: 16px;
    opacity: 0.75;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.profile-menu.open .user-menu-caret {
    transform: rotate(180deg);
}

.user-role-badge {
    background: var(--gold);
    color: var(--sea-deep);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.5;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 264px;
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 0.25s;
}

.profile-menu.open .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
}

.user-avatar-lg {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 10px;
    flex-shrink: 0;
}

.profile-dropdown-id {
    min-width: 0;
}

.profile-dropdown-name {
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.25;
    word-break: break-word;
}

.profile-dropdown-email {
    font-size: 0.76rem;
    opacity: 0.85;
    word-break: break-all;
    margin-top: 2px;
}

.profile-dropdown-header .user-role-badge {
    display: inline-block;
    margin-top: 6px;
}

.profile-dropdown-body {
    padding: 8px;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.profile-dropdown-item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.profile-dropdown-item:hover {
    background: var(--sand);
    color: var(--sea-deep);
}

.profile-dropdown-logout {
    color: #c0392b;
}

.profile-dropdown-logout:hover {
    background: rgba(192, 57, 43, 0.08);
    color: #a93226;
}

/* ── HERO SECTION ── */
.hero {
    background: transparent;
    padding: 6.5rem 2rem 5.5rem;
    text-align: center;
    position: relative;
    /* clip the decorative blurred orbs so they can't widen the page */
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 153, 44, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 8px 20px;
    margin-bottom: 2rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.hero-badge .lucide {
    color: var(--gold-light);
    flex-shrink: 0;
}

.hero h2 {
    font-size: 3.25rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-family: var(--font-sans);
    animation: fadeUp 1s ease-out;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeUp 1.2s ease-out;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--sea-deep);
    padding: 15px 34px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.02rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(201, 153, 44, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.hero-cta:hover::before {
    left: 100%;
    transition: 0.8s;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 153, 44, 0.5);
    color: var(--sea-deep);
}

.hero-cta:active {
    transform: translateY(-1px);
}

.hero-secondary-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    transition: var(--transition);
}

.hero-secondary-link:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-secondary-link u {
    text-underline-offset: 3px;
}

/* ── LAYOUT ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-header {
    padding: 2.5rem 0 1.25rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-header h2 {
    font-size: 2.2rem;
    color: var(--sea-deep);
    font-weight: 700;
    margin: 0;
}

.page-header p {
    color: var(--text-muted);
    margin-top: 6px;
    font-size: 0.98rem;
}

/* ── CARDS ── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(6, 78, 99, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(6, 78, 99, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    box-shadow: 0 20px 40px rgba(6, 78, 99, 0.12);
    transform: translateY(-5px);
    border-color: rgba(10, 110, 138, 0.25);
}

.card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--sea-deep);
    transition: color 0.3s;
}

.card:hover .card-title {
    color: var(--sea);
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.card-img-wrap {
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    background: rgba(10, 110, 138, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrap img.card-img,
.card-img-wrap .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.card-img-wrap .card-img {
    padding: 1.5rem;
    font-size: 3rem;
    color: rgba(10, 110, 138, 0.35);
    object-fit: contain;
}

.card-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: linear-gradient(to right, rgba(10, 110, 138, 0.01), rgba(201, 153, 44, 0.01));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-price {
    font-family: var(--font-sans);
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 1.18rem;
    color: var(--sea-deep);
    font-weight: 700;
}

.card-price span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.payment-add-summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--sea-deep);
    font-size: 1rem;
}

.payment-add-panel {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1rem;
    background: var(--white);
}

.payment-method-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--white);
    transition: var(--transition);
    margin-bottom: 0.9rem;
}

.payment-method-card.selected {
    border-color: rgba(10, 110, 138, 0.45);
    background: rgba(10, 110, 138, 0.05);
}

.payment-method-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.payment-method-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.payment-type-card {
    background: #1f4f8b;
}

.payment-type-gcash {
    background: #0d6efd;
}

.payment-type-paymaya {
    background: #6f42c1;
}

.payment-type-bank {
    background: #198754;
}

.payment-type-default {
    background: #6c757d;
}

.payment-method-info {
    min-width: 0;
}

.payment-method-title {
    font-weight: 700;
    color: var(--sea-deep);
    margin-bottom: 0.2rem;
}

.payment-method-note {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.payment-method-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-method-default {
    background: #dde9f1;
    color: #134b68;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

.payment-list {
    display: flex;
    flex-direction: column;
}

.payment-choice-grid {
    display: grid;
    gap: 0.85rem;
}

.payment-choice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-method-card {
    cursor: pointer;
    transition: all var(--transition);
    border: 1.5px solid var(--border);
}

.payment-method-card:hover {
    border-color: rgba(10, 110, 138, 0.3);
    background: rgba(10, 110, 138, 0.02);
    box-shadow: var(--shadow-sm);
}

.payment-method-card[style*="border-color"] {
    border-color: var(--sea) !important;
    background: rgba(10, 110, 138, 0.08) !important;
    box-shadow: 0 4px 16px rgba(10, 110, 138, 0.12);
}

.payment-method-card input[type="radio"] {
    margin-right: 1rem;
    accent-color: var(--sea);
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
}

/* ── GRID ── */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(6, 78, 99, 0.12);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    transform: translateX(-100%);
}

.btn:hover::before {
    opacity: 1;
    transform: translateX(100%);
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 4px rgba(6, 78, 99, 0.1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 78, 99, 0.2);
}

.btn-primary:hover {
    background: var(--sea-deep);
    box-shadow: 0 6px 20px rgba(6, 78, 99, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--sand-dark);
    color: var(--text);
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: var(--border);
    border-color: var(--sea);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 110, 138, 0.15);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #245f40 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 83, 0.2);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(46, 125, 83, 0.3);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #8f2020 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(184, 50, 50, 0.2);
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(184, 50, 50, 0.3);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #a0601a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 122, 26, 0.2);
}

.btn-warning:hover {
    box-shadow: 0 6px 20px rgba(201, 122, 26, 0.3);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--sea-deep);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201, 153, 44, 0.25);
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(201, 153, 44, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--sea);
    border: 2px solid var(--sea);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--sea);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 110, 138, 0.2);
}

.btn-shine {
    position: relative;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ── FORMS ── */
.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--sea-deep);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(6, 78, 99, 0.15);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: inset 0 1px 2px rgba(6, 78, 99, 0.03);
}

.form-control:hover {
    border-color: rgba(10, 110, 138, 0.35);
    box-shadow: 0 2px 8px rgba(6, 78, 99, 0.05);
}

.form-control:focus {
    outline: none;
    border-color: var(--sea);
    box-shadow: 0 0 0 4px rgba(10, 110, 138, 0.12);
    background: var(--white);
}

.form-control::placeholder {
    color: #a0aab5;
    font-weight: 400;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6e8a' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
    padding-right: 32px;
}

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

.form-control:disabled {
    background-color: var(--sand);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

/* ── TABLES ── */
.table-wrapper {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(6, 78, 99, 0.06);
    overflow: hidden;
    border: 1px solid rgba(6, 78, 99, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.table-wrapper:hover {
    box-shadow: 0 10px 30px rgba(6, 78, 99, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: var(--sea-deep);
    color: white;
    padding: 16px 20px;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

tbody tr {
    border-bottom: 1px solid rgba(6, 78, 99, 0.06);
    transition: background-color 0.2s ease;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(10, 110, 138, 0.02) !important;
}

tbody td {
    padding: 15px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

/* Action buttons in tables */
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    min-height: 32px;
}

/* ── BADGES ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge-pending {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    color: #8a5c00;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-approved {
    background: linear-gradient(135deg, rgba(46, 125, 83, 0.15), rgba(46, 125, 83, 0.05));
    color: #1a5c30;
    border: 1px solid rgba(46, 125, 83, 0.3);
}

.badge-disapproved {
    background: linear-gradient(135deg, rgba(184, 50, 50, 0.15), rgba(184, 50, 50, 0.05));
    color: #6e1515;
    border: 1px solid rgba(184, 50, 50, 0.3);
}

.badge-cancelled {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.15), rgba(128, 128, 128, 0.05));
    color: #444;
    border: 1px solid rgba(128, 128, 128, 0.3);
}

.badge-completed {
    background: linear-gradient(135deg, rgba(10, 110, 138, 0.15), rgba(10, 110, 138, 0.05));
    color: #003c74;
    border: 1px solid rgba(10, 110, 138, 0.3);
}

.badge-unpaid {
    background: linear-gradient(135deg, rgba(184, 50, 50, 0.15), rgba(184, 50, 50, 0.05));
    color: #6e1515;
    border: 1px solid rgba(184, 50, 50, 0.3);
}

.badge-rejected {
    background: linear-gradient(135deg, rgba(184, 50, 50, 0.15), rgba(184, 50, 50, 0.05));
    color: #6e1515;
    border: 1px solid rgba(184, 50, 50, 0.3);
}

.badge-partial {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    color: #8a5c00;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-paid {
    background: linear-gradient(135deg, rgba(46, 125, 83, 0.15), rgba(46, 125, 83, 0.05));
    color: #1a5c30;
    border: 1px solid rgba(46, 125, 83, 0.3);
}

.badge-active {
    background: linear-gradient(135deg, rgba(46, 125, 83, 0.15), rgba(46, 125, 83, 0.05));
    color: #1a5c30;
    border: 1px solid rgba(46, 125, 83, 0.3);
}

.badge-inactive {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.15), rgba(128, 128, 128, 0.05));
    color: #444;
    border: 1px solid rgba(128, 128, 128, 0.3);
}

/* ── MODAL ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 22, 35, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.25s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 100px rgba(10, 110, 138, 0.1);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 110, 138, 0.3), transparent);
    pointer-events: none;
}

.modal-lg {
    max-width: 760px;
}

.modal-xl {
    max-width: 980px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 1.5rem 1.5rem 1.2rem;
    border-bottom: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, rgba(10, 110, 138, 0.02), rgba(201, 153, 44, 0.02));
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--sea-deep);
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: var(--sand);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--border);
    color: var(--sea-deep);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.8rem 1.5rem;
    background: var(--white);
}

.modal-footer {
    padding: 1.2rem 1.5rem 1.5rem;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    background: rgba(245, 240, 232, 0.3);
}

/* ── ALERTS ── */
.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(46, 125, 83, 0.1), rgba(46, 125, 83, 0.05));
    color: #1a5c30;
    border-left-color: var(--success);
    border: 1.5px solid rgba(46, 125, 83, 0.2);
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(184, 50, 50, 0.1), rgba(184, 50, 50, 0.05));
    color: #6e1515;
    border-left-color: var(--danger);
    border: 1.5px solid rgba(184, 50, 50, 0.2);
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(201, 122, 26, 0.1), rgba(201, 122, 26, 0.05));
    color: #8a5c00;
    border-left-color: var(--warning);
    border: 1.5px solid rgba(201, 122, 26, 0.2);
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: linear-gradient(135deg, rgba(10, 110, 138, 0.1), rgba(10, 110, 138, 0.05));
    color: #003c74;
    border-left-color: var(--info);
    border: 1.5px solid rgba(10, 110, 138, 0.2);
    border-left: 4px solid var(--info);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── DASHBOARD STATS ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: 0 4px 15px rgba(6, 78, 99, 0.08);
    border: 1.5px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 110, 138, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.stat-card:hover {
    box-shadow: 0 12px 30px rgba(6, 78, 99, 0.15);
    transform: translateY(-6px);
    border-color: rgba(10, 110, 138, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 0 0 0 100px;
    opacity: 0.05;
    transition: opacity 0.35s;
}

.stat-card:hover::after {
    opacity: 0.1;
}

.stat-card.sea::after {
    background: var(--sea);
}

.stat-card.gold::after {
    background: var(--gold);
}

.stat-card.success::after {
    background: var(--success);
}

.stat-card.info::after {
    background: var(--info);
}

.stat-card.danger::after {
    background: var(--danger);
}

.stat-value {
    font-family: var(--font-sans);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sea-deep), var(--sea));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.2rem;
    opacity: 0.1;
    transition: opacity 0.35s;
}

.stat-card:hover .stat-icon {
    opacity: 0.15;
}

/* ── CALENDAR ── */
.calendar-wrapper {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}

.calendar-header {
    background: var(--sea-deep);
    color: white;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.calendar-nav {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.calendar-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day-name {
    padding: 10px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sea-deep);
    background: var(--sand);
    border-bottom: 1px solid var(--border);
}

.calendar-day {
    border: 1px solid var(--border);
    height: 132px;
    /* uniform height for every cell = a clean, aligned grid; tall enough to show the
       event with its full time range. Extra events collapse into a "+N more" chip. */
    overflow: hidden;
    padding: 7px;
    position: relative;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.calendar-day:hover {
    background: var(--sand);
}

/* Day cell with bookings: light green background and green border */
.calendar-day.has-bookings {
    background: #e2f6e7 !important;
    border: 1px solid #28a745 !important;
}
.calendar-day.has-bookings:hover {
    background: #d4f2dc !important;
}

.calendar-day.other-month {
    opacity: 0.4;
}

.calendar-day.today {
    background: rgba(10, 110, 138, 0.06);
}

.calendar-day.today .day-num {
    background: var(--sea);
    color: white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Day number and badge header row */
.day-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    width: 100%;
}

.day-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

/* Small badge showing number of bookings */
.bookings-count-badge {
    background: #28a745;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.day-events-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    /* never scroll — extra events collapse into a "+N more" chip (see JS) */
}

.day-event {
    font-size: 0.74rem;
    padding: 4px 6px;
    border-radius: 4px;
    margin-bottom: 2px;
    font-weight: 500;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    transition: transform 0.1s ease;
}

.day-event:hover {
    transform: translateY(-1px);
}

.day-event .event-name {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.day-event .event-purpose {
    font-weight: 600;
    /* Keep each chip compact (one line) so multiple events stay clean and aligned;
       the full purpose is still available on hover via the title attribute. */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* "+N more" chip shown when a day has more events than fit */
.day-event-more {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sea-deep);
    padding: 1px 6px;
    cursor: default;
}

.day-event .event-time {
    font-size: 0.68rem;
    opacity: 0.95;
    font-weight: 600;
    /* allow the full time range to wrap instead of being clipped at the cell edge */
    white-space: normal;
    line-height: 1.25;
}

.day-event.reserved {
    background: #fde8d0;
    color: #8a3a00;
}

.day-event.approved {
    background: #28a745 !important;
    color: #ffffff !important;
}

.day-event.pending {
    background: #c97a1a !important;
    color: #ffffff !important;
}

.day-event.completed {
    background: var(--sea-deep) !important;
    color: #ffffff !important;
}

/* ── LOGIN PAGE ── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

body.home-page .login-page {
    background: transparent !important;
}

body.home-page .login-page::before {
    display: none !important;
}

.login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(201, 153, 44, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.login-card {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    position: relative;
}

.login-card .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.login-card .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    transition: all 0.25s ease;
}

.login-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-card .form-control:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ── INPUT ICON WRAPPER ── */
.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    pointer-events: none;
    z-index: 2;
}

.input-icon-svg {
    position: absolute;
    color: rgba(255, 255, 255, 0.55);
    transition: none;
}


.input-with-icon {
    padding-left: 2.75rem !important;
}

.input-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 2;
}

.input-toggle-btn:hover {
    color: #ffffff;
}

/* Custom file input for glassmorphism */
.login-card input[type="file"]::file-selector-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 8px;
}

.login-card input[type="file"]::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Eye icon toggle alignment and colors */
.login-card #toggle-password,
.login-card #toggle-confirm-password {
    color: rgba(255, 255, 255, 0.6) !important;
}

.login-card #toggle-password:hover,
.login-card #toggle-confirm-password:hover {
    color: #ffffff !important;
}

/* Custom Alert styling inside translucent login card */
.login-card .alert {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: none !important;
}

.login-card .alert-danger {
    background: rgba(184, 50, 50, 0.85) !important;
    color: #ffffff !important;
    border-left: 4px solid #ff9b9b !important;
}

.login-card .alert-success {
    background: rgba(46, 125, 83, 0.85) !important;
    color: #ffffff !important;
    border-left: 4px solid #9effc6 !important;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo .logo-circle {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 20px rgba(201, 153, 44, 0.35));
    transition: all 0.3s ease;
}

.login-logo .logo-circle:hover {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 12px 30px rgba(201, 153, 44, 0.45));
}

.login-logo .logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

/* Target elements specifically inside .login-card to have high contrast */
.login-card .login-logo h2 {
    color: #ffffff !important;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-card .login-logo h2 span {
    color: var(--gold-light) !important;
}

.login-card .login-logo p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.85rem;
    margin-top: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ── SIDEBAR ── */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 72px);
}

.sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid rgba(6, 78, 99, 0.08);
    padding: 1.5rem 0;
    flex-shrink: 0;
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: none;
}

/* Scrolled state header adjusts sidebar position */
.navbar.scrolled~.admin-layout .sidebar {
    top: 64px;
    height: calc(100vh - 64px);
}

/* Desktop Collapsed State */
.admin-layout.sidebar-collapsed .sidebar {
    width: 0;
    padding: 0;
    overflow: hidden;
    border-right: none;
    visibility: hidden;
}

.admin-layout.sidebar-collapsed .sidebar-label {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.admin-layout.sidebar-collapsed .sidebar-link {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.admin-layout.sidebar-collapsed .sidebar-link svg,
.admin-layout.sidebar-collapsed .sidebar-link i {
    margin: 0 !important;
    width: 22px;
    height: 22px;
}

.admin-layout.sidebar-collapsed .sidebar-link .badge {
    display: none;
}

.sidebar-section {
    padding: 0 1rem 1rem;
    margin-bottom: 0.5rem;
}

.sidebar-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 0 0.75rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--gold);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.sidebar-link:hover {
    background: rgba(10, 110, 138, 0.04);
    color: var(--sea);
    transform: translateX(2px);
}

.sidebar-link.active {
    background: rgba(10, 110, 138, 0.07);
    color: var(--sea-deep);
    font-weight: 600;
}

.sidebar-link.active::before {
    opacity: 1;
}

.sidebar-link .icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    min-width: 0;
    /* lets the flex child shrink instead of overflowing the row */
    padding: 2.5rem;
    background: linear-gradient(135deg, #f5f0e8 0%, #faf8f3 100%);
    overflow-y: auto;
    overflow-x: clip;
    /* clip stray horizontal overflow so the content area never spawns its own
       scrollbar or jump on resize */
    transition: all 0.3s ease;
}

/* ── MISC ── */
.section-title {
    font-size: 1.5rem;
    color: var(--sea-deep);
    margin-bottom: 1.5rem;
    padding-bottom: 12px;
    border-bottom: 2.5px solid var(--border);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.empty-state {
    text-align: center;
    padding: 3.5rem 2rem;
    color: var(--text-muted);
    background: linear-gradient(135deg, rgba(10, 110, 138, 0.02), rgba(201, 153, 44, 0.01));
    border-radius: var(--radius);
    border: 1.5px dashed var(--border);
}

.empty-state .empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--sea-deep);
}

.empty-state p {
    font-size: 0.9rem;
    margin: 0;
}

.divider {
    border: none;
    border-top: 1.5px solid var(--border);
    margin: 1.5rem 0;
}

.text-muted {
    color: var(--text-muted);
}

.text-sea {
    color: var(--sea);
}

.text-gold {
    color: var(--gold);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.fw-bold {
    font-weight: 700;
}

.fw-medium {
    font-weight: 600;
}

.fs-sm {
    font-size: 0.85rem;
}

.facility-capacity {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.facility-capacity span {
    color: var(--sea);
    font-weight: 700;
}

.reservation-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.9rem;
}

.reservation-detail-row:last-child {
    border-bottom: none;
}

.reservation-detail-row .label {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
}

.reservation-detail-row .value {
    font-weight: 700;
    color: var(--sea-deep);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 2.5px solid var(--border);
    border-bottom: 2.5px solid var(--border);
    margin: 10px 0;
    border-radius: 8px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(10, 110, 138, 0.05), rgba(201, 153, 44, 0.02));
}

.total-row .label {
    font-weight: 700;
    color: var(--sea-deep);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.total-row .value {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), #e8b84b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--sand);
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
}

.addon-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--border);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.15s;
}

.qty-btn:hover {
    background: var(--sea);
    color: white;
    border-color: var(--sea);
}

.qty-input {
    width: 44px;
    text-align: center;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 4px;
    font-size: 0.9rem;
}

/* ── TABS ── */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.5rem;
    gap: 2px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.tab-btn.active {
    color: var(--sea);
    border-bottom-color: var(--sea);
    font-weight: 600;
}

.tab-btn:hover {
    color: var(--sea);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}


/* ── SEARCH & FILTER ── */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-input-wrap .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
}

.search-input-wrap .form-control {
    padding-left: 36px;
}

/* ── PAGINATION ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 2rem 0;
}

.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: white;
    border: 1.5px solid var(--border);
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.page-item:hover {
    background: linear-gradient(135deg, var(--sea) 0%, var(--sea-light) 100%);
    color: white;
    border-color: var(--sea);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 110, 138, 0.2);
}

.page-item.active {
    background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 100%);
    color: white;
    border-color: var(--sea-deep);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(6, 78, 99, 0.2);
}

/* ── FOOTER REDESIGN ── */
.footer {
    background: var(--sea-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 2rem 0;
    font-size: 0.88rem;
    margin-top: 5rem;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

.footer-wave path {
    fill: var(--sea-deep);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-col h5 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-sans);
}

.footer-brand h4 span {
    color: var(--gold-light);
}

.footer-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: transparent;
    border-radius: 50%;
    padding: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.footer-col-about p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.82rem;
}

.footer-bottom strong {
    color: var(--gold-light);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .sidebar {
        display: block !important;
        position: fixed;
        left: -260px;
        top: 72px;
        height: calc(100vh - 72px);
        width: 250px;
        z-index: 998;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar.scrolled~.admin-layout .sidebar {
        top: 64px;
        height: calc(100vh - 64px);
    }

    .admin-layout.sidebar-mobile-open .sidebar {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: 72px;
        background: rgba(6, 22, 35, 0.4);
        z-index: 997;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }

    .navbar.scrolled~.admin-layout .sidebar-overlay {
        top: 64px;
    }

    .admin-layout.sidebar-mobile-open .sidebar-overlay {
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .navbar-nav {
        display: none;
    }

    table {
        font-size: 0.8rem;
    }

    .modal {
        max-width: 100%;
    }

    .search-bar {
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    /* Global mobile improvements */
    html {
        font-size: 14px;
    }

    body {
        overflow-x: hidden;
    }

    /* Navbar */
    .navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-brand h1 {
        font-size: 1.2rem;
    }

    .navbar-brand h1 span {
        display: block;
        font-size: 0.8rem;
    }

    .navbar-actions {
        gap: 0.5rem;
    }

    /* Collapse the profile button to just the avatar; name + Logout live in the dropdown */
    .user-menu {
        padding: 6px;
    }

    .user-menu .user-menu-name,
    .user-menu .user-role-badge {
        display: none;
    }

    .profile-dropdown {
        position: fixed;
        top: 64px;
        right: 10px;
        left: 10px;
        width: auto;
    }

    /* Forms */
    input,
    textarea,
    select {
        font-size: 16px !important;
        /* Prevent zoom on iOS */
    }

    button {
        min-height: 44px;
        /* Better touch target */
    }

    /* Cards and containers */
    .card {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Tables */
    table {
        font-size: 0.75rem !important;
    }

    /* Modals */
    .modal {
        margin: 0 1rem;
    }

    /* Facility cards */
    .facility-card {
        margin-bottom: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }

    /* Headings */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Hero section */
    .hero h2 {
        font-size: 1.5rem !important;
    }

    /* Grid layouts */
    .grid {
        grid-template-columns: 1fr;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    /* Dashboard specific */
    .page-header {
        padding: 1.5rem 0 1rem;
        margin-bottom: 1.5rem;
    }

    .page-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    /* Page header button responsiveness */
    .page-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .page-header .btn {
        width: 100%;
        text-align: center;
    }

    /* Stats cards - single column on small screens */
    .stat-card {
        padding: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-icon {
        font-size: 1.4rem;
    }

    /* Tabs - horizontal scroll */
    .tabs {
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0 0 0.5rem 0;
        margin-bottom: 1rem;
    }

    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Table wrapper - horizontal scroll */
    .table-wrapper {
        overflow-x: auto;
    }

    /* Table on mobile */
    table {
        min-width: 600px;
    }

    thead th {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    tbody td {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    /* Badges on mobile */
    .badge {
        padding: 2px 8px;
        font-size: 0.7rem;
    }

    /* Empty state */
    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-state .empty-icon {
        font-size: 2rem;
    }

    /* Action buttons in table on mobile */
    .btn-sm {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        min-height: 36px;
    }

    /* Ensure table actions are accessible on mobile */
    tbody td:last-child {
        padding: 8px 12px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Extra small adjustments */
    .navbar-brand h1 {
        font-size: 1rem;
    }

    /* Padding reductions */
    .container {
        padding: 0 0.75rem;
    }

    .card {
        padding: 0.75rem;
    }

    /* Button sizing */
    button {
        min-height: 40px;
    }
}

/* ── LOADING & PAGE TRANSITIONS ── */
.loon-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(6, 78, 99, 0.12);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
}

.loon-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loon-loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.loon-loader.fade-out .loon-loader-content {
    transform: scale(0.94);
}

.loon-loader-logo-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Soft golden glow pulsing behind the logo */
.loon-loader-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.3), transparent 70%);
    animation: loon-glow 2.4s ease-in-out infinite;
}

.loon-loader-logo {
    width: 118px;
    height: 118px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 50%;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
    animation: loon-pulse 2.4s ease-in-out infinite;
    z-index: 2;
}

/* Inner gold arc — conic gradient ring */
.loon-loader-spinner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0% 65%, rgba(232, 184, 75, 0.4) 80%, var(--gold-light) 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: loon-spin 1.1s linear infinite;
    z-index: 1;
}

/* Outer white ring spinning the other way */
.loon-loader-ring {
    position: absolute;
    inset: -16px;
    border: 2px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    animation: loon-spin-rev 2.6s linear infinite;
    z-index: 1;
}

.loon-loader-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.loon-loader-text {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.loon-loader-text span {
    color: var(--gold-light);
}

.loon-loader-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.loon-loader-dots {
    display: flex;
    gap: 9px;
}

.loon-loader-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 8px rgba(232, 184, 75, 0.5);
    animation: loon-dot 1.2s ease-in-out infinite;
}

.loon-loader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loon-loader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes loon-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loon-spin-rev {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes loon-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes loon-glow {

    0%,
    100% {
        opacity: 0.55;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

@keyframes loon-dot {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    30% {
        transform: translateY(-7px);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .loon-loader-logo-wrap {
        width: 128px;
        height: 128px;
    }

    .loon-loader-logo {
        width: 94px;
        height: 94px;
    }

    .loon-loader-text {
        font-size: 2rem;
    }

    .loon-loader-tagline {
        font-size: 0.72rem;
        letter-spacing: 2px;
    }
}

/* Page entrance animations */
.main-content,
.login-card,
.hero,
.container:not(.footer-container) {
    animation: loon-fade-up 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes loon-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(10, 110, 138, 0.15);
    border-top-color: var(--sea);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
    box-shadow: 0 0 0 2px transparent;
}

.btn:disabled,
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    margin-left: 4px;
}

/* ── NOTIFICATION DROPDOWN ── */
.notif-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 360px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    z-index: 9999;
    overflow: hidden;
}

.notif-dropdown.show {
    display: block;
}

.notif-dropdown-header {
    padding: 14px 16px;
    background: var(--sea-deep);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
}

.notif-item:hover {
    background: var(--sand);
}

.notif-item.unread {
    background: rgba(10, 110, 138, 0.05);
}

.notif-item .notif-title {
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 3px;
}

.notif-item .notif-msg {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.notif-item .notif-time {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.notif-position {
    position: relative;
}

/* Mobile notification dropdown */
@media (max-width: 600px) {
    .notif-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Print */
@media print {

    .navbar,
    .sidebar,
    .btn,
    footer {
        display: none;
    }

    .main-content {
        padding: 0;
    }
}


/* Calendar selected date styling */
.calendar-day.selected {
    background: var(--sea-light) !important;
    border: 2px solid var(--sea-deep) !important;
    box-shadow: 0 0 8px rgba(10, 110, 138, 0.3);
}

.calendar-day.selected .day-num {
    background: var(--sea-deep);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ── ANIMATIONS & EFFECTS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children>* {
    opacity: 0;
}

.stagger-children.visible>* {
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stagger-children.visible>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(5) {
    animation-delay: 0.5s;
}

/* ── STATS BAR REDESIGN ── */
.stats-showcase {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4.5rem;
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 180px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-item-number {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    color: var(--sea);
}

.stat-item-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

@media (max-width: 768px) {
    .stats-showcase {
        padding: 2rem;
        gap: 1.5rem;
    }

    .stats-divider {
        display: none;
    }
}

/* ── HOW IT WORKS REDESIGN ── */
.how-it-works-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 4rem;
    position: relative;
}

.how-it-works-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--sea-deep);
    margin-bottom: 3.5rem;
    font-weight: 700;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    text-align: center;
    position: relative;
}

.step-card {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon-wrap {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.step-card:hover .step-icon-wrap {
    transform: scale(1.15) rotate(5deg);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(6, 78, 99, 0.25);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--sea-deep);
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (min-width: 992px) {
    .steps-container::before {
        content: '';
        position: absolute;
        top: 110px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(to right, var(--sea-light), var(--gold-light), var(--success));
        opacity: 0.25;
        z-index: 1;
    }
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li::after {
    content: '›';
    font-size: 1.1rem;
    line-height: 1;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: var(--sea);
    transition: var(--transition);
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--sea-deep);
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: var(--text-muted);
    font-weight: 400;
    pointer-events: none;
}

/* ── SEARCH BAR PREMIUM ── */
.search-bar-premium {
    background: white;
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    max-width: 500px;
    width: 100%;
}

.search-bar-premium:focus-within {
    border-color: var(--sea);
    box-shadow: 0 0 0 3px rgba(10, 110, 138, 0.12);
}

.search-bar-premium .icon {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-bar-premium .form-control {
    border: none;
    padding: 8px 4px;
    box-shadow: none;
    background: transparent;
}

.search-bar-premium .form-control:focus {
    box-shadow: none;
}

/* ── LOGIN / REGISTER GLASS OVERLAY & CARD ── */
.login-page {
    background: linear-gradient(135deg, rgba(6, 78, 99, 0.9), rgba(10, 110, 138, 0.95)),
        url('../images/uploads/0f640bd8-ed33-4894-a3f6-7c2535c41be2.jpg');
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(8px);
}

.login-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    animation: fadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-logo .logo-circle {
    background: transparent;
    box-shadow: none;
    animation: float 4s ease-in-out infinite;
}

/* ── DASHBOARD & SIDEBAR ACCENTS ── */
.sidebar-link {
    position: relative;
    transition: var(--transition);
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 4px;
    background: var(--sea);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transition: var(--transition);
}

.sidebar-link:hover::before {
    transform: scaleY(0.5);
}

.sidebar-link.active::before {
    transform: scaleY(1);
    background: var(--sea-deep);
}

.admin-layout.sidebar-collapsed .sidebar-link::before {
    display: none !important;
}

.sidebar-link.active {
    background: rgba(10, 110, 138, 0.08);
    color: var(--sea-deep);
    font-weight: 600;
}

/* Stat Cards Premium Polish */
.stat-card {
    border-top: 4px solid var(--sea);
    transition: var(--transition);
}

.stat-card.sea {
    border-top-color: var(--sea);
}

.stat-card.gold {
    border-top-color: var(--gold);
}

.stat-card.success {
    border-top-color: var(--success);
}

.stat-card.info {
    border-top-color: var(--info);
}

.stat-card.danger {
    border-top-color: var(--danger);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15);
    opacity: 0.45;
}

.stat-icon {
    transition: var(--transition);
}

/* Table Hover highlights */
tbody tr {
    transition: var(--transition-fast);
}

tbody tr:hover {
    background: rgba(10, 110, 138, 0.03) !important;
}

/* ── FACILITY DETAIL GRID ── */
.facility-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .facility-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .facility-detail-grid>div:nth-child(2) .card {
        position: static !important;
    }
}

/* ── ADD-ON GRID ROW ── */
.addon-grid-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.addon-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.addon-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

.addon-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.addon-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.addon-stock-badge {
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    display: inline-block;
    text-align: center;
}

.addon-controls-col {
    display: flex;
    justify-content: flex-end;
}

/* ── LUCIDE ICON INTEGRATION ── */
.lucide {
    width: 1.1rem;
    height: 1.1rem;
    stroke-width: 2.25;
    vertical-align: middle;
    display: inline-block;
}

/* Sidebar Specific */
.sidebar-link .lucide {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    transition: transform var(--transition-fast);
}

.sidebar-link:hover .lucide {
    transform: scale(1.1);
}

/* Button Specific */
.btn .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover .lucide {
    transform: scale(1.15);
}

.btn-sm .lucide {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* ── ICON-ONLY BUTTONS ── */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-icon .lucide {
    width: 18px;
    height: 18px;
    margin: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-icon:hover .lucide {
    transform: scale(1.2);
}

.btn-icon:active {
    transform: scale(0.92);
}

.btn-icon:active .lucide {
    transform: scale(1);
}

/* Icon-only size variants */
.btn-icon.btn-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.btn-icon.btn-icon-sm .lucide {
    width: 15px;
    height: 15px;
}

.btn-icon.btn-icon-lg {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.btn-icon.btn-icon-lg .lucide {
    width: 22px;
    height: 22px;
}

/* Icon button color variants */
.btn-icon.btn-icon-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-icon.btn-icon-primary:hover {
    box-shadow: 0 4px 16px rgba(6, 78, 99, 0.35);
    transform: translateY(-2px);
}

.btn-icon.btn-icon-success {
    background: linear-gradient(135deg, #2e9e5e 0%, var(--success) 100%);
    color: white;
}

.btn-icon.btn-icon-success:hover {
    box-shadow: 0 4px 16px rgba(46, 125, 83, 0.4);
    transform: translateY(-2px);
}

.btn-icon.btn-icon-danger {
    background: linear-gradient(135deg, #d04040 0%, var(--danger) 100%);
    color: white;
}

.btn-icon.btn-icon-danger:hover {
    box-shadow: 0 4px 16px rgba(184, 50, 50, 0.4);
    transform: translateY(-2px);
}

.btn-icon.btn-icon-warning {
    background: linear-gradient(135deg, #e89830 0%, var(--warning) 100%);
    color: white;
}

.btn-icon.btn-icon-warning:hover {
    box-shadow: 0 4px 16px rgba(201, 122, 26, 0.4);
    transform: translateY(-2px);
}

.btn-icon.btn-icon-gold {
    background: var(--gradient-gold);
    color: var(--sea-deep);
}

.btn-icon.btn-icon-gold:hover {
    box-shadow: 0 4px 16px rgba(201, 153, 44, 0.45);
    transform: translateY(-2px);
}

.btn-icon.btn-icon-ghost {
    background: transparent;
    color: var(--text-muted);
    box-shadow: none;
    border: 1.5px solid var(--border);
}

.btn-icon.btn-icon-ghost:hover {
    background: var(--sand);
    color: var(--sea);
    border-color: var(--sea-light);
    box-shadow: 0 2px 12px rgba(10, 110, 138, 0.12);
    transform: translateY(-1px);
}

/* ── BUTTON TOOLTIP ── */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--sea-deep);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-sans);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 5px solid transparent;
    border-top-color: var(--sea-deep);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── BUTTON RIPPLE EFFECT ── */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255, 255, 255, 0.35) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.btn-ripple:active::after {
    opacity: 1;
    transition: opacity 0s;
}

/* ── BUTTON SHINE EFFECT (premium) ── */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.btn-shine:hover::before {
    left: 125%;
    transition: left 0.6s ease;
}

.admin-payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.admin-payment-method-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.admin-payment-method-row:hover {
    border-color: rgba(10, 110, 138, 0.25);
}

.admin-payment-method-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-payment-method-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(6, 78, 99, 0.08);
    color: var(--sea-deep);
}

.admin-payment-method-name {
    font-weight: 700;
    color: var(--sea-deep);
    margin-bottom: 0.2rem;
}

.admin-payment-method-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.admin-payment-method-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-toggle {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-dark);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-toggle-on {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #166534;
}

.btn-toggle-off {
    background: rgba(108, 117, 125, 0.08);
    border-color: rgba(108, 117, 125, 0.28);
    color: #495057;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.transaction-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    align-items: center;
}

.transaction-leading {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-width: 0;
}

.transaction-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(6, 78, 99, 0.12);
    color: var(--sea-deep);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1rem;
}

.transaction-title {
    font-weight: 700;
    color: var(--sea-deep);
}

.transaction-note {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.transaction-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.transaction-amount {
    font-weight: 700;
    color: var(--success);
}

.transaction-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.policy-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    background: rgba(6, 78, 99, 0.04);
}

.policy-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
}

.policy-value {
    font-weight: 700;
    color: var(--sea-deep);
}

.admin-section-grid {
    display: grid;
}

/* ── ACTION BUTTON GROUP (table cells) ── */
.action-btn-group {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
}

/* ── ENHANCED ACTION BUTTONS WITH ICONS ── */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    min-height: 32px;
}

.btn-action .lucide {
    width: 14px;
    height: 14px;
    margin: 0;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-action:hover .lucide {
    transform: scale(1.15);
}

.btn-action:active {
    transform: scale(0.96);
}

.btn-action-view {
    background: linear-gradient(135deg, #0a7e9e 0%, var(--sea) 100%);
    color: white;
}

.btn-action-view:hover {
    box-shadow: 0 3px 12px rgba(10, 110, 138, 0.35);
    transform: translateY(-1px);
}

.btn-action-edit {
    background: linear-gradient(135deg, #4a8bb5 0%, #3a7ba5 100%);
    color: white;
}

.btn-action-edit:hover {
    box-shadow: 0 3px 12px rgba(74, 139, 181, 0.35);
    transform: translateY(-1px);
}

.btn-action-cancel {
    background: linear-gradient(135deg, #c04040 0%, var(--danger) 100%);
    color: white;
}

.btn-action-cancel:hover {
    box-shadow: 0 3px 12px rgba(184, 50, 50, 0.35);
    transform: translateY(-1px);
}

.btn-action-approve {
    background: linear-gradient(135deg, #2e9e5e 0%, var(--success) 100%);
    color: white;
}

.btn-action-approve:hover {
    box-shadow: 0 3px 12px rgba(46, 125, 83, 0.4);
    transform: translateY(-1px);
}

.btn-action-disapprove {
    background: linear-gradient(135deg, #d04040 0%, var(--danger) 100%);
    color: white;
}

.btn-action-disapprove:hover {
    box-shadow: 0 3px 12px rgba(184, 50, 50, 0.4);
    transform: translateY(-1px);
}

/* ── QUICK ACTION CARDS (dashboard) ── */
.quick-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.quick-action-btn .lucide {
    width: 18px;
    height: 18px;
    margin: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quick-action-btn:hover .lucide {
    transform: scale(1.2) rotate(-5deg);
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
}

.quick-action-btn:hover::before {
    left: 125%;
    transition: left 0.55s ease;
}

.quick-action-btn:active {
    transform: scale(0.97);
}

.quick-action-btn.qa-warning {
    background: linear-gradient(135deg, #e89830 0%, var(--warning) 100%);
    color: white;
}

.quick-action-btn.qa-warning:hover {
    box-shadow: 0 6px 20px rgba(201, 122, 26, 0.4);
    transform: translateY(-2px);
}

.quick-action-btn.qa-primary {
    background: var(--gradient-primary);
    color: white;
}

.quick-action-btn.qa-primary:hover {
    box-shadow: 0 6px 20px rgba(6, 78, 99, 0.35);
    transform: translateY(-2px);
}

.quick-action-btn.qa-secondary {
    background: var(--white);
    color: var(--text);
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-action-btn.qa-secondary:hover {
    background: var(--sand);
    border-color: var(--sea-light);
    color: var(--sea);
    box-shadow: 0 4px 16px rgba(10, 110, 138, 0.12);
    transform: translateY(-2px);
}

.quick-action-btn.qa-success {
    background: linear-gradient(135deg, #2e9e5e 0%, var(--success) 100%);
    color: white;
}

.quick-action-btn.qa-success:hover {
    box-shadow: 0 6px 20px rgba(46, 125, 83, 0.4);
    transform: translateY(-2px);
}

/* ── PULSE BADGE (for notification counts) ── */
.pulse-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 4px;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Stat Cards Specific */
.stat-card .lucide {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.2rem;
    height: 2.2rem;
    opacity: 0.25;
    transition: transform var(--transition);
}

.stat-card:hover .lucide {
    transform: scale(1.15);
    opacity: 0.45;
}

.stat-item .lucide {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
}

/* Plain stat icon — single muted tone, numbers lead. Clean & formal. */
/* Homepage stats-bar icon — distinct from the admin dashboard's
   .stat-icon (which is an absolutely-positioned watermark). */
.stat-bar-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 12px;
    display: block;
    color: var(--text-muted);
    opacity: 0.7;
    stroke-width: 1.75;
}

/* ───────────────────────────────────────────────
   HOMEPAGE — shared section + card helpers
   (extracted from per-element inline styles)
   ─────────────────────────────────────────────── */

/* Consistent vertical rhythm between major homepage sections */
.home-section { margin-top: 5rem; }
.home-section--last { margin-bottom: 5rem; }

/* Centered section header: eyebrow → title → lead paragraph */
.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-head .section-title,
.section-head .how-it-works-title {
    border: none;
    margin-bottom: 0.5rem;
}
.section-head p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* FAQ accordion wrapper */
.faq-accordion {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Step icon (How it works) — colour was previously inline */
.step-icon-wrap { color: var(--sea); }
.step-icon-wrap .lucide { width: 36px; height: 36px; }

/* Facility card — category badge (was a long inline style) */
.card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6, 78, 99, 0.82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.card-category-badge .lucide { width: 12px; height: 12px; }

/* Placeholder shown when a facility has no image */
.card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    width: 100%;
}
.card-img-placeholder .lucide {
    width: 64px;
    height: 64px;
    color: rgba(10, 110, 138, 0.25);
}

/* Premium Back Button Style */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
}

.btn-back i,
.btn-back svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-back:hover {
    color: var(--sea-deep);
    background: var(--white);
    border-color: var(--sea);
    box-shadow: 0 4px 12px rgba(6, 78, 99, 0.08);
    transform: translateY(-1px);
}

.btn-back:hover i,
.btn-back:hover svg {
    transform: translateX(-4px);
}

.btn-back:active {
    transform: translateY(1px);
}

/* ==========================================
   ── LANDING PAGE OVERHAUL STYLES ──
   ========================================== */

/* Hero Search & Filter Bar Widget */
.hero-search-wrapper {
    max-width: 960px;
    margin: 2.5rem auto 0;
    width: 100%;
    position: relative;
    z-index: 100;
}

.hero-search-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 8px;
    gap: 8px;
    box-shadow: 0 20px 50px rgba(6, 78, 99, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    align-items: center;
    transition: all 0.3s ease;
}

.hero-search-bar:focus-within {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 25px 60px rgba(6, 78, 99, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.search-col {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.15);
    min-width: 0;
}

.search-col:last-of-type {
    border-right: none;
}

.search-icon {
    color: rgba(255, 255, 255, 0.85);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.search-field {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    font-weight: 500;
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.select-field {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 16px;
    padding-right: 20px;
}

.select-field option {
    background: var(--sea-deep);
    color: white;
    padding: 8px;
}

.search-btn {
    background: var(--gradient-gold);
    color: var(--sea-deep);
    border: none;
    border-radius: 100px;
    height: 48px;
    padding: 0 24px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(201, 153, 44, 0.3);
    flex-shrink: 0;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 153, 44, 0.55);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    padding: 0;
    justify-content: center;
    box-shadow: none;
}

.search-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Premium Card Overlay Tag & Hover Effects */
.card-img-wrap {
    position: relative;
    overflow: hidden;
}

.card-img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card:hover .card-img {
    transform: scale(1.08);
}

/* Why Choose Us Section */
.why-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.2rem 2rem;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sea), var(--gold));
    opacity: 0;
    transition: opacity 0.3s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 110, 138, 0.25);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(10, 110, 138, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sea);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.why-icon-wrap svg,
.why-icon-wrap i {
    width: 24px;
    height: 24px;
}

.why-card:hover .why-icon-wrap {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(6, 78, 99, 0.2);
}

.why-card h4 {
    font-size: 1.2rem;
    color: var(--sea-deep);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Timeline/Stepper Connector Improvements */
.steps-container {
    position: relative;
}

.steps-line-connector {
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--sea-light) 0%, var(--gold-light) 50%, var(--success) 100%);
    opacity: 0.2;
    z-index: 1;
    display: block;
}

.step-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 110, 138, 0.25);
}

.step-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--sea-deep);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(201, 153, 44, 0.3);
    border: 2px solid white;
}

.step-card:hover .step-badge {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 78, 99, 0.3);
    transform: translateX(-50%) scale(1.1);
}

/* Interactive FAQ Accordion */
.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(10, 110, 138, 0.25);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--sea-deep);
    text-align: left;
    gap: 12px;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--sea);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--sea);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
    padding: 0 24px;
    background: linear-gradient(to bottom, transparent, rgba(10, 110, 138, 0.01));
}

.faq-item.active .faq-answer {
    max-height: 250px;
    /* high enough threshold for the text */
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(10, 110, 138, 0.25);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

/* Scroll Animation Delay helper classes */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* Responsive adjustments for overhauls */
@media (max-width: 991px) {
    .hero-search-bar {
        flex-direction: column;
        border-radius: 24px;
        padding: 16px;
    }

    .search-col {
        width: 100%;
        border-right: none;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
        padding: 12px 8px;
    }

    .search-col:last-of-type {
        border-bottom: none;
        margin-bottom: 8px;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .steps-line-connector {
        display: none;
    }
}

/* ==========================================
   ── NEWSPAPER EDITORIAL HOW-IT-WORKS ──
   ========================================== */
.how-it-works-section.newspaper-theme {
    background: #fdfbf7;
    /* Warm newsprint paper */
    border: 1.5px solid #dcd1ba;
    box-shadow: 0 4px 20px rgba(43, 34, 18, 0.04);
    /* very soft warm shadow */
    padding: 4rem 3rem;
    border-radius: 4px;
    /* flat press print feel */
    margin-bottom: 5rem;
}

.how-it-works-section.newspaper-theme .how-it-works-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.how-it-works-section.newspaper-theme p.sub-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #555555;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
    border-bottom: 1.5px solid #dcd1ba;
    padding-bottom: 1.5rem;
}

.how-it-works-section.newspaper-theme .steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* columns touch and form vertical lines */
    border-top: 4px double #1a1a1a;
    border-bottom: 4px double #1a1a1a;
    padding: 2.5rem 0;
}

.how-it-works-section.newspaper-theme .steps-line-connector {
    display: none;
}

.how-it-works-section.newspaper-theme .step-card {
    background: transparent;
    border: none;
    border-right: 1.5px solid #e6decb;
    /* vertical separator column lines */
    border-radius: 0;
    box-shadow: none;
    padding: 1rem 1.8rem;
    text-align: center;
}

.how-it-works-section.newspaper-theme .step-card:last-child {
    border-right: none;
}

.how-it-works-section.newspaper-theme .step-badge {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #1a1a1a;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    width: auto;
    height: auto;
}

.how-it-works-section.newspaper-theme .step-card:hover .step-badge {
    transform: scale(1.1);
    color: var(--sea);
    background: transparent;
}

.how-it-works-section.newspaper-theme .step-icon-wrap {
    display: none;
    /* remove modern icons to support classic newspaper clean typography */
}

.how-it-works-section.newspaper-theme .step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid #1a1a1a;
    display: inline-block;
    padding-bottom: 4px;
}

.how-it-works-section.newspaper-theme .step-desc {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.88rem;
    color: #444444;
    line-height: 1.6;
    text-align: justify;
}

/* Mobile responsive for newspaper */
@media (max-width: 991px) {
    .how-it-works-section.newspaper-theme {
        padding: 2.5rem 1.5rem;
    }

    .how-it-works-section.newspaper-theme .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        border-top: 3px double #1a1a1a;
        border-bottom: 3px double #1a1a1a;
    }

    .how-it-works-section.newspaper-theme .step-card {
        border-right: none;
        border-bottom: 1px dashed #dcd1ba;
        padding: 1rem 0.5rem 2rem;
    }

    .how-it-works-section.newspaper-theme .step-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================
   HOMEPAGE AESTHETIC ENHANCEMENTS (2026-06-16)
   Scoped to .home-page so other pages are untouched.
   ========================================== */

/* Decorative, softly-floating colour orbs behind the hero for depth */
.home-page .hero-wave::before,
.home-page .hero-wave::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
}

.home-page .hero-wave::before {
    width: 340px;
    height: 340px;
    top: -60px;
    left: -40px;
    background: radial-gradient(circle, rgba(26, 155, 184, 0.45), transparent 70%);
    animation: heroOrb 14s ease-in-out infinite;
}

.home-page .hero-wave::after {
    width: 300px;
    height: 300px;
    bottom: -40px;
    right: -30px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.4), transparent 70%);
    animation: heroOrb 18s ease-in-out infinite reverse;
}

@keyframes heroOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 24px) scale(1.12);
    }
}

/* Gradient accent on the second line of the hero headline */
.home-page .hero-accent {
    background: linear-gradient(100deg, var(--gold-light) 0%, #ffe9a8 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold-light);
    /* fallback */
    text-shadow: none;
    display: inline-block;
}

/* Live "online" pulse dot inside the hero badge */
.home-page .hero-badge .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
    animation: livePulse 2s infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(61, 220, 132, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(61, 220, 132, 0);
    }
}

/* Animated scroll-down cue at the foot of the hero */
.home-page .hero-scroll {
    position: relative;
    z-index: 10;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    transition: color var(--transition);
    animation: fadeUp 1.6s ease-out;
}

.home-page .hero-scroll:hover {
    color: var(--white);
}

.home-page .hero-scroll i {
    width: 22px;
    height: 22px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

/* Editorial "eyebrow" label above section headings */
.home-page .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.home-page .text-center .section-eyebrow {
    justify-content: center;
}

.home-page .section-eyebrow::before,
.home-page .text-center .section-eyebrow::after {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.home-page .text-center .section-eyebrow::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.home-page .section-eyebrow.light {
    color: var(--gold-light);
}

/* Decorative gradient underline beneath centred homepage section titles */
.home-page .text-center .section-title,
.home-page .text-center .how-it-works-title,
.home-page .section-head .section-title,
.home-page .section-head .how-it-works-title {
    position: relative;
    padding-bottom: 16px;
}

.home-page .text-center .section-title::after,
.home-page .text-center .how-it-works-title::after,
.home-page .section-head .section-title::after,
.home-page .section-head .how-it-works-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: var(--gradient-gold);
}

/* Make section headings & subtitles visible over homepage dark background */
.home-page .text-center .section-title,
.home-page .text-center .how-it-works-title,
.home-page .section-head .section-title,
.home-page .section-head .how-it-works-title {
    color: #ffffff;
}

.home-page .text-center p,
.home-page .section-head p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.home-page .section-eyebrow {
    color: var(--gold-light);
}

/* Gradient legibility scrim over facility card images */
.home-page .card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 99, 0.28), transparent 45%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.home-page .card:hover .card-img-wrap::after {
    opacity: 1;
}

/* Decorative quotation mark on testimonial cards */
.home-page .testimonial-card {
    position: relative;
    overflow: visible;
}

.home-page .testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -18px;
    right: 14px;
    font-size: 6rem;
    line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(201, 153, 44, 0.14);
    pointer-events: none;
    overflow: hidden;
}

/* Closing call-to-action band */
.home-page .cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 3rem 3rem;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.home-page .cta-band-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 20%, rgba(232, 184, 75, 0.35), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(26, 155, 184, 0.4), transparent 50%);
    pointer-events: none;
}

.home-page .cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.home-page .cta-band-text h3 {
    color: var(--white);
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.home-page .cta-band-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin: 0;
    max-width: 560px;
    line-height: 1.6;
}

.home-page .cta-band-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--sea-deep);
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(201, 153, 44, 0.35);
    transition: var(--transition);
    flex-shrink: 0;
}

.home-page .cta-band-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(201, 153, 44, 0.5);
    color: var(--sea-deep);
}

.home-page .cta-band-btn i {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .home-page .cta-band {
        padding: 2.25rem 1.5rem;
        text-align: center;
    }

    .home-page .cta-band-inner {
        justify-content: center;
    }

    .home-page .cta-band-text h3 {
        font-size: 1.55rem;
    }

    .home-page .hero-accent {
        display: inline;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    .home-page .hero-wave::before,
    .home-page .hero-wave::after,
    .home-page .hero-badge .live-dot,
    .home-page .hero-scroll i {
        animation: none;
    }
}

/* ── LOON CONFIRM MODAL OVERHAUL ── */
.confirm-modal-overlay {
    background: rgba(6, 22, 35, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.25s ease;
}

.confirm-modal-overlay.active {
    display: flex;
}

.confirm-modal {
    text-align: center;
    padding: 2.25rem 1.75rem 1.75rem;
    overflow: visible;
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 100px rgba(10, 110, 138, 0.1);
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 10px rgba(6, 78, 99, 0.08);
    animation: pulseIcon 2s infinite;
}

.confirm-modal-icon-wrap i {
    width: 32px;
    height: 32px;
}

/* Color types */
.confirm-modal-icon-wrap.danger {
    background: rgba(184, 50, 50, 0.1);
    color: var(--danger);
    outline: 6px solid rgba(184, 50, 50, 0.05);
}
.confirm-modal-icon-wrap.warning {
    background: rgba(201, 122, 26, 0.1);
    color: var(--warning);
    outline: 6px solid rgba(201, 122, 26, 0.05);
}
.confirm-modal-icon-wrap.success {
    background: rgba(46, 125, 83, 0.1);
    color: var(--success);
    outline: 6px solid rgba(46, 125, 83, 0.05);
}
.confirm-modal-icon-wrap.gold {
    background: rgba(201, 153, 44, 0.1);
    color: var(--gold);
    outline: 6px solid rgba(201, 153, 44, 0.05);
}
.confirm-modal-icon-wrap.info {
    background: rgba(10, 110, 138, 0.1);
    color: var(--sea);
    outline: 6px solid rgba(10, 110, 138, 0.05);
}

.confirm-modal-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sea-deep);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.confirm-modal-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.confirm-modal-footer {
    border-top: none;
    background: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.confirm-modal-footer button, 
.confirm-modal-footer a {
    flex: 1;
    min-width: 110px;
    padding: 11px 16px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

/* Specific button style overrides for confirmations */
.confirm-modal-footer .btn-danger {
    background: var(--danger);
    color: white;
    border: none;
}
.confirm-modal-footer .btn-danger:hover {
    background: #a02828;
    transform: translateY(-2px);
}
.confirm-modal-footer .btn-success {
    background: var(--success);
    color: white;
    border: none;
}
.confirm-modal-footer .btn-success:hover {
    background: #256643;
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ============================================================
   PAYMENT MODAL (Cash & LOOPS) — FULLSCREEN
   Fills the whole viewport with a fixed header/footer and a
   scrollable body so all content is reachable and nothing
   clips. No hover/scale transforms, so it stays rock-steady.
   ============================================================ */

/* Edge-to-edge overlay — full-screen modal */
.pay-overlay {
    padding: 0;
}

/* Full-screen modal: header + scrollable body + footer fill the viewport.
   The body has a PERMANENT scrollbar (overflow-y:scroll) with symmetric reserved
   gutters, so the scrollbar can never toggle and the content can never shift. */
.modal.pay-modal {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;        /* body scrolls, not the whole modal */
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    /* Opacity-only fade — NO scale/translate, so nothing jumps on reflow. */
    animation: payModalIn 0.2s ease;
    transform: none !important;
}
.modal.pay-modal::before { display: none; }    /* drop the top gradient line */
.modal.pay-modal:hover { transform: none !important; }  /* never shift on hover */

@keyframes payModalIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Fixed header — never scrolls away. Inner content centered to match body. */
.pay-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: white;
}
.pay-modal__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sea-deep);
}
.pay-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(10, 110, 138, 0.15), rgba(10, 110, 138, 0.06));
    color: var(--sea);
    flex-shrink: 0;
}
.pay-modal__icon i { width: 18px; height: 18px; }
.pay-modal__close {
    background: none;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.pay-modal__close:hover { background: var(--sand); color: var(--text); }

/* Scrollable body fills the space between the fixed header & footer.
   Content is centered with a comfortable max width on big screens. */
.pay-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-gutter: stable both-edges;
    padding: 1.75rem 1.5rem;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: #f8f9fa;
}

/* Amount banner */
.pay-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, var(--sea-deep) 0%, #0a6e8a 60%, #0d7ea0 100%);
    color: #fff;
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(6, 78, 99, 0.2);
    position: relative;
    overflow: hidden;
}
.pay-amount::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 120px;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
    border-radius: 50%;
    pointer-events: none;
}
.pay-amount__label { font-size: 0.88rem; opacity: 0.9; font-weight: 500; }
.pay-amount__value { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }

/* Section block */
.pay-section { margin-bottom: 1.5rem; }
.pay-section__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--sea-deep);
    margin-bottom: 0.75rem;
}
.pay-section__title i { width: 16px; height: 16px; color: var(--sea); }

/* Numbered steps — custom badges, no default <ol> markers */
.pay-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.pay-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border);
    margin-bottom: -1px;
    transition: background 0.15s;
}
.pay-step:first-child { border-radius: 12px 12px 0 0; }
.pay-step:last-child { border-radius: 0 0 12px 12px; margin-bottom: 0; }
.pay-step:only-child { border-radius: 12px; }
.pay-step:hover { background: rgba(10, 110, 138, 0.02); }
.pay-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sea), var(--sea-deep));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(10, 110, 138, 0.2);
}
.pay-step__text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text);
    padding-top: 2px;
}

/* Notes / callouts */
.pay-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}
.pay-note i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.pay-note--info {
    background: rgba(10, 110, 138, 0.08);
    color: var(--sea-deep);
    border: 1px solid rgba(10, 110, 138, 0.12);
}
.pay-note--info i { color: var(--sea); }
.pay-note--muted {
    background: white;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.pay-note--warn {
    background: rgba(201, 122, 26, 0.08);
    color: #8a5c00;
    border: 1px solid rgba(201, 122, 26, 0.15);
}
.pay-note--warn i { color: var(--warning); }

/* Footer actions */
/* Fixed footer — always visible at the bottom, never scrolls away */
.pay-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
}

/* Download-app row (LOOPS) */
.pay-app {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pay-app__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(10,110,138,0.1), rgba(10,110,138,0.04));
    color: var(--sea);
    flex-shrink: 0;
}
.pay-app__text { font-size: 0.88rem; line-height: 1.45; flex: 1; }
.pay-app__text strong { color: var(--sea-deep); }

/* Divider with centered label */
.pay-divider {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 1.5rem 0;
}
.pay-divider::before,
.pay-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* QR block */
.pay-qr-wrap { text-align: center; margin: 1.25rem 0; }
.pay-qr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.pay-qr img, .pay-qr canvas { display: block; }
.pay-qr-hint {
    margin-top: 0.7rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Enhanced Payment Method Cards (Selection Grid) ── */
.payment-choice-grid .payment-method-card {
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.payment-choice-grid .payment-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 110, 138, 0.06), rgba(201, 153, 44, 0.03));
    transition: width 0.3s ease;
    z-index: 0;
}
.payment-choice-grid .payment-method-card:hover::before {
    width: 100%;
}
.payment-choice-grid .payment-method-card:hover {
    border-color: rgba(10, 110, 138, 0.35);
    box-shadow: 0 6px 24px rgba(10, 110, 138, 0.1);
    transform: translateY(-2px);
}
.payment-choice-grid .payment-method-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(10, 110, 138, 0.08);
}
.payment-choice-grid .payment-method-card .payment-method-main,
.payment-choice-grid .payment-method-card .payment-method-info,
.payment-choice-grid .payment-method-card .payment-method-icon {
    position: relative;
    z-index: 1;
}
.payment-choice-grid .payment-method-card .payment-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.payment-choice-grid .payment-method-card .payment-method-title {
    font-size: 1rem;
    font-weight: 700;
}
.payment-choice-grid .payment-method-card .payment-method-note {
    font-size: 0.88rem;
    color: var(--text-muted);
}
/* Chevron arrow for selectable cards */
.payment-choice-grid .payment-method-card .pay-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.25s;
    position: relative;
    z-index: 1;
}
.payment-choice-grid .payment-method-card .pay-card-arrow i {
    width: 16px;
    height: 16px;
}
.payment-choice-grid .payment-method-card:hover .pay-card-arrow {
    background: var(--sea);
    color: white;
    box-shadow: 0 3px 10px rgba(10, 110, 138, 0.25);
}

@media (max-width: 540px) {
    /* Full-screen on phones; still a fixed box that scrolls internally (no shift) */
    .pay-overlay { padding: 0; }
    .modal.pay-modal { max-width: 100%; max-height: 100%; height: 100dvh; border-radius: 0; border: none; }
    .pay-modal__body { padding: 1rem 1.1rem; }
    .pay-amount__value { font-size: 1.3rem; }
    .payment-choice-grid .payment-method-card { padding: 0.9rem 1rem; }
    .payment-choice-grid .payment-method-card .payment-method-icon { width: 40px; height: 40px; }
}
