/* =========================================================================
   BookNPlay design system
   Sporty and friendly: deep navy ink, pitch green for interaction,
   tennis-ball lime for the main call to action, warm coral for energy.
   ========================================================================= */

:root {
    /* Brand */
    --bnp-primary: #0E9F6E;
    --bnp-primary-rgb: 14, 159, 110;
    --bnp-primary-dark: #0B8A5E;
    --bnp-primary-darker: #08704C;
    --bnp-primary-light: rgba(14, 159, 110, .12);
    --bnp-lime: #C8F25A;
    --bnp-lime-rgb: 200, 242, 90;
    --bnp-lime-dark: #B4E13C;
    --bnp-lime-soft: #F2FCD8;
    --bnp-accent: #FF7A45;
    --bnp-accent-soft: #FFEDE4;
    --bnp-sky: #3B82F6;

    /* Neutrals */
    --bnp-ink: #0F1A33;
    --bnp-ink-rgb: 15, 26, 51;
    --bnp-ink-soft: #2A3550;
    --bnp-muted: #667085;
    --bnp-bg: #F6F8F4;
    --bnp-surface: #ffffff;
    --bnp-surface-alt: #F9FBF7;
    --bnp-border: #E3E8E0;

    /* Shape */
    --bnp-radius: 20px;
    --bnp-radius-sm: 14px;
    --bnp-shadow-sm: 0 1px 2px rgba(15, 26, 51, .04), 0 2px 6px rgba(15, 26, 51, .05);
    --bnp-shadow: 0 10px 30px rgba(15, 26, 51, .08);
    --bnp-shadow-lg: 0 24px 60px rgba(15, 26, 51, .16);
    --bnp-font-display: 'Outfit', 'Inter', system-ui, sans-serif;

    /* Bootstrap bridge: utilities such as text-primary / bg-primary-subtle follow the brand */
    --bs-primary: var(--bnp-primary);
    --bs-primary-rgb: var(--bnp-primary-rgb);
    --bs-primary-text-emphasis: var(--bnp-primary-darker);
    --bs-primary-bg-subtle: #E2F5EC;
    --bs-primary-border-subtle: #B5E4CF;
    --bs-link-color: var(--bnp-primary-dark);
    --bs-link-color-rgb: 11, 138, 94;
    --bs-link-hover-color: var(--bnp-primary-darker);
    --bs-link-hover-color-rgb: 8, 112, 76;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-color: var(--bnp-ink);
    --bs-body-bg: var(--bnp-bg);
    --bs-border-color: var(--bnp-border);
    --bs-border-radius: 12px;
    --bs-border-radius-lg: 16px;
    --bs-secondary-color: var(--bnp-muted);
    --bs-dark-rgb: var(--bnp-ink-rgb);
    --bs-focus-ring-color: rgba(14, 159, 110, .25);
}

html, body {
    font-family: var(--bs-body-font-family);
    color: var(--bnp-ink);
    background-color: var(--bnp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--bnp-font-display);
    letter-spacing: -0.02em;
    color: var(--bnp-ink);
}

h5, .h5 { letter-spacing: -0.01em; }

a, .btn-link {
    color: var(--bnp-primary-dark);
    text-decoration: none;
}

    a:hover, .btn-link:hover {
        color: var(--bnp-primary-darker);
    }

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

::selection { background: rgba(var(--bnp-lime-rgb), .6); color: var(--bnp-ink); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: .6rem 1.25rem;
    transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

    .btn:focus-visible, .btn:active:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
        box-shadow: 0 0 0 .22rem rgba(var(--bnp-primary-rgb), .22);
    }

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

.btn-sm { padding: .42rem .95rem; font-size: .85rem; }
.btn-lg { padding: .85rem 1.65rem; font-size: 1.05rem; }

/* Main call to action: lime with navy text (high contrast, unmistakably "play") */
.btn-primary {
    --bs-btn-color: var(--bnp-ink);
    --bs-btn-bg: var(--bnp-lime);
    --bs-btn-border-color: var(--bnp-lime);
    --bs-btn-hover-color: var(--bnp-ink);
    --bs-btn-hover-bg: var(--bnp-lime-dark);
    --bs-btn-hover-border-color: var(--bnp-lime-dark);
    --bs-btn-active-color: var(--bnp-ink);
    --bs-btn-active-bg: var(--bnp-lime-dark);
    --bs-btn-active-border-color: var(--bnp-lime-dark);
    --bs-btn-disabled-color: rgba(var(--bnp-ink-rgb), .55);
    --bs-btn-disabled-bg: #E3F3B4;
    --bs-btn-disabled-border-color: #E3F3B4;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(var(--bnp-lime-rgb), .45);
}

    .btn-primary:hover { box-shadow: 0 10px 24px rgba(var(--bnp-lime-rgb), .55); transform: translateY(-1px); }

.btn-outline-primary {
    --bs-btn-color: var(--bnp-primary-dark);
    --bs-btn-border-color: rgba(var(--bnp-primary-rgb), .45);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bnp-primary);
    --bs-btn-hover-border-color: var(--bnp-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bnp-primary-dark);
    --bs-btn-active-border-color: var(--bnp-primary-dark);
    background: #fff;
}

.btn-success {
    --bs-btn-bg: var(--bnp-primary);
    --bs-btn-border-color: var(--bnp-primary);
    --bs-btn-hover-bg: var(--bnp-primary-dark);
    --bs-btn-hover-border-color: var(--bnp-primary-dark);
}

.btn-dark {
    --bs-btn-bg: var(--bnp-ink);
    --bs-btn-border-color: var(--bnp-ink);
    --bs-btn-hover-bg: var(--bnp-ink-soft);
    --bs-btn-hover-border-color: var(--bnp-ink-soft);
}

.btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--bnp-border);
    --bs-btn-hover-bg: var(--bnp-surface-alt);
    --bs-btn-hover-border-color: var(--bnp-border);
}

.btn-outline-secondary {
    --bs-btn-color: var(--bnp-ink-soft);
    --bs-btn-border-color: var(--bnp-border);
    --bs-btn-hover-color: var(--bnp-ink);
    --bs-btn-hover-bg: var(--bnp-surface-alt);
    --bs-btn-hover-border-color: #CBD3C6;
    --bs-btn-active-color: var(--bnp-ink);
    --bs-btn-active-bg: #EEF2EA;
    background: #fff;
}

/* ---- Cards ------------------------------------------------------------- */
.card {
    border: 1px solid var(--bnp-border);
    border-radius: var(--bnp-radius);
    box-shadow: var(--bnp-shadow-sm);
    background-color: var(--bnp-surface);
}

    .card.border-0 { border: 1px solid var(--bnp-border) !important; }

.rounded-4 { border-radius: var(--bnp-radius) !important; }

.card.lift, .bnp-card-hover {
    transition: transform .2s ease, box-shadow .2s ease;
}

    .card.lift:hover, .bnp-card-hover:hover {
        transform: translateY(-4px);
        box-shadow: var(--bnp-shadow) !important;
    }

.feature-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--bnp-lime-soft);
    color: var(--bnp-primary-darker);
    font-size: 1.45rem;
}

/* ---- Badges ------------------------------------------------------------ */
.badge { font-weight: 600; letter-spacing: .01em; }
.bg-primary-subtle { background-color: var(--bs-primary-bg-subtle) !important; }
.text-primary { color: var(--bnp-primary-dark) !important; }
.bg-primary { background-color: var(--bnp-primary) !important; }

/* ---- Forms ------------------------------------------------------------- */
.form-control, .form-select {
    border-radius: 14px;
    border-color: var(--bnp-border);
    padding: .7rem .95rem;
    background-color: #fff;
}

    .form-control:hover, .form-select:hover { border-color: #CBD3C6; }

    .form-control:focus, .form-select:focus { border-color: var(--bnp-primary); }

.form-control-lg, .form-select-lg { border-radius: 16px; }

.input-group > .input-group-text { border-color: var(--bnp-border); background: #fff; border-radius: 14px; }
.input-group-lg > .input-group-text { border-radius: 16px; }

.form-label {
    font-weight: 600;
    color: var(--bnp-ink-soft);
}

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

/* ---- Tables ------------------------------------------------------------ */
.table { --bs-table-hover-bg: rgba(var(--bnp-lime-rgb), .12); }
.table > thead { --bs-table-bg: var(--bnp-surface-alt); }
.table > thead th {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bnp-muted);
    font-weight: 700;
}

/* ---- Alerts ------------------------------------------------------------ */
.alert { border-radius: 14px; border: 0; }
.alert-success { background: #E2F5EC; color: var(--bnp-primary-darker); }
.alert-danger { background: #FDECEC; color: #B42318; }
.alert-warning { background: #FFF4E5; color: #9A5B00; }
.alert-info { background: #E8F1FE; color: #1D4ED8; }

/* ---- Sport identity ---------------------------------------------------- */
/* Each sport gets a color pair; set by SportVisuals.CssClass(name). */
.sport-soccer      { --sport: #16A34A; --sport-soft: #DCFCE7; --sport-ink: #14532D; }
.sport-padel       { --sport: #2563EB; --sport-soft: #DBEAFE; --sport-ink: #1E3A8A; }
.sport-tennis      { --sport: #CA8A04; --sport-soft: #FEF9C3; --sport-ink: #713F12; }
.sport-basketball  { --sport: #EA580C; --sport-soft: #FFEDD5; --sport-ink: #7C2D12; }
.sport-tabletennis { --sport: #DC2626; --sport-soft: #FEE2E2; --sport-ink: #7F1D1D; }
.sport-volleyball  { --sport: #D97706; --sport-soft: #FEF3C7; --sport-ink: #78350F; }
.sport-squash      { --sport: #7C3AED; --sport-soft: #EDE9FE; --sport-ink: #4C1D95; }
.sport-other       { --sport: #0E9F6E; --sport-soft: #DCF5EA; --sport-ink: #064E3B; }

.sport-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: var(--sport-soft);
    color: var(--sport-ink);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Colorful court-line artwork used when a venue or court has no photo */
.bnp-court-art {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        var(--court-lines) center / cover no-repeat,
        linear-gradient(135deg, var(--sport, var(--bnp-primary)) 0%, color-mix(in srgb, var(--sport, var(--bnp-primary)) 70%, #0F1A33) 100%);
    color: #fff;
}

/* Court drawings per sport for venues/courts without a photo (generated). */
:root { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Ccircle cx='130' cy='110' r='30'/%3E%3Ccircle cx='200' cy='110' r='30'/%3E%3Ccircle cx='270' cy='110' r='30'/%3E%3C/g%3E%3C/svg%3E"); }
.sport-soccer { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Crect x='30' y='25' width='340' height='170' rx='6'/%3E%3Cline x1='200' y1='25' x2='200' y2='195'/%3E%3Ccircle cx='200' cy='110' r='34'/%3E%3Crect x='30' y='70' width='50' height='80'/%3E%3Crect x='320' y='70' width='50' height='80'/%3E%3Crect x='30' y='92' width='18' height='36'/%3E%3Crect x='352' y='92' width='18' height='36'/%3E%3C/g%3E%3C/svg%3E"); }
.sport-padel { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Crect x='16' y='12' width='368' height='196' rx='10' stroke-opacity='.18'/%3E%3Crect x='30' y='25' width='340' height='170'/%3E%3Cline x1='200' y1='14' x2='200' y2='206' stroke-width='6' stroke-opacity='.75'/%3E%3Cline x1='95' y1='25' x2='95' y2='195'/%3E%3Cline x1='305' y1='25' x2='305' y2='195'/%3E%3Cline x1='95' y1='110' x2='305' y2='110'/%3E%3C/g%3E%3C/svg%3E"); }
.sport-tennis { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Crect x='30' y='25' width='340' height='170'/%3E%3Cline x1='30' y1='48' x2='370' y2='48'/%3E%3Cline x1='30' y1='172' x2='370' y2='172'/%3E%3Cline x1='200' y1='14' x2='200' y2='206' stroke-width='6' stroke-opacity='.75'/%3E%3Cline x1='110' y1='48' x2='110' y2='172'/%3E%3Cline x1='290' y1='48' x2='290' y2='172'/%3E%3Cline x1='110' y1='110' x2='290' y2='110'/%3E%3C/g%3E%3C/svg%3E"); }
.sport-basketball { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Crect x='30' y='25' width='340' height='170'/%3E%3Cline x1='200' y1='25' x2='200' y2='195'/%3E%3Ccircle cx='200' cy='110' r='28'/%3E%3Crect x='30' y='80' width='70' height='60'/%3E%3Crect x='300' y='80' width='70' height='60'/%3E%3Cpath d='M30 38 Q160 110 30 182'/%3E%3Cpath d='M370 38 Q240 110 370 182'/%3E%3C/g%3E%3C/svg%3E"); }
.sport-tabletennis { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Crect x='90' y='45' width='220' height='130' fill='white' fill-opacity='.12'/%3E%3Cline x1='90' y1='110' x2='310' y2='110'/%3E%3Cline x1='200' y1='35' x2='200' y2='185' stroke-width='6' stroke-opacity='.75'/%3E%3C/g%3E%3C/svg%3E"); }
.sport-volleyball { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Crect x='30' y='25' width='340' height='170'/%3E%3Cline x1='200' y1='14' x2='200' y2='206' stroke-width='6' stroke-opacity='.75'/%3E%3Cline x1='145' y1='25' x2='145' y2='195'/%3E%3Cline x1='255' y1='25' x2='255' y2='195'/%3E%3C/g%3E%3C/svg%3E"); }
.sport-squash { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Crect x='30' y='25' width='340' height='170'/%3E%3Cline x1='200' y1='110' x2='370' y2='110'/%3E%3Crect x='285' y='25' width='85' height='85'/%3E%3Crect x='285' y='110' width='85' height='85'/%3E%3C/g%3E%3C/svg%3E"); }
.sport-other { --court-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.4' stroke-width='3'%3E%3Ccircle cx='130' cy='110' r='30'/%3E%3Ccircle cx='200' cy='110' r='30'/%3E%3Ccircle cx='270' cy='110' r='30'/%3E%3C/g%3E%3C/svg%3E"); }

    .bnp-court-art .bnp-court-art-emoji {
        font-size: 3.2rem;
        line-height: 1;
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .25));
    }

/* ---- Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 4.5rem 0 5.5rem;
    background:
        radial-gradient(700px 380px at 92% 8%, rgba(var(--bnp-lime-rgb), .22), transparent 60%),
        radial-gradient(600px 320px at -5% 100%, rgba(var(--bnp-primary-rgb), .35), transparent 60%),
        linear-gradient(160deg, #0F1A33 0%, #13284A 55%, #0E3B3A 100%);
    color: #DCE3F0;
    overflow: hidden;
}

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='white' stroke-opacity='.06' stroke-width='3'%3E%3Crect x='60' y='60' width='1080' height='480' rx='12'/%3E%3Cline x1='600' y1='60' x2='600' y2='540'/%3E%3Ccircle cx='600' cy='300' r='90'/%3E%3Crect x='60' y='190' width='130' height='220'/%3E%3Crect x='1010' y='190' width='130' height='220'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
        pointer-events: none;
    }

    .hero > .container { position: relative; z-index: 1; }

    .hero h1 {
        font-size: clamp(2.4rem, 5vw, 4rem);
        line-height: 1.02;
        font-weight: 800;
        color: #fff;
    }

    .hero .lead {
        font-size: 1.15rem;
        color: #B9C4D8;
        max-width: 540px;
    }

.hero-highlight {
    color: var(--bnp-ink);
    background: var(--bnp-lime);
    padding: 0 .35em;
    border-radius: .35em;
    display: inline-block;
    transform: rotate(-2deg);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #E7F9B5;
    font-weight: 600;
    font-size: .85rem;
    border: 1px solid rgba(255, 255, 255, .14);
}

.hero-perks {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    color: #B9C4D8;
    font-size: .92rem;
}

    .hero-perks i { color: var(--bnp-lime); }

.hero .btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .35);
    --bs-btn-hover-bg: rgba(255, 255, 255, .1);
    --bs-btn-hover-border-color: rgba(255, 255, 255, .6);
    --bs-btn-hover-color: #fff;
}

/* Live "bookable now" panel in the hero */
.hero-panel {
    border-radius: 24px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 1.25rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.hero-panel-title {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #E7F9B5;
    font-weight: 700;
}

.hero-slot {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .8rem .9rem;
    border-radius: 16px;
    background: #fff;
    color: var(--bnp-ink);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .hero-slot + .hero-slot { margin-top: .6rem; }

    .hero-slot:hover {
        transform: translateX(4px);
        color: var(--bnp-ink);
        box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
    }

.hero-slot-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--sport-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.hero-slot-time {
    margin-left: auto;
    text-align: right;
    font-weight: 800;
    font-family: var(--bnp-font-display);
    font-size: 1.1rem;
    white-space: nowrap;
}

    .hero-slot-time small {
        display: block;
        font-family: var(--bs-body-font-family);
        font-size: .72rem;
        font-weight: 600;
        color: var(--bnp-muted);
    }

/* ---- Sections ---------------------------------------------------------- */
.section { padding: 5rem 0; }
.section-tight { padding: 3.25rem 0; }

.section-dark {
    background: linear-gradient(160deg, #0F1A33 0%, #13284A 100%);
    color: #DCE3F0;
}

    .section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
    .section-dark .text-muted-soft { color: #9FB0C8 !important; }

.section-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin-bottom: .5rem;
}

.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .74rem;
    font-weight: 800;
    color: var(--bnp-primary-darker);
    background: var(--bnp-lime-soft);
    padding: .3rem .75rem;
    border-radius: 999px;
}

.stat-number {
    font-family: var(--bnp-font-display);
    font-weight: 800;
    font-size: 2.6rem;
    color: var(--bnp-ink);
    line-height: 1;
}

/* Overlapping stat strip under the hero */
.bnp-stat-strip {
    margin-top: -2.75rem;
    position: relative;
    z-index: 2;
}

    .bnp-stat-strip .card { box-shadow: var(--bnp-shadow); }

.bnp-stat-strip-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: var(--bnp-lime-soft);
    color: var(--bnp-primary-darker);
    flex-shrink: 0;
}

/* ---- Sport tiles ------------------------------------------------------- */
.sport-chip {
    display: block;
    border-radius: 22px;
    padding: 1.4rem 1rem 1.2rem;
    text-align: center;
    background: var(--sport-soft, #fff);
    color: var(--sport-ink, var(--bnp-ink));
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .sport-chip:hover {
        color: var(--sport-ink, var(--bnp-ink));
        border-color: var(--sport, var(--bnp-primary));
        transform: translateY(-4px) rotate(-1deg);
        box-shadow: var(--bnp-shadow);
    }

    .sport-chip .sport-emoji {
        font-size: 2.4rem;
        line-height: 1;
        display: block;
        transition: transform .25s ease;
    }

    .sport-chip:hover .sport-emoji { transform: scale(1.15) rotate(8deg); }

    .sport-chip .sport-name {
        font-family: var(--bnp-font-display);
        font-weight: 700;
        margin-top: .6rem;
    }

/* ---- Steps (how it works) ---------------------------------------------- */
.bnp-step {
    position: relative;
    padding: 1.75rem;
    border-radius: var(--bnp-radius);
    background: #fff;
    border: 1px solid var(--bnp-border);
    height: 100%;
}

.bnp-step-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--bnp-ink);
    color: var(--bnp-lime);
    font-family: var(--bnp-font-display);
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ---- Call-to-action band ----------------------------------------------- */
.bnp-cta-band {
    position: relative;
    border-radius: 28px;
    padding: 3.25rem 2rem;
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(255, 255, 255, .45), transparent 60%),
        linear-gradient(135deg, #D7F77A 0%, var(--bnp-lime) 45%, #9FE3A8 100%);
    color: var(--bnp-ink);
    overflow: hidden;
    box-shadow: var(--bnp-shadow);
}

    .bnp-cta-band h2 { color: var(--bnp-ink); }
    .bnp-cta-band .btn-dark { box-shadow: 0 10px 24px rgba(var(--bnp-ink-rgb), .25); }

    .bnp-cta-band .bnp-cta-emoji {
        position: absolute;
        font-size: 5rem;
        opacity: .9;
        pointer-events: none;
    }

/* ---- Footer ------------------------------------------------------------ */
.bnp-footer {
    background: var(--bnp-ink);
    color: #AEB9CC;
    padding: 3.5rem 0 1.75rem;
    margin-top: 4rem;
}

    .bnp-footer a { color: #AEB9CC; }
    .bnp-footer a:hover { color: var(--bnp-lime); }
    .bnp-footer h6 {
        color: #fff;
        font-family: var(--bnp-font-display);
        font-weight: 700;
        letter-spacing: .02em;
    }

    .bnp-footer .brand {
        color: #fff;
        font-family: var(--bnp-font-display);
        font-weight: 800;
        font-size: 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: .55rem;
    }

    .bnp-footer .brand span { color: var(--bnp-lime); }

    .bnp-footer hr { border-color: rgba(255, 255, 255, .1); opacity: 1; }

    .bnp-footer .bnp-social {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, .06);
        color: #fff;
        transition: background .15s ease, color .15s ease;
    }

        .bnp-footer .bnp-social:hover { background: var(--bnp-lime); color: var(--bnp-ink); }

.bnp-logo-ball {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--bnp-lime);
    color: var(--bnp-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08);
}

/* ---- Validation -------------------------------------------------------- */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--bnp-primary);
}

.invalid {
    outline: 1px solid #D92D20;
}

.validation-message {
    color: #D92D20;
    font-size: .875rem;
}

h1:focus { outline: none; }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ---- Nav pills (bookings tabs) ----------------------------------------- */
.bnp-nav-pills {
    background: #fff;
    border: 1px solid var(--bnp-border);
    border-radius: 999px;
    padding: .3rem;
    display: inline-flex;
    gap: .25rem;
}

.bnp-nav-pills .nav-link {
    border-radius: 999px;
    color: var(--bnp-muted);
    font-weight: 600;
    padding: .5rem 1.1rem;
}

.bnp-nav-pills .nav-link.active {
    background: var(--bnp-ink);
    color: #fff;
    box-shadow: 0 6px 16px rgba(var(--bnp-ink-rgb), .2);
}

.booking-highlight {
    outline: 2px solid var(--bnp-primary);
    box-shadow: 0 0 0 4px rgba(var(--bnp-primary-rgb), .15), var(--bnp-shadow) !important;
}

/* ---- Booking success (done screen) ------------------------------------- */
.booking-success-page {
    min-height: calc(100vh - 80px);
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(var(--bnp-primary-rgb), .16), transparent 60%),
        var(--bnp-bg);
}

.booking-success-card {
    animation: successCardIn .45s ease-out both;
}

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

.booking-success-hero {
    background: linear-gradient(135deg, var(--bnp-primary) 0%, #13284A 100%);
}

.booking-success-check {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    border: 3px solid rgba(255, 255, 255, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    animation: successPop .55s cubic-bezier(.2, 1.2, .3, 1) .15s both;
}

@keyframes successPop {
    0% { transform: scale(.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.confirmation-code-box {
    padding: 1.25rem;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--bnp-lime-soft) 0%, var(--bnp-lime-soft) 100%);
    border: 1px dashed rgba(var(--bnp-primary-rgb), .35);
}

.confirmation-code-value {
    font-family: var(--bnp-font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--bnp-primary-darker);
}

.letter-spacing-wide { letter-spacing: .12em; }

.booking-summary-list .summary-row {
    display: flex;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--bnp-border);
}

.booking-summary-list .summary-row:last-child {
    border-bottom: none;
}

.summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bnp-primary-light);
    color: var(--bnp-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bnp-muted);
    font-weight: 700;
    margin-bottom: .15rem;
}

.summary-value {
    font-weight: 700;
    color: var(--bnp-ink);
}

.summary-meta {
    font-size: .875rem;
    color: var(--bnp-muted);
    margin-top: .15rem;
}

.booking-review-grid {
    display: grid;
    gap: .85rem;
}

.review-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--bnp-border);
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-label {
    color: var(--bnp-muted);
    font-size: .9rem;
}

.review-value {
    font-weight: 700;
    text-align: right;
}

/* ---- Shared page shell ------------------------------------------------- */
.bnp-page-shell {
    background:
        radial-gradient(800px 360px at 100% -8%, rgba(var(--bnp-lime-rgb), .28), transparent 60%),
        radial-gradient(700px 320px at -10% 0%, rgba(var(--bnp-primary-rgb), .10), transparent 55%),
        var(--bnp-bg);
    min-height: calc(100vh - 80px);
}

.bnp-admin-shell {
    background:
        radial-gradient(900px 380px at 0% -8%, rgba(var(--bnp-ink-rgb), .06), transparent 55%),
        var(--bnp-bg);
}

.bnp-page-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 800;
    color: var(--bnp-primary-darker);
    background: var(--bnp-lime-soft);
    border: 1px solid rgba(var(--bnp-lime-rgb), .9);
    padding: .25rem .7rem;
    border-radius: 999px;
    margin-bottom: .6rem;
}

.bnp-page-title {
    font-family: var(--bnp-font-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    letter-spacing: -0.03em;
}

.bnp-page-subtitle {
    color: var(--bnp-muted);
    max-width: 640px;
}

.bnp-back-link {
    color: var(--bnp-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}

.bnp-back-link:hover { color: var(--bnp-primary-dark); }

/* ---- Empty states ------------------------------------------------------ */
.bnp-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.bnp-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.1rem;
    border-radius: 26px;
    background: var(--bnp-lime-soft);
    color: var(--bnp-primary-darker);
    transform: rotate(-6deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* ---- Stat cards -------------------------------------------------------- */
.bnp-stat-card {
    background: #fff;
    border: 1px solid var(--bnp-border);
    border-radius: var(--bnp-radius);
    padding: 1.2rem 1.35rem;
    box-shadow: var(--bnp-shadow-sm);
    height: 100%;
}

.bnp-stat-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bnp-muted);
    font-weight: 700;
    margin-bottom: .35rem;
}

.bnp-stat-value {
    font-family: var(--bnp-font-display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
}

/* ---- KPI cards (admin dashboard) --------------------------------------- */
.bnp-kpi-card {
    border: 0;
    border-radius: 16px;
    box-shadow: var(--bnp-shadow-sm);
    height: 100%;
    padding: 1rem;
    color: #fff;
}

.bnp-kpi-blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.bnp-kpi-green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.bnp-kpi-purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.bnp-kpi-amber { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

/* ---- Field cards ------------------------------------------------------- */
.bnp-field-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.bnp-field-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bnp-shadow) !important;
}

.bnp-field-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.bnp-field-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bnp-field-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bnp-lime-soft), #b2f5ea);
    color: var(--bnp-primary-dark);
    font-size: 3rem;
}

.bnp-favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #cbd5e1;
    box-shadow: var(--bnp-shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, color .15s ease, background .15s ease;
    z-index: 2;
}

.bnp-favorite-btn:hover { transform: scale(1.06); color: #ef4444; }
.bnp-favorite-btn.is-active { color: #ef4444; background: #fff; }
.bnp-favorite-btn--hero { position: static; background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.bnp-favorite-btn--hero.is-active { color: #fecaca; background: rgba(239,68,68,.25); }

/* ---- Booking cards ----------------------------------------------------- */
.bnp-booking-card { border-left: 5px solid var(--bnp-lime) !important; transition: transform .18s ease, box-shadow .18s ease; }
.bnp-booking-card:hover { transform: translateY(-2px); box-shadow: var(--bnp-shadow) !important; }

.bnp-booking-date {
    background: var(--bnp-primary-light);
    color: var(--bnp-primary-dark);
    padding: 1.25rem 1rem;
    text-align: center;
    min-width: 84px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bnp-booking-date .day {
    font-family: var(--bnp-font-display);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.bnp-booking-date .month {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bnp-muted);
    font-weight: 700;
}

.bnp-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--bnp-ink-soft);
    font-size: .82rem;
    font-weight: 600;
}

.bnp-ref-code {
    font-family: monospace;
    font-size: .82rem;
    color: var(--bnp-muted);
    background: #f8fafc;
    border-radius: 8px;
    padding: .25rem .55rem;
    display: inline-block;
}

/* ---- Detail hero ------------------------------------------------------- */
.bnp-detail-hero-image {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bnp-detail-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
}

.bnp-detail-hero-fallback {
    padding: 4rem 1.75rem 2rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='white' stroke-opacity='.12' stroke-width='3'%3E%3Crect x='40' y='30' width='1120' height='240' rx='10'/%3E%3Cline x1='600' y1='30' x2='600' y2='270'/%3E%3Ccircle cx='600' cy='150' r='60'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,
        linear-gradient(135deg, var(--bnp-primary) 0%, #13284A 100%);
    color: #fff;
}

.bnp-detail-hero-image { height: 340px; }

.bnp-detail-hero-fallback h1,
.bnp-detail-hero-overlay h1 { color: #fff; }

/* ---- Admin ------------------------------------------------------------- */
.bnp-admin-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.bnp-admin-field-card .card-header {
    background: linear-gradient(180deg, #ffffff 0%, #fafcfd 100%);
}

.bnp-data-table thead {
    background: #f8fafc;
}

.bnp-data-table thead th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bnp-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--bnp-border);
}

.bnp-schedule-grid { background: #fafcfd; }

.bnp-schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--bnp-border);
}

.bnp-schedule-row:last-child { border-bottom: none; }
.bnp-schedule-row.is-active { background: rgba(var(--bnp-primary-rgb), .04); margin: 0 -.5rem; padding-left: .5rem; padding-right: .5rem; border-radius: 10px; }
.bnp-schedule-day { min-width: 120px; margin-bottom: 0; }
.bnp-time-select { max-width: 130px; }

/* ---- Modals ------------------------------------------------------------ */
.bnp-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(var(--bnp-ink-rgb), .55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1050;

    /* Bootstrap 5.3 sets these on .modal; our modals use this backdrop instead, so the
       dialog, content, header, body and footer need them here or they render unstyled. */
    --bs-modal-zindex: 1055;
    --bs-modal-width: 500px;
    --bs-modal-padding: 1.25rem;
    --bs-modal-margin: .5rem;
    --bs-modal-color: var(--bnp-ink);
    --bs-modal-bg: var(--bnp-surface);
    --bs-modal-border-color: var(--bnp-border);
    --bs-modal-border-width: 1px;
    --bs-modal-border-radius: var(--bnp-radius);
    --bs-modal-box-shadow: var(--bnp-shadow-lg);
    --bs-modal-inner-border-radius: calc(var(--bnp-radius) - 1px);
    --bs-modal-header-padding-x: 1.25rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1.25rem;
    --bs-modal-header-border-color: var(--bnp-border);
    --bs-modal-header-border-width: 1px;
    --bs-modal-title-line-height: 1.4;
    --bs-modal-footer-gap: .5rem;
    --bs-modal-footer-bg: var(--bnp-surface-alt);
    --bs-modal-footer-border-color: var(--bnp-border);
    --bs-modal-footer-border-width: 1px;
}

@media (min-width: 576px) {
    .bnp-modal-backdrop { --bs-modal-margin: 1.75rem; }
}

.bnp-modal-backdrop .modal-dialog {
    width: 100%;
    margin: 0 auto;
}

.bnp-modal-backdrop .modal-content {
    box-shadow: var(--bs-modal-box-shadow);
    overflow: hidden;
}

.bnp-modal-backdrop .modal-title {
    font-family: var(--bnp-font-display);
    font-weight: 700;
}

.bnp-modal-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--bnp-primary), var(--bnp-accent));
}

.bnp-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* ---- Admin courts page ------------------------------------------------- */
.bnp-metric {
    display: flex;
    align-items: center;
    gap: .9rem;
    background: #fff;
    border: 1px solid var(--bnp-border);
    border-radius: var(--bnp-radius);
    padding: 1rem 1.1rem;
    box-shadow: var(--bnp-shadow-sm);
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bnp-metric:hover {
    transform: translateY(-2px);
    box-shadow: var(--bnp-shadow);
}

.bnp-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.bnp-metric-icon--green { background: var(--bnp-lime-soft); color: var(--bnp-primary-darker); }
.bnp-metric-icon--blue { background: #DBEAFE; color: #1D4ED8; }
.bnp-metric-icon--purple { background: #EDE9FE; color: #6D28D9; }
.bnp-metric-icon--amber { background: var(--bnp-accent-soft); color: #C2410C; }

.bnp-toolbar { background: #fff; }

.bnp-search {
    position: relative;
}

.bnp-search i.bi-search {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bnp-muted);
    pointer-events: none;
}

.bnp-search .form-control {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
    border-radius: 999px;
    background: #f8fafc;
}

.bnp-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--bnp-muted);
    padding: .2rem;
    line-height: 1;
}

.bnp-chip-scroller {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bnp-chip-scroller::-webkit-scrollbar { display: none; }

.bnp-filter-chip {
    border: 1px solid var(--bnp-border);
    background: #fff;
    color: var(--bnp-ink-soft);
    border-radius: 999px;
    padding: .4rem .9rem;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.bnp-filter-chip:hover {
    border-color: var(--bnp-primary);
    color: var(--bnp-primary-dark);
}

.bnp-filter-chip.is-active {
    background: var(--bnp-ink);
    border-color: var(--bnp-ink);
    color: #fff;
    box-shadow: 0 6px 16px rgba(var(--bnp-ink-rgb), .2);
}

.bnp-venue-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bnp-venue-card {
    background: #fff;
    border: 1px solid var(--bnp-border);
    border-radius: 20px;
    box-shadow: var(--bnp-shadow-sm);
    overflow: visible;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
}

.bnp-venue-card.is-open {
    box-shadow: var(--bnp-shadow);
}

.bnp-venue-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: background .15s ease;
}

.bnp-venue-head:hover {
    background: #f8fafc;
}

.bnp-venue-card.is-open .bnp-venue-head {
    border-bottom-color: var(--bnp-border);
    background: linear-gradient(180deg, #ffffff 0%, var(--bnp-lime-soft) 100%);
}

@media (min-width: 768px) {
    .bnp-venue-head { padding: 1.15rem 1.4rem; align-items: center; }
}

.bnp-venue-identity {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    flex: 1;
}

.bnp-venue-thumb {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--bnp-shadow-sm);
}

.bnp-venue-thumb--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bnp-lime-soft), #c5f0ea);
    color: var(--bnp-primary-dark);
    font-size: 1.45rem;
}

.bnp-venue-name {
    font-family: var(--bnp-font-display);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 .15rem;
    letter-spacing: -0.02em;
}

.bnp-venue-meta {
    display: flex;
    align-items: center;
    color: var(--bnp-muted);
    font-size: .85rem;
    min-width: 0;
}

.bnp-venue-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .45rem;
}

.bnp-meta-chip--sport {
    background: var(--bnp-primary-light);
    color: var(--bnp-primary-darker);
}

.bnp-venue-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
    position: relative;
}

.bnp-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid var(--bnp-border);
    background: #fff;
    color: var(--bnp-ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bnp-icon-btn--primary {
    background: var(--bnp-primary);
    border-color: var(--bnp-primary);
    color: #fff;
}

.bnp-chevron {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--bnp-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .15s ease;
}

.bnp-chevron.is-open { transform: rotate(180deg); background: var(--bnp-primary-light); color: var(--bnp-primary-dark); }

.bnp-mini-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 44px;
    background: #fff;
    border: 1px solid var(--bnp-border);
    border-radius: 14px;
    box-shadow: var(--bnp-shadow-lg);
    min-width: 170px;
    z-index: 5;
    overflow: hidden;
    animation: bnpVenueIn .16s ease;
}

.bnp-mini-menu button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: .7rem 1rem;
    font-weight: 600;
    font-size: .9rem;
}

.bnp-mini-menu button:hover { background: #f8fafc; }

.bnp-venue-body {
    padding: 1rem 1.1rem 1.2rem;
    animation: bnpVenueIn .22s ease;
}

@media (min-width: 768px) {
    .bnp-venue-body { padding: 1.15rem 1.4rem 1.4rem; }
}

@keyframes bnpVenueIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

.bnp-venue-empty {
    text-align: center;
    padding: 1.75rem 1rem;
    background: #f8fafc;
    border-radius: 16px;
}

.bnp-empty-icon--sm {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    border-radius: 16px;
}

.bnp-court-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
}

@media (min-width: 576px) {
    .bnp-court-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .bnp-court-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1400px) {
    .bnp-court-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.bnp-court-tile {
    background: #fff;
    border: 1px solid var(--bnp-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bnp-court-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--bnp-shadow);
    border-color: rgba(var(--bnp-primary-rgb), .35);
}

.bnp-court-tile-media {
    position: relative;
    height: 118px;
    background: linear-gradient(135deg, var(--bnp-ink), #134e4a);
}

.bnp-court-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bnp-court-tile-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .85);
    font-size: 2rem;
    background:
        radial-gradient(120px 80px at 80% 20%, rgba(var(--bnp-primary-rgb), .45), transparent 70%),
        linear-gradient(135deg, var(--bnp-ink), #0f766e);
}

.bnp-court-sport {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(255, 255, 255, .94);
    color: var(--bnp-ink);
    border-radius: 999px;
    padding: .2rem .65rem;
    font-size: .75rem;
    font-weight: 700;
}

.bnp-court-tile-body {
    padding: .9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}

.bnp-court-tile-name {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.bnp-court-price {
    font-family: var(--bnp-font-display);
    font-weight: 800;
    color: var(--bnp-primary-darker);
    font-size: 1.15rem;
}

.bnp-court-price span {
    font-size: .8rem;
    font-weight: 600;
    color: var(--bnp-muted);
    margin-left: .15rem;
}

.bnp-court-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .7rem;
    color: var(--bnp-muted);
    font-size: .78rem;
    font-weight: 600;
}

.bnp-court-tile-actions {
    display: flex;
    gap: .4rem;
    margin-top: .55rem;
}

.bnp-court-add {
    min-height: 220px;
    border: 1.5px dashed var(--bnp-border);
    border-radius: 16px;
    background: var(--bnp-lime-soft);
    color: var(--bnp-primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-weight: 700;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.bnp-court-add i { font-size: 1.4rem; }

.bnp-court-add:hover {
    border-color: var(--bnp-primary);
    background: var(--bnp-primary-light);
    transform: translateY(-2px);
}

.bnp-fab {
    position: fixed;
    right: 1.1rem;
    bottom: 1.25rem;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--bnp-primary);
    color: #fff;
    box-shadow: 0 10px 28px rgba(var(--bnp-primary-rgb), .42);
    z-index: 1040;
    font-size: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bnp-modal-sheet { width: 100%; }

.bnp-input-icon { position: relative; }
.bnp-input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bnp-muted);
}
.bnp-input-icon .form-control { padding-left: 2.2rem; }

.bnp-form-section-title {
    font-weight: 800;
    font-size: .95rem;
    margin-bottom: .85rem;
}

.bnp-quick-sched {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.bnp-time-pair {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.bnp-closed-pill {
    font-size: .75rem;
    font-weight: 700;
    color: var(--bnp-muted);
    background: #f1f5f9;
    border-radius: 999px;
    padding: .2rem .65rem;
}

.bnp-skeleton {
    background: linear-gradient(90deg, #eef2f6 25%, #f8fafc 37%, #eef2f6 63%);
    background-size: 400% 100%;
    animation: bnpShimmer 1.2s ease infinite;
    border-radius: 16px;
}

.bnp-skeleton--metric { height: 84px; }
.bnp-skeleton--venue { height: 108px; }

/* Courts page: softer button radius */
.bnp-courts-page .bnp-search .form-control {
    border-radius: 14px;
}

.bnp-form-panel {
    background: #f8fafc;
    border: 1px solid var(--bnp-border);
    border-radius: 16px;
    padding: 1.1rem 1.15rem;
    height: 100%;
}

.bnp-form-panel-title {
    font-weight: 800;
    font-size: .92rem;
    margin-bottom: .85rem;
}

.bnp-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: 1.5rem 1rem;
    border: 1.5px dashed var(--bnp-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color .15s ease, background .15s ease;
    position: relative;
    overflow: hidden;
}

.bnp-upload-zone:hover {
    border-color: var(--bnp-primary);
    background: var(--bnp-primary-light);
}

.bnp-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.bnp-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: .55rem;
}

.bnp-image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bnp-border);
    background: #fff;
}

.bnp-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bnp-image-item--pending {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f6;
}

.bnp-image-pending-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--bnp-muted);
    padding: .35rem;
    text-align: center;
    max-width: 100%;
}

.bnp-image-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    background: var(--bnp-primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    border-radius: 6px;
    padding: .15rem .4rem;
    z-index: 1;
}

.bnp-image-badge--muted {
    background: rgba(11, 27, 43, .72);
    font-size: .58rem;
    max-width: calc(100% - 12px);
    line-height: 1.2;
}

.bnp-image-preview-btn {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
}

.bnp-image-item.is-cover {
    border: 2px solid var(--bnp-primary);
}

.bnp-image-item.is-marked-remove {
    opacity: .55;
}

.bnp-image-item.is-marked-remove img {
    filter: grayscale(.55);
}

.bnp-image-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.bnp-image-action {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    background: rgba(11, 27, 43, .72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    cursor: pointer;
}

.bnp-image-action:hover {
    background: rgba(11, 27, 43, .9);
}

.bnp-image-action--danger:hover {
    background: rgba(220, 53, 69, .92);
}

.bnp-image-item--pending:has(.bnp-image-preview-btn) {
    display: block;
    padding: 0;
}

.bnp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(11, 27, 43, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    cursor: zoom-out;
}

.bnp-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
}

.bnp-lightbox-close:hover {
    background: rgba(255, 255, 255, .28);
}

.bnp-lightbox-image {
    max-width: min(96vw, 1200px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.bnp-image-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    background: rgba(11, 27, 43, .72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
}

.bnp-modal-tabs {
    display: flex;
    gap: .35rem;
    border-bottom: 1px solid var(--bnp-border);
    padding-bottom: .75rem;
    overflow-x: auto;
}

.bnp-modal-tab {
    border: 1px solid var(--bnp-border);
    background: #f8fafc;
    color: var(--bnp-muted);
    border-radius: 10px;
    padding: .45rem .85rem;
    font-size: .85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.bnp-modal-tab.is-active {
    background: var(--bnp-primary);
    border-color: var(--bnp-primary);
    color: #fff;
}

.bnp-schedule-days {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.bnp-schedule-day-block {
    border: 1px solid var(--bnp-border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.bnp-schedule-day-block.is-open {
    border-color: rgba(var(--bnp-primary-rgb), .35);
    box-shadow: inset 3px 0 0 var(--bnp-primary);
}

.bnp-schedule-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 1rem;
    background: #f8fafc;
}

.bnp-schedule-slots {
    padding: .65rem 1rem .85rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.bnp-schedule-slot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    padding: .55rem .65rem;
    background: var(--bnp-lime-soft);
    border: 1px solid var(--bnp-border);
    border-radius: 10px;
}

.bnp-schedule-slot-row--invalid {
    background: #fff5f5;
    border-color: #f1aeb5;
}

.bnp-schedule-slot-row--invalid .bnp-time-select,
.bnp-schedule-slot-row--invalid .form-control {
    border-color: var(--bs-danger);
}

.bnp-slot-remove {
    flex-shrink: 0;
}

.bnp-add-slot-btn {
    align-self: flex-start;
    margin-top: .15rem;
}

.bnp-admin-form-modal .invalid-feedback {
    font-size: .82rem;
    font-weight: 600;
}

@keyframes bnpShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.bnp-reports-page .bnp-report-panel {
    background: #fff;
    border: 1px solid var(--bnp-border);
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--bnp-shadow-sm);
}

.bnp-report-bar-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: .75rem;
    align-items: center;
    margin-bottom: .85rem;
}

.bnp-report-bar-label {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bnp-report-bar-track {
    height: 10px;
    background: #eef2f6;
    border-radius: 999px;
    overflow: hidden;
}

.bnp-report-bar-track--sm { height: 8px; }

.bnp-report-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bnp-primary), var(--bnp-accent));
}

.bnp-report-bar-fill--completed { background: linear-gradient(90deg, #10b981, #059669); }
.bnp-report-bar-fill--confirmed { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.bnp-report-bar-fill--cancelled { background: linear-gradient(90deg, #ef4444, #dc2626); }

.bnp-report-bar-value {
    min-width: 4.5rem;
    text-align: right;
    font-size: .9rem;
}

.bnp-report-status-row {
    display: flex;
    align-items: center;
    margin-bottom: .75rem;
}

.bnp-report-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--bnp-border);
}

.bnp-report-list-item:last-child { border-bottom: none; }

@media (max-width: 767.98px) {
    .bnp-report-bar-row {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .bnp-report-bar-value { text-align: left; }
}

@media (max-width: 575.98px) {
    .bnp-schedule-row {
        flex-direction: column;
        align-items: flex-start;
        gap: .55rem;
    }

    .bnp-time-select { max-width: none; width: 6.6rem; }

    .bnp-venue-thumb {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .bnp-modal-backdrop {
        align-items: flex-end;
        padding: 0;
    }

    .bnp-modal-backdrop .modal-dialog {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .bnp-modal-sheet {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        max-height: 92vh;
    }

    .bnp-courts-page .container {
        padding-bottom: 5.5rem;
    }
}

/* Flatpickr / date picker */
.bnp-flatpickr-wrap {
    width: 100%;
}

.bnp-flatpickr-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}

.bnp-flatpickr-group .input-group-text,
.bnp-flatpickr-group .form-control,
.bnp-flatpickr-group .btn {
    border-color: var(--bnp-border);
    min-height: 3rem;
}

.bnp-flatpickr-input {
    font-weight: 600;
    color: var(--bnp-ink);
    cursor: pointer;
    background: #fff;
}

.bnp-flatpickr-open {
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.bnp-date-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.bnp-date-chip {
    border: 1px solid var(--bnp-border);
    background: #fff;
    color: var(--bnp-ink-soft);
    border-radius: 999px;
    padding: .35rem .75rem;
    font-size: .78rem;
    font-weight: 600;
    transition: all .15s ease;
}

.bnp-date-chip:hover {
    border-color: var(--bnp-primary);
    color: var(--bnp-primary-dark);
}

.bnp-date-chip.is-active {
    background: var(--bnp-ink);
    border-color: var(--bnp-ink);
    color: #fff;
}

.flatpickr-calendar {
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .14) !important;
    border: 1px solid var(--bnp-border) !important;
    font-family: Inter, system-ui, sans-serif;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--bnp-primary) !important;
    border-color: var(--bnp-primary) !important;
}

.flatpickr-day.today {
    border-color: var(--bnp-primary) !important;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: 700;
}

/* Booking explore page */
.bnp-booking-search {
    background: #fff;
    box-shadow: var(--bnp-shadow) !important;
}

.bnp-search-group .form-control:focus,
.bnp-search-group .input-group-text {
    box-shadow: none;
}

.bnp-sport-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.bnp-field-card-v2 {
    transition: transform .2s ease, box-shadow .2s ease;
}

.bnp-field-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--bnp-shadow) !important;
}

.bnp-field-card-v2 .bnp-field-card-media { height: 190px; }
.bnp-field-card-v2 .bnp-field-card-media img { transition: transform .5s ease; }
.bnp-field-card-v2:hover .bnp-field-card-media img { transform: scale(1.06); }

.bnp-price-tag {
    font-family: var(--bnp-font-display);
    font-weight: 800;
    color: var(--bnp-ink);
}

    .bnp-price-tag small {
        font-family: var(--bs-body-font-family);
        font-weight: 500;
        color: var(--bnp-muted);
        font-size: .78rem;
    }

.bnp-field-card-badge {
    position: absolute;
    left: .75rem;
    bottom: .75rem;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--bnp-shadow-sm);
    color: var(--bnp-ink);
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .55rem;
    border-radius: 999px;
}

/* Admin dashboard & reservations */
.bnp-admin-quick-link {
    transition: transform .15s ease, box-shadow .15s ease;
}

.bnp-admin-quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08) !important;
}

.bnp-admin-quick-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: .75rem;
}

.bnp-admin-booking-list {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.bnp-admin-booking-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .75rem .85rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--bnp-border);
}

.bnp-admin-booking-date {
    width: 2.6rem;
    text-align: center;
    flex-shrink: 0;
}

.bnp-admin-booking-date .day {
    font-weight: 800;
    line-height: 1;
    font-size: 1.05rem;
}

.bnp-admin-booking-date .month {
    font-size: .68rem;
    text-transform: uppercase;
    color: var(--bnp-ink-soft);
    font-weight: 700;
}

.bnp-reservation-card .bnp-booking-date {
    background: var(--bnp-primary-light);
    color: var(--bnp-primary-darker);
    padding: .85rem .65rem;
    text-align: center;
    min-width: 3.4rem;
}

.bnp-reservation-card .bnp-booking-date .day {
    font-weight: 800;
    line-height: 1;
}

.bnp-reservation-card .bnp-booking-date .month {
    font-size: .7rem;
    text-transform: uppercase;
    opacity: .8;
}

/* Sign in / register / password pages */
.bnp-auth-shell {
    min-height: calc(100vh - 80px);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%230F1A33' stroke-opacity='.05' stroke-width='3'%3E%3Crect x='60' y='60' width='1080' height='480' rx='12'/%3E%3Cline x1='600' y1='60' x2='600' y2='540'/%3E%3Ccircle cx='600' cy='300' r='90'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,
        radial-gradient(700px 380px at 85% 0%, rgba(var(--bnp-lime-rgb), .35), transparent 60%),
        radial-gradient(600px 320px at 0% 100%, rgba(var(--bnp-primary-rgb), .12), transparent 60%),
        var(--bnp-bg);
}

.bnp-auth-shell .card { box-shadow: var(--bnp-shadow-lg) !important; }

/* WhatsApp booking QR code (admin field/court editors) */
.bnp-qr-panel {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--bnp-border);
    border-radius: var(--bnp-radius-sm);
    background: var(--bnp-surface-alt);
}

.bnp-qr-image {
    flex: 0 0 168px;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid var(--bnp-border);
}

    .bnp-qr-image img { width: 100%; height: auto; display: block; image-rendering: pixelated; }

.bnp-qr-info { min-width: 0; flex: 1; }

@media (max-width: 575.98px) {
    .bnp-qr-panel { flex-direction: column; align-items: stretch; }
    .bnp-qr-image { flex-basis: auto; width: 200px; margin: 0 auto; }
}

/* ── Data tables → cards on phones ─────────────────────────────────────────
   Add .bnp-card-table to the table's card wrapper. On phones every row becomes
   a card: .bnp-ct-title is the card heading, other cells show their data-label,
   .bnp-ct-actions is the button row at the bottom. Desktop keeps the table. */
@media (max-width: 767.98px) {
    .card.bnp-card-table,
    .bnp-card-table {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }
    .bnp-card-table .table-responsive { overflow: visible; }
    .bnp-card-table table,
    .bnp-card-table tbody { display: block; width: 100%; }
    .bnp-card-table thead { display: none; }
    .bnp-card-table table { --bs-table-bg: transparent; --bs-table-hover-bg: transparent; }

    .bnp-card-table tbody tr {
        display: flex;
        flex-direction: column;
        background: var(--bnp-surface);
        border: 1px solid var(--bnp-border);
        border-radius: var(--bnp-radius-sm);
        box-shadow: var(--bnp-shadow-sm);
        padding: .9rem 1rem .75rem;
        margin-bottom: .85rem;
        position: relative;
        overflow: hidden;
    }
    .bnp-card-table tbody tr::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 4px;
        background: var(--bnp-primary);
    }
    .bnp-card-table tbody tr.bnp-ct-muted::before { background: var(--bnp-border); }

    /* Label on the left, the cell's lines stacked on the right */
    .bnp-card-table tbody td {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        column-gap: 1rem;
        row-gap: .1rem;
        padding: .45rem 0 !important;
        border: 0;
        border-bottom: 1px dashed var(--bnp-border);
        text-align: right !important;
        background: transparent !important;
        box-shadow: none !important;
        min-width: 0;
    }
    .bnp-card-table tbody td > * { grid-column: 2; justify-self: end; min-width: 0; overflow-wrap: anywhere; }
    .bnp-card-table tbody td[data-label]::before {
        content: attr(data-label);
        flex-shrink: 0;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--bnp-muted);
        padding-top: .15rem;
        text-align: left;
        grid-column: 1;
        grid-row: 1 / span 6;
    }
    .bnp-card-table tbody td .d-flex { justify-content: flex-end; }

    /* Heading of the card */
    .bnp-card-table tbody td.bnp-ct-title {
        order: -1;
        display: block;
        text-align: left !important;
        padding: 0 0 .6rem !important;
        margin-bottom: .15rem;
        border-bottom: 1px solid var(--bnp-border);
        font-size: 1.02rem;
    }
    .bnp-card-table tbody td.bnp-ct-title::before { content: none; }
    .bnp-card-table tbody td.bnp-ct-title > *,
    .bnp-card-table tbody td.bnp-ct-actions > * { justify-self: auto; }

    /* Buttons along the bottom */
    .bnp-card-table tbody td.bnp-ct-actions {
        order: 99;
        display: block;
        border-bottom: 0;
        padding: .75rem 0 .1rem !important;
    }
    .bnp-card-table tbody td.bnp-ct-actions::before { content: none; }
    .bnp-card-table tbody td.bnp-ct-actions > .d-flex,
    .bnp-card-table tbody td.bnp-ct-actions > .btn-group {
        display: flex;
        width: 100%;
        gap: .5rem;
        justify-content: stretch;
    }
    .bnp-card-table tbody td.bnp-ct-actions .btn {
        flex: 1 1 0;
        border-radius: 10px !important;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
    .bnp-card-table tbody td.bnp-ct-actions .btn .bnp-ct-btn-label { display: inline; }
    .bnp-card-table tbody tr td:nth-last-child(2):not(.bnp-ct-title) { border-bottom: 0; }

    /* Rows that only say "nothing matches" */
    .bnp-card-table tbody tr.bnp-ct-empty { padding: 1.25rem 1rem; }
    .bnp-card-table tbody tr.bnp-ct-empty::before { content: none; }
    .bnp-card-table tbody tr.bnp-ct-empty td { display: block; text-align: center !important; border: 0; }
}
/* Button text that only shows on phone cards (icons alone on desktop) */
.bnp-ct-btn-label { display: none; margin-left: .35rem; }

/* ── Court editor: collapsible panels ───────────────────────────────────── */
.bnp-court-section {
    border: 1px solid var(--bnp-border);
    border-radius: 16px;
    background: #fff;
    scroll-margin-top: .75rem;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.bnp-court-section + .bnp-court-section,
.bnp-court-section + * > .bnp-court-section,
* + .bnp-court-section { margin-top: .75rem; }
.bnp-court-section.is-open {
    border-color: color-mix(in srgb, var(--bnp-primary) 45%, var(--bnp-border));
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}
.bnp-court-panel-head {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: 100%;
    padding: .85rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    border-radius: 16px;
    color: var(--bnp-ink);
}
.bnp-court-panel-head:hover { background: var(--bnp-primary-light); }
.bnp-court-panel-head:focus-visible { outline: 2px solid var(--bnp-primary); outline-offset: -2px; }
.bnp-court-panel-icon {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: var(--bnp-primary-light);
    color: var(--bnp-primary-dark);
    font-size: 1.1rem;
}
.bnp-court-section.is-open .bnp-court-panel-icon { background: var(--bnp-primary); color: #fff; }
.bnp-court-panel-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.bnp-court-panel-title { font-family: var(--bnp-font-display); font-weight: 700; font-size: 1rem; }
.bnp-court-panel-hint { font-size: .8rem; color: var(--bnp-muted); }
.bnp-court-panel-chevron { flex: 0 0 auto; color: var(--bnp-muted); transition: transform .2s ease; }
.bnp-court-section.is-open .bnp-court-panel-chevron { transform: rotate(180deg); color: var(--bnp-primary-dark); }
.bnp-court-panel-body { padding: .25rem 1rem 1rem; }
.bnp-court-section:not(.is-open) .bnp-court-panel-body { display: none; }

/* ── Price rules editor ─────────────────────────────────────────────────── */
.bnp-rules { display: flex; flex-direction: column; gap: .85rem; }
.bnp-rules-base {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .85rem 1rem;
    border-radius: var(--bnp-radius-sm);
    background: var(--bnp-primary-light);
}
.bnp-rules-base > .bi { font-size: 1.3rem; color: var(--bnp-primary-dark); }
.bnp-rules-presets { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.bnp-rules-empty {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: 1rem;
    border: 1px dashed var(--bnp-border);
    border-radius: var(--bnp-radius-sm);
    color: var(--bnp-muted);
}
.bnp-rules-empty .bi { font-size: 1.5rem; }
.bnp-rule {
    padding: .9rem 1rem 1rem;
    border: 1px solid var(--bnp-border);
    border-left: 4px solid var(--bnp-primary);
    border-radius: var(--bnp-radius-sm);
    background: var(--bnp-surface);
    box-shadow: var(--bnp-shadow-sm);
}
.bnp-rule.is-off { border-left-color: var(--bnp-border); opacity: .7; }
.bnp-rule-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.bnp-rule-order {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 800;
    color: #fff;
    background: var(--bnp-ink);
}
.bnp-rule-days { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin-bottom: .7rem; }
.bnp-day-chip {
    min-width: 2.7rem;
    padding: .3rem .5rem;
    border-radius: 999px;
    border: 1px solid var(--bnp-border);
    background: var(--bnp-surface-alt);
    font-size: .78rem;
    font-weight: 700;
    color: var(--bnp-muted);
}
.bnp-day-chip.is-on { background: var(--bnp-primary); border-color: var(--bnp-primary); color: #fff; }
.bnp-rule-days-quick { font-size: .78rem; color: var(--bnp-muted); margin-left: .35rem; }
.bnp-rule-days-quick .btn-link { font-size: .78rem; text-decoration: none; vertical-align: baseline; }
.bnp-rule-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .35rem;
    min-height: 31px;
    padding: .35rem .65rem;
    border-radius: 10px;
    font-size: .85rem;
    background: var(--bnp-surface-alt);
    color: var(--bnp-ink-soft);
}
.bnp-rule-result.is-error { background: #FEF2F2; color: #B91C1C; }
.bnp-rule-badge {
    font-size: .72rem;
    font-weight: 800;
    padding: .1rem .45rem;
    border-radius: 999px;
    background: var(--bnp-accent-soft);
    color: #B4471B;
}
.bnp-rule-badge.is-discount { background: var(--bnp-lime-soft); color: var(--bnp-primary-darker); }

/* ── Amenities editor ───────────────────────────────────────────────────── */
.bnp-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.bnp-amenity {
    border: 1px solid var(--bnp-border);
    border-radius: 14px;
    background: var(--bnp-surface);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.bnp-amenity.is-on { border-color: var(--bnp-primary); box-shadow: 0 0 0 3px var(--bnp-primary-light); }
.bnp-amenity-head { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; margin: 0; cursor: pointer; }
.bnp-amenity-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--bnp-surface-alt);
    color: var(--bnp-muted);
}
.bnp-amenity.is-on .bnp-amenity-icon { background: var(--bnp-primary); color: #fff; }
.bnp-amenity-name { font-size: .88rem; font-weight: 600; color: var(--bnp-ink); line-height: 1.2; }
.bnp-amenity-body { padding: 0 .75rem .75rem; }

/* Venue editor: page address and logo */
.bnp-slug-prefix { font-size: .85rem; color: var(--bnp-muted); max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
.bnp-logo-field { display: flex; align-items: center; gap: .85rem; }
.bnp-logo-preview {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 18px;
    border: 1px solid var(--bnp-border);
    background: var(--bnp-surface-alt);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--bnp-muted);
    font-size: 1.6rem;
}
.bnp-logo-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Venue editor: social link inputs. Scoped to .input-group so the brand colours beat
   ".input-group > .input-group-text { background: #fff }", which made the icons white on white. */
.input-group > .bnp-social-icon { width: 2.6rem; justify-content: center; color: #fff; border: 0; }
.input-group > .bnp-social-icon--instagram { background: linear-gradient(45deg, #FD5949, #D6249F, #285AEB); }
.input-group > .bnp-social-icon--facebook { background: #1877F2; }
.input-group > .bnp-social-icon--tiktok { background: #111; }
.input-group > .bnp-social-icon--youtube { background: #FF0000; }
.input-group > .bnp-social-icon--snapchat { background: #FFFC00; color: #111; }
.input-group > .bnp-social-icon--twitter-x { background: #000; }
.input-group > .bnp-social-icon--globe2 { background: var(--bnp-primary); }

/* Blazor's "An unhandled error has occurred" bar: hidden until Blazor shows it, on every layout. */
#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2000;
    padding: .6rem 1.25rem .7rem;
    background: lightyellow;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }

/* ── Time slot picker (player booking page, walk-in and reschedule dialogs) ── */
.bnp-selection-summary {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: var(--bnp-lime-soft);
    border: 1px solid rgba(var(--bnp-lime-rgb), .9);
}

.bnp-slot-picker {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.bnp-slot-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    font-size: .72rem;
    color: var(--bnp-ink-soft);
}

.bnp-slot-legend-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.bnp-slot-legend-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    border: 1px solid transparent;
}

.bnp-slot-legend-dot.is-available { background: var(--bnp-lime); border-color: var(--bnp-lime-dark); }
.bnp-slot-legend-dot.is-booked { background: #fde8e8; border-color: #e57373; }

.bnp-closed-periods {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.bnp-closed-periods .bnp-closed-pill {
    display: inline-flex;
    align-items: center;
}

.bnp-slot-btn {
    border: 1px solid var(--bnp-border);
    background: #fff;
    color: var(--bnp-ink-soft);
    border-radius: 12px;
    padding: .45rem .55rem;
    font-size: .72rem;
    font-weight: 600;
    min-width: 5.2rem;
    transition: all .15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    gap: .05rem;
}

.bnp-slot-time {
    font-size: .78rem;
    font-weight: 700;
    color: inherit;
}

.bnp-slot-time-end {
    font-size: .68rem;
    font-weight: 500;
    opacity: .75;
}

.bnp-slot-btn.is-slot-available:hover:not(:disabled) {
    border-color: var(--bnp-lime-dark);
    background: var(--bnp-lime-soft);
    color: var(--bnp-ink);
    transform: translateY(-1px);
}

.bnp-slot-btn.is-slot-booked {
    background: #fff5f5;
    border-color: #f1aeb5;
    color: #b42318;
    opacity: .85;
}

.bnp-slot-btn.is-slot-unavailable {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #adb5bd;
    opacity: .75;
}

.bnp-slot-btn.is-slot-closed {
    background: #eef1f4;
    border-color: #ced4da;
    color: #868e96;
    opacity: .65;
}

.bnp-slot-btn.is-selected {
    background: var(--bnp-lime);
    border-color: var(--bnp-lime-dark);
    color: var(--bnp-ink);
}

.bnp-slot-btn.is-start,
.bnp-slot-btn.is-end {
    background: var(--bnp-ink);
    border-color: var(--bnp-ink);
    color: var(--bnp-lime);
}

.bnp-slot-btn.is-start .bnp-slot-time-end,
.bnp-slot-btn.is-end .bnp-slot-time-end,
.bnp-slot-btn.is-selected .bnp-slot-time-end {
    opacity: .85;
    color: inherit;
}

.bnp-slot-btn:disabled:not(.is-selected):not(.is-start):not(.is-end) {
    cursor: not-allowed;
}

.bnp-slot-btn.is-slot-booked:disabled { text-decoration: line-through; }
.bnp-slot-legend-dot.is-own { background: #DBEAFE; border-color: #3B82F6; }
.bnp-slot-btn.is-slot-own {
    background: #EFF6FF;
    border-color: #93C5FD;
    color: #1D4ED8;
}
.bnp-slot-btn.is-slot-own:hover:not(:disabled) { border-color: #3B82F6; transform: translateY(-1px); }
/* A selected slot shows as selected even when it is the booking's current time. */
.bnp-slot-btn.is-slot-own.is-selected { background: var(--bnp-lime); border-color: var(--bnp-lime-dark); color: var(--bnp-ink); }
.bnp-slot-btn.is-slot-own.is-start,
.bnp-slot-btn.is-slot-own.is-end { background: var(--bnp-ink); border-color: var(--bnp-ink); color: var(--bnp-lime); }

/* ── Booking page: special prices ── */
.bnp-deals { display: flex; flex-direction: column; gap: .4rem; }
.bnp-deal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem .75rem;
    border-radius: 12px;
    background: var(--bnp-accent-soft);
    border: 1px solid color-mix(in srgb, var(--bnp-accent) 25%, transparent);
}
.bnp-deal.is-discount { background: var(--bnp-lime-soft); border-color: color-mix(in srgb, var(--bnp-lime-dark) 50%, transparent); }
.bnp-deal-name { font-weight: 700; font-size: .88rem; color: var(--bnp-ink); }
.bnp-deal.is-peak .bnp-deal-name .bi { color: var(--bnp-accent); }
.bnp-deal.is-discount .bnp-deal-name .bi { color: var(--bnp-primary-dark); }
.bnp-deal-when { font-size: .78rem; color: var(--bnp-muted); }
.bnp-deal-price { font-family: var(--bnp-font-display); font-weight: 800; color: var(--bnp-ink); white-space: nowrap; text-align: right; }
.bnp-deal-price small { font-size: .72rem; color: var(--bnp-muted); }
.bnp-deal-badge {
    display: inline-block;
    margin-left: .3rem;
    padding: .05rem .4rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    background: #fff;
    color: #B4471B;
}
.bnp-deal.is-discount .bnp-deal-badge { color: var(--bnp-primary-darker); }

/* Discounted slots in the time grid */
.bnp-slot-btn.is-slot-deal { position: relative; border-color: var(--bnp-primary); }
.bnp-slot-btn.is-slot-deal::after {
    content: "%";
    position: absolute;
    top: -.4rem;
    right: -.35rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .6rem;
    font-weight: 800;
    color: #fff;
    background: var(--bnp-primary);
}
.bnp-slot-legend-dot.is-deal { background: var(--bnp-primary); border-color: var(--bnp-primary-dark); }

/* ── Court and venue editors: every tab visible, nothing cropped (tabs wrap instead of scrolling) ── */
.bnp-modal-tabs {
    flex-wrap: wrap;
    overflow: visible;
    row-gap: .4rem;
}
.bnp-modal-tab {
    line-height: 1.25;
    flex: 0 0 auto;
}

.min-w-0 { min-width: 0; }

/* ---------- Venue page layout (siteurl/{slug}): brand bar and a light footer, no portal menu ---------- */
.vl-bar { box-shadow: none; }

.vl-footer {
    border-top: 1px solid rgba(15, 23, 42, .08);
    color: #64748B;
    padding: 1.25rem 0;
    margin-top: 3rem;
}

    .vl-footer a { color: #64748B; text-decoration: none; }
    .vl-footer a:hover { color: var(--bnp-ink); }
    .vl-footer .vl-footer-brand { font-family: var(--bnp-font-display); font-weight: 800; color: var(--bnp-ink); }
    .vl-footer .vl-footer-brand span { color: var(--bnp-accent); }
