:root {
    --green-950: #05261c;
    --green-900: #083526;
    --green-800: #0d5138;
    --green-700: #147346;
    --green-600: #1f8f58;
    --green-100: #e4f4eb;
    --green-50: #f4faf7;
    --gray-950: #111827;
    --gray-800: #1f2937;
    --gray-600: #4b5563;
    --ink: #14211b;
    --muted: #66756d;
    --line: #dbe7df;
    --page-bg: #f7faf8;
    --surface: #ffffff;
    --surface-soft: #eef7f2;
    --field-bg: #ffffff;
    --heading: #102018;
    --nav-bg: rgba(5, 38, 28, 0.94);
    --footer-bg: #071d15;
    --footer-text: rgba(255, 255, 255, 0.72);
    --table-stripe: rgba(20, 108, 67, 0.05);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 10px 28px rgba(17, 24, 39, 0.06);
    --shadow: 0 24px 70px rgba(7, 40, 29, 0.13);
    --shadow-lg: 0 32px 90px rgba(7, 40, 29, 0.18);
}

[data-theme="dark"] {
    --green-950: #e8fff1;
    --green-900: #c9f4d8;
    --green-800: #75d899;
    --green-700: #35b66b;
    --green-100: #15382b;
    --green-50: #0f241c;
    --ink: #edf7f1;
    --muted: #aac0b4;
    --line: #244d3b;
    --page-bg: #07150f;
    --surface: #0d2118;
    --surface-soft: #0a1b14;
    --field-bg: #10281d;
    --heading: #f5fff8;
    --nav-bg: rgba(5, 18, 13, 0.96);
    --footer-bg: #050f0b;
    --footer-text: rgba(237, 247, 241, 0.72);
    --table-stripe: rgba(255, 255, 255, 0.035);
    --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.22);
    --shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.42);
    color-scheme: dark;
}

body {
    color: var(--ink);
    background: var(--page-bg);
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    transition: background-color 180ms ease, color 180ms ease;
}

main {
    min-height: 68vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading);
    letter-spacing: 0;
}

a {
    text-decoration: none;
}

.site-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    letter-spacing: 0;
    color: #ffffff;
}

.brand-logo {
    display: block;
    object-fit: contain;
}

.brand-logo-nav {
    width: 44px;
    height: 44px;
    padding: 3px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--green-900);
    font-size: 0.78rem;
    font-weight: 900;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    padding-inline: 0.85rem;
    border-radius: 999px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 0 0.35rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.navbar-toggler {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.18);
    padding: 0.55rem 0.7rem;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.38rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 800;
}

.theme-toggle:hover,
.theme-toggle:focus {
    background: rgba(255, 255, 255, 0.18);
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: rgba(5, 20, 14, 0.24);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(4px);
    transition: opacity 160ms ease, visibility 160ms ease;
}

.page-loader.is-active {
    opacity: 1;
    visibility: visible;
}

.loader-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--heading);
    box-shadow: var(--shadow);
    font-weight: 850;
}

.loader-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid var(--green-100);
    border-top-color: var(--green-700);
    border-radius: 999px;
    animation: spin 800ms linear infinite;
}

.theme-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ffffff;
    color: #0a3528;
    font-size: 0.78rem;
    line-height: 1;
}

[data-theme="light"] .theme-icon-dark,
[data-theme="dark"] .theme-icon-light {
    display: none;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

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

.btn.is-loading::after {
    content: "";
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin-left: 0.55rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    vertical-align: -0.12rem;
    animation: spin 700ms linear infinite;
}

.btn-success {
    --bs-btn-bg: var(--green-700);
    --bs-btn-border-color: var(--green-700);
    --bs-btn-hover-bg: var(--green-800);
    --bs-btn-hover-border-color: var(--green-800);
    --bs-btn-box-shadow: 0 12px 24px rgba(20, 115, 70, 0.2);
    box-shadow: 0 12px 24px rgba(20, 115, 70, 0.18);
}

.btn-outline-success {
    --bs-btn-color: var(--green-700);
    --bs-btn-border-color: var(--green-700);
    --bs-btn-hover-bg: var(--green-700);
    --bs-btn-hover-border-color: var(--green-700);
}

[data-theme="dark"] .btn-success {
    --bs-btn-color: #07150f;
    --bs-btn-hover-color: #07150f;
}

[data-theme="dark"] .btn-outline-success {
    --bs-btn-hover-color: #07150f;
}

.home-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: var(--gray-950);
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 40, 29, 0.92) 0%, rgba(6, 40, 29, 0.68) 43%, rgba(6, 40, 29, 0.22) 100%),
        linear-gradient(0deg, rgba(6, 40, 29, 0.88) 0%, rgba(6, 40, 29, 0.06) 42%),
        url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=2200&q=85") center / cover;
    transform: scale(1.03);
    animation: heroZoom 12s ease-out both;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.min-vh-hero {
    min-height: 760px;
    padding: 6rem 0 8rem;
}

.hero-kicker,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #bdebd0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-eyebrow {
    color: var(--green-700);
    margin-bottom: 0.75rem;
}

.hero-title {
    max-width: 800px;
    margin: 1rem 0 1.25rem;
    color: inherit;
    font-size: clamp(3rem, 7vw, 6.9rem);
    line-height: 0.93;
    font-weight: 850;
}

.hero-copy {
    max-width: 660px;
    color: #edf7f1;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: 2rem;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 420px;
    margin-left: auto;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(5, 38, 28, 0.52);
    backdrop-filter: blur(16px);
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof span {
    color: #edf7f1;
}

.proof-dot {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 999px;
    background: #55d68a;
    box-shadow: 0 0 0 8px rgba(85, 214, 138, 0.18);
}

.search-band {
    position: relative;
    z-index: 2;
    margin-top: -82px;
}

.search-panel {
    padding: clamp(1.1rem, 2vw, 1.6rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-label {
    color: var(--green-900);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: var(--radius-sm);
    background-color: var(--field-bg);
    color: var(--ink);
    min-height: 44px;
    padding: 0.72rem 0.9rem;
    box-shadow: none;
}

textarea.form-control {
    min-height: 110px;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    border-color: var(--line);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 0.2rem rgba(20, 108, 67, 0.16);
}

.time-ampm-control {
    display: grid;
    grid-template-columns: minmax(64px, 1fr) minmax(64px, 1fr) minmax(76px, 0.9fr);
    gap: 0.45rem;
}

.time-display-control .form-control {
    background-color: var(--field-bg);
}

.section-pad {
    padding: 5.5rem 0;
}

.section-stack {
    padding-bottom: 4.5rem;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-heading.centered {
    display: block;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.booking-flow h2,
.cta-panel h2 {
    margin: 0;
    color: var(--heading);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 840;
}

.stadium-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.stadium-card:hover {
    transform: translateY(-7px);
    border-color: rgba(20, 108, 67, 0.36);
    box-shadow: var(--shadow);
}

.stadium-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.stadium-card .card-body {
    padding: 1.35rem;
    background: var(--surface);
}

.stadium-card .card-title {
    color: var(--heading);
    font-weight: 800;
}

.stadium-card-location,
.stadium-detail-address {
    color: var(--muted);
}

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

.stadium-card-facts span {
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.stadium-card-facts small,
.stadium-card-facts strong {
    display: block;
}

.stadium-card-facts small {
    margin-bottom: 0.2rem;
    color: var(--muted);
}

.stadium-card-facts strong {
    color: var(--heading);
}

.stadium-status {
    flex: 0 0 auto;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.stadium-status.is-open {
    color: var(--green-700);
    background: rgba(20, 108, 67, 0.12);
}

.stadium-status.is-closed {
    color: #9f2936;
    background: rgba(220, 53, 69, 0.12);
}

.stadium-status.is-coming-soon,
.stadium-coming-soon-button:disabled {
    background: var(--surface-soft);
    color: var(--heading);
    border: 1px solid var(--line);
    opacity: 1;
}

.stadium-coming-soon-button:disabled {
    font-weight: 700;
}

.stats-section,
.booking-flow {
    background: var(--surface-soft);
}

.metric-tile,
.feature-block,
.testimonial-card,
.form-panel,
.payment-summary,
.booking-card,
.stat-card,
.empty-state {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.metric-tile {
    min-height: 160px;
    padding: 1.5rem;
}

.metric-tile strong {
    display: block;
    color: var(--heading);
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1;
}

.metric-tile span {
    display: block;
    margin-top: 0.7rem;
    color: var(--muted);
    font-weight: 700;
}

.feature-block {
    height: 100%;
    padding: 1.6rem;
    transition: transform 220ms ease, border-color 220ms ease;
}

.feature-block:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 108, 67, 0.32);
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1.3rem;
    border-radius: 14px;
    background: var(--green-900);
    color: #ffffff;
    font-weight: 850;
}

.feature-block h3,
.timeline-item h3 {
    color: var(--heading);
    font-size: 1.15rem;
    font-weight: 820;
}

.feature-block p,
.timeline-item p,
.testimonial-card blockquote,
.cta-panel p {
    color: var(--muted);
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.timeline-item > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--green-100);
    color: var(--green-800);
    font-weight: 850;
}

.testimonial-card {
    height: 100%;
    margin: 0;
    padding: 1.5rem;
}

.testimonial-card blockquote {
    min-height: 120px;
    margin: 0 0 1.5rem;
    font-size: 1.02rem;
}

.testimonial-card figcaption {
    color: var(--heading);
    font-weight: 800;
}

.testimonial-card figcaption span {
    display: block;
    color: var(--muted);
    font-weight: 600;
}

.cta-section {
    padding: 2rem 0 5.5rem;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(90deg, rgba(6, 40, 29, 0.96), rgba(15, 74, 54, 0.9)),
        url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1800&q=80") center / cover;
    color: #ffffff;
}

.cta-panel h2 {
    color: #ffffff;
}

.cta-panel p {
    max-width: 650px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.listing-search {
    display: flex;
    max-width: 720px;
    gap: 0.75rem;
}

.dashboard-tabs {
    gap: 0.5rem;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.dashboard-tabs .nav-link {
    border-radius: 999px;
    color: var(--green-800);
    font-weight: 800;
}

[data-theme="dark"] .dashboard-tabs .nav-link:not(.active) {
    background: var(--surface);
}

.dashboard-tabs .nav-link.active {
    background: var(--green-800);
}

.table {
    --bs-table-bg: var(--surface);
    --bs-table-color: var(--ink);
    --bs-table-border-color: var(--line);
    --bs-table-striped-bg: var(--table-stripe);
    --bs-table-striped-color: var(--ink);
    margin-bottom: 0;
}

.table-responsive {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.table thead th {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.table tbody td {
    vertical-align: middle;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.admin-table {
    min-width: 1100px;
}

.admin-inline-form {
    display: grid;
    min-width: 520px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.35rem;
}

.admin-inline-form textarea,
.admin-inline-form button {
    grid-column: 1 / -1;
}

.page-header {
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(1.5rem, 4vw, 2.7rem);
}

.flash-container {
    margin-top: 1.25rem;
}

.alert {
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.alert-success {
    color: #0f5132;
    background: #dff4e8;
    border-color: #bce8cf;
}

.alert-danger {
    color: #842029;
    background: #fde2e5;
    border-color: #f5c2c7;
}

.alert-warning {
    color: #7a5800;
    background: #fff4d3;
    border-color: #ffe384;
}

.alert-info {
    color: #055160;
    background: #def6fb;
    border-color: #b6effb;
}

.auth-page {
    position: relative;
    min-height: calc(100vh - 74px);
    overflow: hidden;
    background: var(--gray-950);
}

.auth-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 38, 28, 0.92), rgba(17, 24, 39, 0.78) 48%, rgba(5, 38, 28, 0.36)),
        linear-gradient(0deg, rgba(5, 20, 14, 0.86), rgba(5, 20, 14, 0.12)),
        url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=2200&q=85") center / cover;
    transform: scale(1.03);
}

.auth-container {
    position: relative;
    z-index: 1;
    padding-top: clamp(3rem, 7vw, 6rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.auth-copy {
    max-width: 680px;
    color: #ffffff;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
}

.brand-logo-auth {
    width: clamp(112px, 15vw, 160px);
    height: auto;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.2));
}

.auth-logo:hover {
    color: #ffffff;
}

.auth-copy h1 {
    max-width: 760px;
    margin: 0.85rem 0 1rem;
    color: #ffffff;
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    font-weight: 950;
    line-height: 0.96;
}

.auth-copy p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.auth-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.75rem;
}

.auth-trust-row span {
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

.auth-card {
    padding: clamp(1.4rem, 3vw, 2.25rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

[data-theme="dark"] .auth-card {
    background: rgba(13, 33, 24, 0.95);
}

.bridge-page {
    margin: 0;
}

.bridge-auth {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(1rem, 4vw, 3rem);
    background: linear-gradient(145deg, #05261c, #0d5138);
}

.bridge-card {
    box-sizing: border-box;
    width: min(100%, 28rem);
    text-align: center;
}

.bridge-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 0.7rem;
    border-radius: 18px;
}

.bridge-card h1 {
    margin: 0;
    font-size: clamp(1.65rem, 5vw, 2.25rem);
    line-height: 1.2;
}

.bridge-submit {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: #147346;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.bridge-submit:hover {
    background: #0d5138;
}

.bridge-submit:focus-visible {
    outline: 3px solid var(--green-700);
    outline-offset: 4px;
}

#microsoft-response .bridge-submit {
    margin-top: 1rem;
}

.auth-card-head {
    margin-bottom: 1.5rem;
}

.auth-card-kicker {
    display: inline-flex;
    margin-bottom: 0.65rem;
    color: var(--green-700);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-card h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 950;
}

.auth-card p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 5rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    min-width: 64px;
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 0.78rem;
    font-weight: 900;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.6rem 0 1.2rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.35rem 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

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

.login-role-help span {
    display: block;
    min-width: 0;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--green-100);
    color: var(--muted);
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

.login-role-help strong {
    color: var(--ink);
}

.auth-options a,
.auth-footer-note a {
    color: var(--green-700);
    font-weight: 900;
}

.auth-footer-note {
    margin-top: 1.1rem;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.5rem;
    margin: 0;
}

.form-check-input {
    border-color: var(--line);
}

.form-check-input:checked {
    background-color: var(--green-700);
    border-color: var(--green-700);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12);
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--green-700);
}

.page-header > h1,
.page-header .h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.hero-image,
.detail-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-panel,
.payment-summary,
.booking-card,
.stat-card,
.empty-state {
    padding: clamp(1.25rem, 2.4vw, 2rem);
}

.payment-summary {
    display: grid;
    gap: 1.5rem;
}

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

.summary-item {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.summary-item span,
.payment-method small {
    display: block;
    color: var(--muted);
}

.summary-item strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--heading);
    font-size: 1.15rem;
}

.payment-methods {
    display: grid;
    gap: 0.75rem;
}

.payment-method {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
    cursor: pointer;
}

.payment-method input {
    margin-top: 0.3rem;
}

.detail-stat {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.detail-stat span {
    color: var(--muted);
}

.stadium-detail-page .detail-image {
    height: min(570px, 68vh);
}

.stadium-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.stadium-detail-grid .detail-stat {
    display: block;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.stadium-detail-grid .detail-stat strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--heading);
}

.stadium-description {
    padding-top: 0.5rem;
}

.stadium-description p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.75;
}

.booking-calendar {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

.booking-calendar-head,
.calendar-legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.calendar-date-control {
    width: min(100%, 190px);
}

.calendar-legend {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 1rem 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
}

.legend-dot.is-available { background: #198754; }
.legend-dot.is-booked { background: #dc3545; }
.legend-dot.is-blocked { background: #6c757d; }

.calendar-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.65rem;
}

.calendar-period-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.calendar-period-tab {
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--heading);
    font-weight: 700;
}

.calendar-period-tab:hover,
.calendar-period-tab:focus-visible,
.calendar-period-tab.is-active {
    border-color: #198754;
    background: #198754;
    color: #fff;
}

@media (max-width: 575.98px) {
    .navbar-brand {
        gap: 0.5rem;
        font-size: 1rem;
    }

    .brand-logo-nav {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .brand-logo-auth {
        width: 112px;
    }

    .calendar-period-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.calendar-slot {
    min-height: 76px;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.calendar-slot span,
.calendar-slot strong {
    display: block;
}

.calendar-slot span {
    color: var(--heading);
    font-weight: 750;
}

.calendar-slot strong {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.calendar-slot.is-available {
    border-color: rgba(25, 135, 84, 0.45);
    background: rgba(25, 135, 84, 0.08);
    cursor: pointer;
}

.calendar-slot.is-available:hover,
.calendar-slot.is-available:focus,
.calendar-slot.is-selected {
    outline: none;
    border-color: #198754;
    background: rgba(25, 135, 84, 0.18);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.12);
}

.calendar-slot.is-booked {
    border-color: rgba(220, 53, 69, 0.35);
    background: rgba(220, 53, 69, 0.08);
}

.calendar-slot.is-blocked,
.calendar-slot.is-past,
.calendar-slot.is-closed {
    opacity: 0.75;
    background: rgba(108, 117, 125, 0.1);
}

.selected-slot-summary {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-left: 4px solid #198754;
    border-radius: var(--radius);
    background: var(--surface);
}

.selected-slot-summary span,
.selected-slot-summary strong {
    display: block;
}

.selected-slot-summary span {
    color: var(--muted);
    font-size: 0.82rem;
}

.revenue-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.revenue-chart-card {
    height: 100%;
}

.chart-frame {
    position: relative;
    min-height: 310px;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    color: var(--heading);
    line-height: 1.1;
}

.demo-box {
    background: var(--green-100);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    font-size: 0.9rem;
}

.owned-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

.text-bg-light {
    background-color: var(--surface) !important;
    color: var(--ink) !important;
}

.border {
    border-color: var(--line) !important;
}

.status-pending {
    background: #fff3cd;
    color: #8a6500;
}

.weather-choice-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--green-100);
    padding: 1rem;
}

.badge {
    border-radius: 999px;
    padding: 0.48rem 0.72rem;
    font-weight: 800;
}

.status-approved,
.status-arrived,
.status-completed,
.status-refund_approved,
.status-refunded {
    background: #d1e7dd;
    color: #0f5132;
}

.status-deposit-paid,
.status-paid_cash,
.status-deposit_paid {
    background: #cff4fc;
    color: #055160;
}

.status-weather_cancelled,
.status-refund_requested {
    background: #fff3cd;
    color: #8a6500;
}

.status-rejected,
.status-cancelled,
.status-refund_rejected {
    background: #f8d7da;
    color: #842029;
}

.admin-shell {
    --admin-sidebar-width: 280px;
    display: grid;
    grid-template-columns: var(--admin-sidebar-width) minmax(0, 1fr);
    min-height: calc(100vh - 74px);
    background: var(--page-bg);
}

.admin-sidebar {
    position: sticky;
    top: 74px;
    align-self: start;
    height: calc(100vh - 74px);
    padding: 1.1rem;
    background: var(--gray-950);
    color: #ffffff;
    overflow-y: auto;
    transition: width 180ms ease, transform 180ms ease;
}

.admin-sidebar-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.55rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.admin-sidebar-head strong,
.admin-sidebar-head small {
    display: block;
}

.admin-sidebar-head small {
    color: rgba(255, 255, 255, 0.58);
    font-weight: 700;
}

.admin-side-nav {
    display: grid;
    gap: 0.35rem;
    padding-top: 1rem;
}

.admin-side-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 44px;
    padding: 0.65rem 0.7rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 800;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.admin-side-nav a:hover,
.admin-side-nav a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.admin-side-nav span,
.metric-icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
}

.admin-main {
    min-width: 0;
    padding: clamp(1rem, 2.2vw, 2rem);
}

.admin-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: clamp(1.2rem, 2.4vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(120deg, rgba(20, 115, 70, 0.11), transparent 48%),
        var(--surface);
    box-shadow: var(--shadow-sm);
}

.admin-topbar h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    font-weight: 900;
}

.admin-topbar p {
    margin: 0.5rem 0 0;
    color: var(--muted);
}

.admin-sidebar-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.admin-sidebar-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--heading);
}

.admin-section {
    scroll-margin-top: 96px;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.dashboard-hero-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: clamp(1.15rem, 2vw, 1.5rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(120deg, rgba(20, 115, 70, 0.14), transparent 58%),
        var(--surface);
    box-shadow: var(--shadow-sm);
}

.dashboard-hero-strip h2 {
    max-width: 780px;
    margin: 0;
    color: var(--heading);
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    font-weight: 950;
}

.dashboard-hero-strip p {
    max-width: 760px;
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.dashboard-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
    min-width: 220px;
}

.dashboard-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--green-800);
    font-size: 0.82rem;
    font-weight: 900;
}

.owner-hero-strip {
    background:
        linear-gradient(120deg, rgba(31, 143, 88, 0.16), transparent 60%),
        var(--surface);
}

.staff-hero-strip {
    background:
        linear-gradient(120deg, rgba(17, 24, 39, 0.08), rgba(31, 143, 88, 0.12) 56%, transparent),
        var(--surface);
}

.admin-section-head,
.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-section-head h2,
.admin-panel-head h2,
.admin-panel h3 {
    margin: 0;
    font-weight: 900;
}

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

.admin-metric-card,
.admin-panel,
.admin-report-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.admin-metric-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 132px;
    padding: 1.25rem;
}

.admin-metric-card .metric-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    background: var(--green-100);
    color: var(--green-800);
}

.admin-metric-card small,
.quick-stat-list span,
.admin-report-card span {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-metric-card strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--heading);
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    line-height: 1;
    font-weight: 950;
}

.revenue-card {
    grid-column: span 2;
    background:
        linear-gradient(135deg, rgba(20, 115, 70, 0.16), transparent 60%),
        var(--surface);
}

.admin-panel {
    padding: clamp(1rem, 2vw, 1.5rem);
}

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

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 104px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-action-card:hover,
.quick-action-card:focus {
    border-color: rgba(20, 115, 70, 0.34);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.quick-action-card .metric-icon {
    background: var(--green-100);
    color: var(--green-800);
}

.quick-action-card strong,
.quick-action-card small {
    display: block;
}

.quick-action-card strong {
    color: var(--heading);
    font-weight: 950;
}

.quick-action-card small {
    margin-top: 0.2rem;
    color: var(--muted);
    font-weight: 750;
}

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

.revenue-summary-card {
    min-height: 128px;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(20, 115, 70, 0.1), transparent 62%),
        var(--surface-soft);
}

.revenue-summary-card span,
.revenue-summary-card small {
    display: block;
    color: var(--muted);
    font-weight: 850;
}

.revenue-summary-card span {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.revenue-summary-card strong {
    display: block;
    margin: 0.4rem 0 0.25rem;
    color: var(--heading);
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    line-height: 1;
    font-weight: 950;
}

.revenue-summary-card small {
    font-size: 0.88rem;
}

.admin-table-wrap {
    box-shadow: none;
}

.quick-stat-list {
    display: grid;
    gap: 0.75rem;
}

.quick-stat-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.quick-stat-list strong {
    color: var(--heading);
    font-size: 1.35rem;
    font-weight: 900;
}

.activity-list {
    display: grid;
    gap: 0.9rem;
}

.activity-item {
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.activity-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--green-700);
    box-shadow: 0 0 0 6px rgba(20, 115, 70, 0.12);
}

.activity-item strong {
    color: var(--heading);
}

.activity-item p {
    margin: 0.15rem 0 0;
    color: var(--muted);
}

.admin-report-card {
    height: 100%;
    padding: 1.35rem;
}

.admin-report-card strong {
    display: block;
    margin: 0.5rem 0;
    color: var(--heading);
    font-size: 2.1rem;
    line-height: 1;
}

.admin-report-card p {
    margin: 0;
    color: var(--muted);
}

.report-accent {
    position: relative;
    overflow: hidden;
}

.report-accent::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--green-700);
}

.owner-shell .owner-sidebar {
    background: #0a3022;
}

.staff-shell .staff-sidebar {
    background: linear-gradient(180deg, var(--gray-950), #083526);
}

.owner-topbar {
    background: var(--surface);
}

.owner-shell { --admin-sidebar-width: 216px; }
.owner-shell .admin-topbar, .owner-shell .admin-panel { padding: clamp(.9rem, 2.2vw, 1.35rem); }
.owner-shell .admin-main { padding: clamp(.8rem, 2.5vw, 2rem); }
.owner-shell :is(section[id], header[id]) { scroll-margin-top: 6rem; }
.owner-shell .admin-section { margin-top: 1.5rem; }
.owner-shell .admin-side-nav a { padding: .55rem .65rem; border-radius: 8px; }
.owner-shell .admin-section-head h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.owner-stadium-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; color: var(--muted); }
.owner-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); gap: .65rem; margin-block: .8rem 1rem; }
.owner-metric { display: grid; align-content: start; gap: .3rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.owner-metric > span { color: var(--muted); font-weight: 600; }
.owner-metric > strong { color: var(--heading); font-size: 1.15rem; }
.owner-amount { display: block; overflow-wrap: anywhere; }
.owner-booking-groups { display: grid; gap: .6rem; }
.owner-booking-group summary, .owner-payment-records summary { min-height: 44px; align-content: center; cursor: pointer; font-weight: 700; color: var(--heading); }
.owner-group-count { margin-inline-start: .5rem; color: var(--muted); }
.owner-booking-list { margin-top: .35rem; }
.owner-booking-row { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.owner-booking-row div > span { display: block; color: var(--muted); }
.owner-booking-row .owner-booking-status { font-weight: 700; color: var(--heading); }
.owner-booking-row .owner-booking-status:is([data-status="approved"], [data-status="arrived"]) { color: var(--green-700); }
.owner-revenue-filter { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin-bottom: 1rem; }
.owner-revenue-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.owner-revenue-totals > div { background: var(--surface-soft); padding: .75rem; border-radius: var(--radius-sm); }
.owner-revenue-totals dd { margin: .3rem 0 0; }
.owner-calendar .calendar-slot { min-height: 74px; opacity: 1; }
.owner-calendar.customer-calendar .calendar-slot.is-available,
.owner-calendar.customer-calendar .calendar-slot.is-available:hover { cursor: default; outline: none; box-shadow: none; border-color: #416554; }
@media (max-width: 575.98px) {
    .owner-booking-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .owner-calendar .booking-calendar-head { align-items: stretch; flex-direction: column; }
}

.staff-topbar {
    background:
        linear-gradient(120deg, rgba(17, 24, 39, 0.08), rgba(31, 143, 88, 0.12) 54%, transparent),
        var(--surface);
}

.owner-metric-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.staff-metric-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.owner-side-stack {
    display: grid;
    gap: 1rem;
}

.stadium-preview-card {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.stadium-preview-card img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    border-radius: var(--radius);
}

.stadium-preview-card h3 {
    margin: 0;
    color: var(--heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 950;
}

.stadium-preview-card p {
    margin: 0.65rem 0 1rem;
    color: var(--muted);
}

.stadium-info-list {
    display: grid;
    gap: 0.75rem;
}

.stadium-info-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.stadium-info-list span {
    color: var(--muted);
    font-weight: 800;
}

.stadium-info-list strong {
    color: var(--heading);
    text-align: right;
}

.staff-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.staff-profile .metric-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    background: var(--green-100);
    color: var(--green-800);
}

.staff-profile h3 {
    margin: 0;
    font-weight: 900;
}

.staff-profile p {
    margin: 0.15rem 0;
    color: var(--muted);
}

.staff-profile small {
    color: var(--muted);
}

.compact-profile {
    align-items: flex-start;
}

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

.review-card {
    min-height: 190px;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.review-stars {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--green-100);
    color: var(--green-800);
    font-weight: 950;
}

.review-card strong {
    display: block;
    color: var(--heading);
    font-size: 1.05rem;
    font-weight: 950;
}

.review-card p {
    margin: 0.5rem 0 0;
    color: var(--muted);
}

.muted-review {
    background: var(--surface-soft);
}

.operations-panel {
    display: flex;
    flex-direction: column;
}

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

.operation-lane {
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.operation-lane .metric-icon {
    background: var(--green-100);
    color: var(--green-800);
}

.operation-lane strong {
    color: var(--heading);
    font-weight: 950;
}

.operation-lane p {
    margin: 0.25rem 0 0;
    color: var(--muted);
}

.shift-note {
    margin-top: auto;
    padding: 1rem;
    border: 1px solid rgba(20, 115, 70, 0.18);
    border-radius: var(--radius);
    background: rgba(20, 115, 70, 0.08);
}

.shift-note strong {
    color: var(--heading);
    font-weight: 950;
}

.shift-note p {
    margin: 0.25rem 0 0;
    color: var(--muted);
}

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

.calendar-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.calendar-date {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--green-800);
    color: #ffffff;
}

.calendar-date strong,
.calendar-date span {
    line-height: 1;
}

.calendar-date strong {
    font-size: 1.35rem;
    font-weight: 950;
}

.calendar-date span {
    margin-top: -0.15rem;
    font-size: 0.75rem;
    font-weight: 900;
    opacity: 0.82;
}

.calendar-item strong {
    color: var(--heading);
    font-weight: 950;
}

.calendar-item p {
    margin: 0.2rem 0 0;
    color: var(--muted);
}

.admin-shell.is-collapsed {
    --admin-sidebar-width: 88px;
}

.admin-shell.is-collapsed .admin-sidebar-head div,
.admin-shell.is-collapsed .admin-side-nav a {
    font-size: 0;
}

.admin-shell.is-collapsed .admin-side-nav a {
    justify-content: center;
}

.admin-shell.is-collapsed .admin-side-nav span {
    margin: 0;
}

.site-footer {
    padding: 4.5rem 0 2rem;
    background: var(--footer-bg);
    color: var(--footer-text);
}

.footer-brand {
    display: inline-block;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 850;
}

.site-footer h2 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-footer a {
    display: block;
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.72);
    transition: color 160ms ease, transform 160ms ease;
}

.site-footer a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 0.92rem;
}

.animate-rise {
    opacity: 0;
    animation: riseIn 700ms ease forwards;
}

.delay-1 {
    animation-delay: 90ms;
}

.delay-2 {
    animation-delay: 180ms;
}

.delay-3 {
    animation-delay: 270ms;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1.03);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 991.98px) {
    .home-hero,
    .min-vh-hero {
        min-height: 700px;
    }

    .min-vh-hero {
        padding: 5rem 0 8rem;
    }

    .hero-proof {
        margin-left: 0;
    }

    .section-heading,
    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .navbar .nav-link {
        padding: 0.72rem 0.9rem;
    }

    .nav-role-badge {
        margin: 0.4rem 0;
        justify-content: center;
    }

    .theme-toggle {
        width: 100%;
        justify-content: center;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        top: 74px;
        left: 0;
        z-index: 1040;
        width: 280px;
        transform: translateX(-100%);
        box-shadow: var(--shadow-lg);
    }

    .admin-shell.is-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-main {
        padding: 1rem;
    }

    .admin-sidebar-toggle {
        display: block;
    }

    .admin-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-hero-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-hero-meta {
        justify-content: flex-start;
        min-width: 0;
    }

    .quick-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .revenue-summary-grid,
    .review-grid,
    .operation-lane-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stadium-preview-card {
        grid-template-columns: 1fr;
    }

    .owner-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .revenue-card {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .home-hero,
    .min-vh-hero {
        min-height: 660px;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(6, 40, 29, 0.92), rgba(6, 40, 29, 0.58)),
            url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=1300&q=85") center / cover;
    }

    .section-pad {
        padding: 4rem 0;
    }

    .search-band {
        margin-top: -56px;
    }

    .search-panel {
        padding: 1rem;
    }

    .listing-search,
    .footer-bottom {
        flex-direction: column;
    }

    .admin-inline-form {
        min-width: 360px;
        grid-template-columns: 1fr;
    }

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

    .admin-topbar {
        align-items: flex-start;
    }

    .admin-metric-grid {
        grid-template-columns: 1fr;
    }

    .quick-action-grid,
    .revenue-summary-grid,
    .review-grid,
    .operation-lane-grid,
    .calendar-board {
        grid-template-columns: 1fr;
    }

    .calendar-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .calendar-item .badge {
        grid-column: 2;
        justify-self: start;
    }

    .owner-metric-grid {
        grid-template-columns: 1fr;
    }

    .staff-metric-grid {
        grid-template-columns: 1fr;
    }

    .revenue-card {
        grid-column: auto;
    }

    .auth-page {
        min-height: auto;
    }

    .auth-backdrop {
        background:
            linear-gradient(180deg, rgba(5, 38, 28, 0.92), rgba(17, 24, 39, 0.78)),
            url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=1300&q=85") center / cover;
    }

    .auth-copy h1 {
        font-size: 2.6rem;
    }

    .auth-card {
        border-radius: 22px;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-role-help {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-image,
    .detail-image {
        height: 240px;
    }
}
.language-switch { display:inline-flex; align-items:center; gap:.2rem; padding:.2rem; border:1px solid rgba(255,255,255,.35); border-radius:999px; }
.language-switch form { margin:0; }
.language-option { border:0; border-radius:999px; padding:.3rem .55rem; background:transparent; color:rgba(255,255,255,.75); font-size:.75rem; font-weight:800; }
.language-option.is-active { background:#fff; color:#146c43; }
@media (max-width:991.98px) { .language-switch { width:max-content; } }
.payment-instructions { padding:1rem; border:1px solid var(--bs-border-color); border-radius:.75rem; background:rgba(25,135,84,.06); }
.payment-instructions p { margin-bottom:.45rem; }
@media (max-width:575.98px) { .payment-summary { padding:1rem; } .payment-method { align-items:flex-start; } }

.pwa-install-button {
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 700;
    padding: .42rem .85rem;
}

.pwa-install-button:hover,
.pwa-install-button:focus-visible { background: #fff; color: #147346; }

.pwa-ios-help {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: end center;
    padding: 1rem;
    background: rgba(7, 24, 16, .58);
}

.pwa-ios-help[hidden] { display: none; }

.pwa-ios-card {
    position: relative;
    width: min(100%, 28rem);
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #17231c);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .25);
    padding: 1.25rem 3rem 1.25rem 1.25rem;
}

.pwa-ios-card .btn-close { position: absolute; top: 1rem; right: 1rem; }

@media (display-mode: standalone) {
    body { padding-top: env(safe-area-inset-top); }
    .site-nav { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
    .site-footer { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
    .pwa-install-button { display: none !important; }
}

@media (max-width: 575.98px) {
    .site-nav .container { padding-inline: 1rem; }
    .navbar-collapse { max-height: calc(100dvh - 5rem); overflow-y: auto; }
    .pwa-install-button { width: 100%; min-height: 2.75rem; }
    main { overflow-x: clip; }
}
.notification-bell {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #eef9f2;
}
.notification-bell:is(:hover, :focus-visible, [aria-current="page"]) {
    color: #fff;
    background: rgba(255, 255, 255, .13);
}
.notification-bell:focus-visible { outline: 2px solid #b0efc8; outline-offset: 2px; }
/* Shift dashboard: scoped to Staff so Admin, Owner and customer layouts stay independent. */
.staff-shell .admin-main { min-width: 0; }
.staff-topbar > div { min-width: 0; overflow-wrap: anywhere; }
.staff-shell section { scroll-margin-top: 90px; }
.staff-toolbar, .staff-shift-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.staff-shift-nav a { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); color: var(--heading); text-decoration: none; }
.staff-shift-nav strong { font-size: 1.35rem; }
.staff-shift-nav small { width: 100%; color: var(--muted); }
.staff-shell :is(button, .btn, summary, select, input:not([type=hidden])),
.staff-phone-page :is(button, .btn, select, input:not([type=hidden])) { min-height: 44px; }
.staff-shell a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
.staff-shell :is(a, button, input, select, summary):focus-visible,
.staff-phone-page :is(a, button, input):focus-visible { outline: 3px solid #16734b; outline-offset: 3px; }
.staff-booking-list { display: grid; gap: .75rem; }
.staff-booking-card { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(140px, 1.4fr) minmax(140px, 1fr) minmax(160px, 1fr); align-items: start; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); scroll-margin-top: 90px; }
.staff-booking-card > * { min-width: 0; overflow-wrap: anywhere; }
.staff-booking-card h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.staff-booking-card p { margin: .35rem 0; }
.staff-booking-time span { display: block; color: var(--muted); margin-top: .35rem; }
.staff-booking-contact .badge { white-space: normal; line-height: 1.4; }
.staff-booking-actions { display: grid; gap: .5rem; }
.staff-booking-actions form { display: grid; gap: .5rem; }
.staff-booking-actions .btn { width: 100%; white-space: normal; }
.staff-action-disclosure summary { padding: .65rem; border: 1px solid var(--line); border-radius: .5rem; cursor: pointer; }
.staff-action-disclosure form { margin-top: .65rem; }
.staff-disclosure { padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); }
.staff-disclosure > summary { cursor: pointer; font-weight: 700; padding: .5rem 0; }
.staff-disclosure[open] > summary { margin-bottom: 1rem; }
.staff-empty { padding: 1rem; border: 1px dashed var(--line); border-radius: .75rem; color: var(--muted); }
.staff-shell .calendar-slot-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .4rem; }
.staff-shell .calendar-slot { min-height: 44px; padding: .55rem .75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; border-radius: .5rem; }
.staff-shell .calendar-slot strong { margin: 0; }
.staff-shell .calendar-slot form { flex-basis: 100%; }
.staff-phone-page { max-width: 900px; }
.customer-booking-steps { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.customer-booking-steps a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .5rem; }
.customer-booking-page :is(button, .btn, input:not([type=hidden]), select, summary),
.customer-stadium-list :is(button, .btn, input) { min-height: 44px; }
.customer-booking-page :is(button, a, input, summary):focus-visible,
.customer-stadium-list :is(button, a, input):focus-visible { outline: 3px solid #16734b; outline-offset: 3px; }
.customer-booking-page fieldset { min-width: 0; border: 0; padding: 0; margin-bottom: 1rem; }
.customer-booking-page legend { font-size: 1.25rem; font-weight: 700; }
.customer-booking-page :is(#choose-time, #team-details) { scroll-margin-top: 90px; }
.customer-calendar-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin: .75rem 0; }
.customer-calendar .calendar-slot-grid { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: .5rem; }
.owner-calendar .calendar-slot-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr)); }
.customer-calendar .calendar-slot {
    --slot-status: #a6b3ad;
    --slot-surface: #0d3023;
    min-height: 84px;
    width: 100%;
    padding: .7rem .75rem;
    text-align: left;
    font: inherit;
    overflow-wrap: anywhere;
    background: var(--slot-surface);
    border-color: #416554;
    color: #f1faf5;
}
[data-theme="dark"] .customer-calendar .calendar-slot { --slot-surface: #10281d; }
.customer-calendar .calendar-slot span { color: inherit; }
.customer-calendar .calendar-slot strong {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--slot-status);
}
.customer-calendar .calendar-slot strong::before {
    content: "";
    width: .5rem;
    height: .5rem;
    flex: 0 0 .5rem;
    border-radius: 50%;
    background: currentColor;
}
.customer-calendar .calendar-slot small { display: block; margin-top: .3rem; color: #c0d3c8; }
.customer-calendar .calendar-slot:disabled { cursor: default; opacity: 1; }
.customer-calendar .calendar-slot.is-available { --slot-status: #86e7ab; }
.customer-calendar .calendar-slot.is-booked { --slot-status: #ffabb0; }
.customer-calendar .calendar-slot.is-pending { --slot-status: #f4d585; }
.customer-calendar .calendar-slot.is-blocked { --slot-status: #c8d2cd; }
.customer-calendar .calendar-slot.is-available:is(:hover, :focus-visible, .is-selected) {
    background: var(--slot-surface);
    border-color: #8cdbac;
    outline: 2px solid #8cdbac;
    outline-offset: 1px;
    box-shadow: none;
}
.customer-calendar .calendar-period-tabs { grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); }
.customer-extra-notes { padding: .5rem 0; }
.customer-extra-notes summary { cursor: pointer; padding: .5rem 0; }
@media (max-width: 575.98px) {
    .customer-calendar .booking-calendar-head { align-items: stretch; flex-direction: column; }
    .customer-calendar .calendar-date-control { width: 100%; max-width: none; }
    .customer-calendar-tools > button { width: 100%; }
    .customer-booking-page .selected-slot-summary { overflow-wrap: anywhere; }
}
.staff-phone-page h1 { margin-top: 1.25rem; }
.staff-phone-form { display: grid; gap: 1.5rem; }
.staff-phone-form fieldset { min-width: 0; border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; }
.staff-phone-form legend { float: none; width: auto; padding: 0 .4rem; font-size: 1.15rem; font-weight: 700; }
.staff-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.staff-form-grid label { display: grid; gap: .4rem; align-content: start; min-width: 0; }
.staff-form-grid input { min-width: 0; width: 100%; }
@media (max-width: 1199.98px) { .staff-booking-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .staff-topbar { flex-wrap: wrap; }
    .staff-booking-card, .staff-form-grid { grid-template-columns: minmax(0, 1fr); }
    .staff-toolbar > *, .staff-shift-nav a { flex: 1 1 100%; justify-content: center; }
    .staff-shell .calendar-slot-grid { grid-template-columns: minmax(0, 1fr); }
    .staff-shell .booking-calendar-head { flex-direction: column; align-items: stretch; }
    .staff-shell .calendar-date-control { width: 100%; max-width: none; }
    .staff-phone-form button { width: 100%; white-space: normal; }
}
.notification-count { position: absolute; top: 0; inset-inline-end: -2px; min-width: 1.15rem; padding: .12rem .26rem; border-radius: 999px; background: #b82438; color: #fff; font-size: .67rem; line-height: 1.15; font-weight: 700; text-align: center; }
.notification-page { max-width: 850px; }
.notification-item { padding: 1rem; border-inline-start: 4px solid transparent; background: var(--surface); color: var(--ink); }
.notification-item.is-unread { border-inline-start-color: var(--green-700); background: var(--surface-soft); }
.notification-state { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .75rem; font-weight: 700; }
.notification-item.is-unread .notification-state { color: var(--green-700); }
.notification-item-layout, .notification-actions { display: flex; gap: .55rem; }
.notification-item-layout { justify-content: space-between; gap: 1rem; align-items: flex-start; }
.notification-actions { flex-wrap: wrap; flex-shrink: 0; }
.notification-actions .btn { display: inline-flex; align-items: center; min-height: 40px; }
.booking-card[id], .staff-booking-card[id] { scroll-margin-top: 6rem; }
@media (max-width: 576px) {
    .notification-item-layout { flex-direction: column; }
    .notification-actions .btn { min-height: 44px; }
}
