/* =============================================================================
   site.css — Venue24x7 dashboards (Admin + Owner + Account)
   Design system: professional booking-platform palette (deep indigo +
   amber accent), consistent spacing/type scale, and — critically — every
   base HTML element (table, form, button, input) is styled directly, so
   EVERY existing view gets a proper look with zero per-view edits needed.
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&family=Playfair+Display:wght@600;700&display=swap');

:root {
    /* Color */
    --color-bg: #F5F6FB;
    --color-surface: #FFFFFF;
    --color-surface-alt: #EEF0F9;
    --color-primary: #362F78;
    --color-primary-dark: #241E5C;
    --color-primary-tint: #E9E7F7;
    --color-accent: #D97A2B;
    --color-accent-dark: #B4611C;
    --color-accent-tint: #FBEADB;
    --color-ink: #191C2E;
    --color-slate: #5B5F7A;
    --color-slate-light: #9498B3;
    --color-line: #E1E3F0;
    --color-success: #1F8A5F;
    --color-success-tint: #E4F5EC;
    --color-danger: #C0392B;
    --color-danger-tint: #FBEAE8;
    --color-info: #2B6CB0;
    --color-info-tint: #E7F0FA;
    --color-white: #FFFFFF;
    /* Type */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    /* Spacing */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs: 0.75rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    /* Layout */
    --sidebar-width: 240px;
    --topbar-height: 64px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --shadow-sm: 0 1px 3px rgba(25, 28, 46, 0.07);
    --shadow-md: 0 8px 24px rgba(25, 28, 46, 0.10);
}

/* --------------------------------- Reset ---------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-bg);
    line-height: 1.55;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

:focus-visible {
    outline: 2.5px solid var(--color-accent);
    outline-offset: 2px;
}

h1, h2, h3, h4 {
    font-family: var(--font-body);
    color: var(--color-primary-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 var(--space-sm);
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.25rem;
    margin-top: var(--space-lg);
}

h3 {
    font-size: 1.05rem;
}

p {
    margin: 0 0 var(--space-xs);
}

small {
    color: var(--color-slate);
    font-size: 0.82rem;
}

hr {
    border: none;
    border-top: 1px solid var(--color-line);
    margin: var(--space-md) 0;
}

/* ------------------------------- Page shell -------------------------------- */
main[role="main"] {
    display: block;
    max-width: 1180px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md) var(--space-xl);
}

/* --------------------------------- Buttons ---------------------------------- */
button, .btn, input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    background: var(--color-primary);
    color: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
    text-decoration: none;
}

    button:hover, .btn:hover, input[type="submit"]:hover {
        background: var(--color-primary-dark);
        text-decoration: none;
    }

    button:active, .btn:active {
        transform: translateY(1px);
    }

    button:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

/* Secondary/utility buttons: anything with a "danger"-ish name gets red,
   anything named cancel/back/secondary gets an outline look. Since views
   use plain <button>/<a> without variant classes, this keeps everything
   from looking like a wall of identical solid-primary buttons by giving
   forms a lighter default and reserving solid primary for the main
   submit action (last button/submit in a form visually anchors as primary
   via source order in most of these forms already). */
form button, form input[type="submit"] {
    background: var(--color-primary);
    color: #fff;
}

a.btn, nav a {
    text-decoration: none;
}

/* ---------------------------------- Forms ------------------------------------ */
form {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}
    /* Inline filter/search forms (GET forms at the top of list pages) shouldn't
   look like a heavy card — flatten them into a toolbar instead. */
    form[method="get"] {
        display: flex;
        flex-wrap: wrap;
        align-items: end;
        gap: var(--space-xs);
        padding: var(--space-sm) var(--space-md);
        background: var(--color-surface-alt);
        border: none;
    }

        form[method="get"] > div, form > div {
            margin-bottom: var(--space-sm);
        }

        form[method="get"] > div {
            margin-bottom: 0;
        }

label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.3rem;
}

input, select, textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.92rem;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

form[method="get"] input, form[method="get"] select {
    width: auto;
    min-width: 160px;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-tint);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

fieldset {
    border: 1.5px solid var(--color-line);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    margin: 0 0 var(--space-sm);
}

legend {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-primary-dark);
    padding: 0 0.4rem;
}

fieldset label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    margin-right: var(--space-md);
    margin-bottom: 0.5rem;
    color: var(--color-ink);
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
    accent-color: var(--color-primary);
}

.field-validation-error, span[class*="field-validation"] {
    color: var(--color-danger);
    font-size: 0.78rem;
    display: block;
    margin-top: 0.2rem;
}

.validation-summary-errors {
    background: var(--color-danger-tint);
    border: 1px solid #EFC5BE;
    color: var(--color-danger);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-sm);
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 1.1rem;
    }

/* --------------------------------- Tables ------------------------------------ */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
}

thead th {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-slate);
    background: var(--color-surface-alt);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-line);
}

tbody td {
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--color-line);
    vertical-align: middle;
}

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

tbody tr:hover {
    background: var(--color-surface-alt);
}

td.mono, .mono {
    font-family: var(--font-mono);
}

/* --------------------------------- Badges/tags -------------------------------- */
.badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    text-transform: capitalize;
    background: var(--color-slate-light);
    color: #fff;
}

.badge-pending {
    background: var(--color-accent);
}

.badge-confirmed, .badge-approved, .badge-paid, .badge-active {
    background: var(--color-success);
}

.badge-completed {
    background: var(--color-info);
}

.badge-cancelled, .badge-rejected {
    background: var(--color-danger);
}

.badge-partiallypaid {
    background: #A9781F;
}

.badge-unpaid {
    background: var(--color-slate-light);
}

.badge-refunded {
    background: var(--color-info);
}

.tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.22rem 0.55rem;
    border-radius: var(--radius-sm);
    background: var(--color-surface-alt);
    color: var(--color-slate);
    border: 1px solid var(--color-line);
}

/* --------------------------------- Stat cards --------------------------------- */
section[aria-label="Overview"] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    box-shadow: var(--shadow-sm);
}

    .stat-card strong {
        display: block;
        font-size: 1.6rem;
        font-family: var(--font-mono);
        color: var(--color-primary-dark);
    }

    .stat-card span {
        font-size: 0.78rem;
        color: var(--color-slate);
    }

/* ------------------------------- Chart canvases -------------------------------- */
section[aria-label="Charts"] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

    section[aria-label="Charts"] > div {
        background: var(--color-surface);
        border: 1px solid var(--color-line);
        border-radius: var(--radius-md);
        padding: var(--space-md);
        box-shadow: var(--shadow-sm);
    }

/* --------------------------------- Status messages ----------------------------- */
main[role="main"] > p:first-of-type:has(+ table),
main > p.status-message {
    color: var(--color-success);
    font-weight: 600;
}

/* ------------------------------- App shell (Admin/Owner) ------------------------ */
body:has(.app-shell) {
    margin: 0;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: var(--color-primary-dark);
    color: #E4E1F7;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.app-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: var(--space-md);
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.app-sidebar__brand-mark {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.app-sidebar__brand span {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #B7B0E8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-sidebar nav {
    display: flex;
    flex-direction: column;
    padding: var(--space-sm);
    gap: 0.15rem;
    flex: 1;
}

    .app-sidebar nav a {
        color: #D3D0F0;
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 600;
        padding: 0.65rem 0.85rem;
        border-radius: var(--radius-sm);
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        .app-sidebar nav a:hover {
            background: rgba(255,255,255,0.08);
            color: #fff;
        }

        .app-sidebar nav a.active {
            background: var(--color-accent);
            color: #fff;
        }

.app-sidebar__footer {
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.12);
}

    .app-sidebar__footer button {
        width: 100%;
        background: transparent;
        border: 1.5px solid rgba(255,255,255,0.25);
        color: #E4E1F7;
    }

        .app-sidebar__footer button:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.4);
        }

.app-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-topbar__title {
    font-weight: 700;
    color: var(--color-primary-dark);
}

.app-topbar .badge-manager {
    background: var(--color-accent-tint);
    color: var(--color-accent-dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary-dark);
    font-size: 1.3rem;
    padding: 0.3rem;
}

.app-main main[role="main"] {
    max-width: 1180px;
}

/* --------------------------------- Auth pages (root layout) -------------------- */
body.auth-body {
    background: linear-gradient(180deg, var(--color-primary-tint) 0%, var(--color-bg) 60%);
}

.auth-card {
    max-width: 460px;
    margin: var(--space-xl) auto;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
}

    .auth-card form {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: none;
    }

.auth-brand {
    text-align: center;
    font-weight: 800;
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

    .auth-brand img {
        display: block;
        max-width: 220px;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

/* ------------------- Split-screen auth (Login / Sign Up / Register) ------------------- */
/* Used by _CustomerAuthLayout: a decorative venue scene on one side (see
   wwwroot/images/auth-venue-illustration.svg — original vector artwork,
   not a stock photo) and the actual form on the other. The remaining
   plain-status pages (PendingApproval, AccessDenied, AcceptInvite) stay
   on the simpler centered _Layout above — they're confirmations, not
   entry points, so the full scene would be wasted on them. */
body.auth-split-body {
    background: var(--color-surface);
}

.auth-split {
    min-height: 100vh;
    display: flex;
}

.auth-split__visual {
    position: relative;
    flex: 1 1 46%;
    max-width: 560px;
    min-height: 100vh;
    background-color: #3B1228;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
    overflow: hidden;
}

    .auth-split__visual::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(59, 18, 40, 0.08) 0%, rgba(40, 10, 26, 0.32) 55%, rgba(40, 10, 26, 0.9) 100%);
    }

.auth-split__visual-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    color: #fff;
}

.auth-split__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

    .auth-split__brand:hover {
        text-decoration: none;
    }

    .auth-split__brand img {
        width: 38px;
        height: 38px;
        display: block;
    }

    .auth-split__brand em {
        font-style: normal;
        color: #F6C6D6;
    }

.auth-split__quote {
    margin-top: var(--space-xl);
    max-width: 380px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: var(--space-md);
}

    .auth-split__quote p {
        font-family: var(--font-display);
        font-size: 1.55rem;
        line-height: 1.35;
        margin: 0 0 0.5rem;
        color: #fff;
    }

    .auth-split__quote span {
        display: block;
        font-size: 0.84rem;
        color: #F0C3D0;
        letter-spacing: 0.01em;
    }

.auth-split__panel {
    flex: 1 1 54%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--color-surface);
}

.auth-split__panel-inner {
    width: 100%;
    max-width: 420px;
}

    .auth-split__panel-inner form {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: none;
    }

    /* Center login/register buttons in auth forms */
    .auth-split__panel-inner form button,
    .auth-split__panel-inner form input[type="submit"] {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1.5rem;
    }

.auth-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    margin: 0 0 0.5rem;
}

.auth-split__panel-inner h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0 0 0.35rem;
    color: var(--color-ink);
}

.auth-lede {
    color: var(--color-slate);
    margin: 0 0 var(--space-lg);
    font-size: 0.92rem;
}

.auth-footnote {
    margin-top: var(--space-md);
    font-size: 0.88rem;
    color: var(--color-slate);
    text-align: center;
}

@media (max-width: 900px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-split__visual {
        max-width: none;
        min-height: 240px;
        flex: none;
        align-items: center;
        justify-content: center;
        padding: var(--space-lg);
    }

    .auth-split__quote {
        display: none;
    }

    .auth-split__panel {
        flex: none;
        padding: var(--space-lg) var(--space-md) var(--space-xl);
    }
}

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

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

/* ---------------------------------- Responsive ---------------------------------- */
@media (max-width: 960px) {
    section[aria-label="Overview"] {
        grid-template-columns: repeat(2, 1fr);
    }

    section[aria-label="Charts"] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .app-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: var(--shadow-md);
    }

        .app-sidebar.open {
            transform: translateX(0);
        }

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

    .app-main main[role="main"] {
        padding: var(--space-md) var(--space-sm);
    }
}

@media (max-width: 600px) {
    section[aria-label="Overview"] {
        grid-template-columns: 1fr 1fr;
    }

    form[method="get"] {
        flex-direction: column;
        align-items: stretch;
    }

        form[method="get"] input, form[method="get"] select {
            width: 100%;
        }

    table, thead, tbody, th, td, tr {
        display: block;
    }

        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        tbody tr {
            border: 1px solid var(--color-line);
            border-radius: var(--radius-sm);
            margin-bottom: var(--space-sm);
            padding: var(--space-2xs);
        }

        tbody td {
            border-bottom: none;
            padding: 0.35rem 0.6rem;
        }
}

/* ============================================================================
   Storefront (public customer-facing pages) — Phase 8 MVC conversion.
   Distinct from the .app-shell dashboard chrome above: a simple top nav +
   footer, not a sidebar, since browsing/booking is a public, content-first
   experience rather than an internal tool.
   ============================================================================ */
.storefront-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.storefront-header__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    font-size: 1.15rem;
    text-decoration: none;
}

.storefront-header__brand-mark {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.storefront-header__brand-word {
    display: block;
    height: 20px;
    width: auto;
    object-fit: contain;
}

.storefront-header nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

    .storefront-header nav a {
        color: var(--color-ink);
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
    }

        .storefront-header nav a:hover {
            color: var(--color-primary);
        }

.storefront-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.storefront-footer {
    text-align: center;
    padding: var(--space-lg);
    color: var(--color-slate);
    font-size: 0.82rem;
    border-top: 1px solid var(--color-line);
    margin-top: var(--space-xl);
}

.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    margin-bottom: var(--space-lg);
    text-align: center;
}

    .hero h1 {
        color: #fff;
        font-size: 2rem;
        margin-bottom: var(--space-2xs);
    }

    .hero p {
        color: #D3D0F0;
        margin-bottom: var(--space-md);
    }

    .hero form {
        background: #fff;
        display: flex;
        gap: var(--space-2xs);
        max-width: 640px;
        margin: 0 auto;
    }

        .hero form input, .hero form select {
            border: none;
        }

        .hero form button {
            flex-shrink: 0;
        }

.location-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs);
    justify-content: center;
    margin-top: var(--space-md);
}

.location-chip {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

    .location-chip:hover {
        background: rgba(255,255,255,0.28);
        text-decoration: none;
    }

.hall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.hall-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}

    .hall-card:hover {
        box-shadow: var(--shadow-md);
        text-decoration: none;
        transform: translateY(-2px);
    }

.hall-card__image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--color-surface-alt);
    display: block;
}

.hall-card__body {
    padding: var(--space-sm) var(--space-md);
}

.hall-card__name {
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.2rem;
}

.hall-card__meta {
    font-size: 0.8rem;
    color: var(--color-slate);
    margin-bottom: 0.4rem;
}

.hall-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.hall-card__price {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--color-primary-dark);
}

.hall-card__rating {
    color: var(--color-accent-dark);
    font-weight: 600;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-sm);
}

    .section-heading a {
        font-size: 0.85rem;
        font-weight: 600;
    }

.hall-hero-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xs);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
    max-height: 340px;
}

    .hall-hero-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.summary-box {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

/* Customer account area tab nav (Dashboard/Profile/Bookings/Favorites/Reviews) */
.account-nav {
    display: flex;
    gap: var(--space-2xs);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-line);
    flex-wrap: wrap;
}

    .account-nav a {
        padding: 0.6rem 0.9rem;
        font-weight: 600;
        font-size: 0.88rem;
        color: var(--color-slate);
        text-decoration: none;
        border-bottom: 2px solid transparent;
    }

        .account-nav a:hover {
            color: var(--color-primary);
            text-decoration: none;
        }

        .account-nav a.active {
            color: var(--color-primary);
            border-bottom-color: var(--color-primary);
        }

.stat-card__value {
    font-size: 1.7rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--color-primary-dark);
}

.stat-card__label {
    font-size: 0.78rem;
    color: var(--color-slate);
}

.upcoming-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-2xs);
}

    .upcoming-card img {
        width: 64px;
        height: 64px;
        object-fit: cover;
        border-radius: var(--radius-sm);
        flex-shrink: 0;
    }

.upcoming-card__meta {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--color-slate);
    flex-wrap: wrap;
    margin-top: 0.2rem;
}

.favorite-toggle-btn {
    background: transparent;
    border: 1.5px solid var(--color-line);
    color: var(--color-danger);
}

    .favorite-toggle-btn.is-favorited {
        background: var(--color-danger-tint);
        border-color: var(--color-danger);
    }

.star-rating {
    color: var(--color-accent-dark);
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
}

    .star-rating button {
        background: none;
        border: none;
        font-size: inherit;
        color: var(--color-line);
        cursor: pointer;
        padding: 0 0.1rem;
    }

        .star-rating button.filled {
            color: var(--color-accent-dark);
        }

.offer-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.offer-card__media {
    background: var(--color-primary-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.offer-card__body {
    padding: var(--space-sm);
}

/* ============================================================================
   Hall photo upload widget (Owner "Add/Edit Hall" form) — wwwroot/js/owner/
   hall-images.js. Every photo is cropped client-side (Cropper.js) to a
   fixed 1200x775 frame before it's uploaded, so the preview grid below is
   always showing that same aspect ratio regardless of what the owner
   originally selected.
   ============================================================================ */
.hall-image-manager {
    margin-bottom: var(--space-md);
}

.hall-image-manager__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-sm);
    margin: var(--space-sm) 0;
}

.hall-image-thumb {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-line);
    aspect-ratio: 1200 / 775;
    background: var(--color-surface-alt);
}

    .hall-image-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hall-image-thumb__badge {
    position: absolute;
    left: 0.4rem;
    bottom: 0.4rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hall-image-thumb__remove {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
    background: rgba(42, 36, 32, 0.65);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hall-image-thumb__remove:hover {
        background: var(--color-danger);
    }

.hall-image-manager__add-btn {
    display: inline-flex;
    margin-right: var(--space-sm);
    cursor: pointer;
}

.hall-image-manager__status {
    font-size: 0.82rem;
    color: var(--color-slate);
}

.hall-image-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

    .hall-image-crop-modal[hidden] {
        display: none;
    }

.hall-image-crop-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(42, 36, 32, 0.6);
}

.hall-image-crop-modal__panel {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.hall-image-crop-modal__stage {
    max-height: 55vh;
    margin: var(--space-sm) 0;
    background: #111;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

    .hall-image-crop-modal__stage img {
        display: block;
        max-width: 100%;
    }

.hall-image-crop-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2xs);
    margin-top: var(--space-sm);
}
