:root {
    --ma-primary: #0d47a1;
    --ma-primary-dark: #07377f;
    --ma-accent: #1d6ff2;
    --ma-green: #1d6ff2;
    --ma-ink: #0f172a;
    --ma-muted: #64748b;
    --ma-line: #dbe3ef;
    --ma-soft: #f4f8ff;
    --ma-card-shadow: 0 12px 28px rgba(13, 71, 161, .08);
}

body {
    font-family: var(--metro-font);
    color: var(--ma-ink);
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

a {
    text-decoration: none;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.fw-black {
    font-weight: 900 !important;
}

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

.public-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(219, 227, 239, .75);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 1px 12px rgba(13, 71, 161, .06);
    backdrop-filter: blur(10px);
}

.public-navbar {
    min-height: 62px;
    padding-block: .4rem;
}

.navbar-collapse.collapse {
    visibility: visible;
}

.brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--ma-primary);
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .03em;
}

.brand-logo-image {
    width: 124px;
    height: 42px;
    object-fit: contain;
    border-radius: .45rem;
    background: #fff;
}

.brand-mark-light {
    background: #fff;
    color: var(--ma-primary);
}

.brand-word {
    font-family: var(--metro-font);
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--ma-primary);
    letter-spacing: 0;
}

.brand-word span {
    color: var(--ma-green);
}

.public-navbar .nav-link {
    border-radius: .35rem;
    padding: .36rem .55rem;
    color: #4b5563;
    font-size: .78rem;
    font-weight: 400;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link.active {
    background: #eef5ff;
    color: var(--ma-primary);
}

.btn {
    border-radius: .55rem;
    font-weight: 500;
    font-size: .86rem;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.public-body .btn {
    min-height: 36px;
    padding: .42rem .78rem;
    border-radius: .38rem;
    font-size: .8rem;
    font-weight: 400;
}

.public-body .btn-lg {
    min-height: 40px;
    padding: .52rem .95rem;
    font-size: .84rem;
}

.btn-primary {
    background: var(--ma-primary);
    border-color: var(--ma-primary);
}

.btn-primary:hover {
    background: var(--ma-primary-dark);
    border-color: var(--ma-primary-dark);
}

.btn-lime,
.bg-limevolt {
    background: var(--ma-primary) !important;
    border-color: var(--ma-primary) !important;
    color: #fff !important;
}

.btn-lime:hover,
.bg-limevolt:hover {
    background: var(--ma-primary-dark) !important;
    border-color: var(--ma-primary-dark) !important;
}

.public-page {
    width: 100%;
    max-width: 1230px;
    padding: 1.65rem 1rem 2.2rem;
    margin-inline: auto;
}

.home-screen-page {
    width: 100%;
}

.arena-home-screen {
    position: relative;
    min-height: calc(100vh - 66px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 5rem) 1rem;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(13, 71, 161, .18) 42%, rgba(4, 19, 51, .78) 100%),
        var(--arena-hero-image, url("../../homepage-court.jpg"));
    background-size: cover;
    background-position: center;
}

.arena-home-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 42%);
    pointer-events: none;
}

.arena-home-content {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .42);
}

.arena-home-content h1 {
    margin: 0;
    font-family: var(--metro-font);
    font-size: clamp(1.8rem, 5vw, 3.7rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0;
}

.arena-home-copy {
    max-width: 680px;
    margin: .75rem auto 0;
    font-size: clamp(.9rem, 1.7vw, 1rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, .92);
}

.arena-home-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin-top: 1.6rem;
}

.arena-home-actions .btn {
    min-width: 106px;
    min-height: 38px;
    border-radius: .45rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .25);
}

.arena-book-button {
    padding-inline: 1.05rem;
}

.landing-section {
    padding: clamp(3rem, 6vw, 5.25rem) 1rem;
    background: #fff;
}

.landing-section-soft {
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.landing-heading {
    max-width: 760px;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.landing-heading-left {
    margin-inline: 0;
    text-align: left;
}

.landing-heading > p {
    margin: 0 0 .6rem;
    color: var(--ma-primary);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.landing-heading h2 {
    margin: 0;
    color: var(--ma-ink);
    font-size: clamp(1.65rem, 4vw, 2.65rem);
    font-weight: 600;
    line-height: 1.12;
}

.landing-heading h2 span {
    color: var(--ma-primary);
}

.landing-heading-copy {
    margin-top: 1rem;
    color: var(--ma-muted);
    font-size: .93rem;
    font-weight: 300;
    line-height: 1.8;
}

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

.landing-feature-card {
    position: relative;
    min-height: 284px;
    padding: 1.7rem 1.25rem 1.35rem;
    border: 1px solid #dbeafe;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 18px 38px rgba(13, 71, 161, .08);
    text-align: center;
}

.feature-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #dbeafe;
    font-size: 2.05rem;
    font-weight: 600;
    line-height: 1;
}

.feature-icon {
    width: 46px;
    height: 46px;
    margin-top: 1.65rem;
    color: var(--ma-primary);
    stroke-width: 1.8;
}

.landing-feature-card h3 {
    margin: 1rem 0 .55rem;
    color: var(--ma-primary-dark);
    font-size: 1.05rem;
    font-weight: 600;
}

.landing-feature-card p {
    min-height: 68px;
    margin: 0 0 1.2rem;
    color: var(--ma-muted);
    font-size: .86rem;
    font-weight: 300;
    line-height: 1.65;
}

.main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .48rem .88rem;
    border: 1px solid var(--ma-primary);
    border-radius: 999px;
    background: var(--ma-primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 400;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.main-button:hover {
    background: var(--ma-primary-dark);
    border-color: var(--ma-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.main-button-outline {
    background: #fff;
    color: var(--ma-primary);
}

.main-button-outline:hover {
    background: #eff6ff;
    color: var(--ma-primary-dark);
}

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

.landing-gallery-grid figure {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    margin: 0;
    border-radius: .9rem;
    background: #dbeafe;
    box-shadow: 0 18px 38px rgba(13, 71, 161, .09);
}

.landing-gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform .25s ease;
}

.landing-gallery-grid figure:hover img {
    transform: scale(1.035);
}

.landing-gallery-grid figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: .8rem .95rem;
    border-radius: .7rem;
    background: rgba(255, 255, 255, .92);
    color: var(--ma-primary-dark);
    font-size: .84rem;
    font-weight: 500;
}

.landing-gallery-grid figure.image-missing {
    display: grid;
    place-items: end stretch;
    background: #eef5ff;
}

.landing-gallery-grid figure.image-missing::before {
    content: "Image path not found";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--ma-primary);
    font-size: .82rem;
    font-weight: 500;
}

.contact-section {
    background: #fff;
}

.landing-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: 1.4rem;
    align-items: stretch;
}

.contact-list {
    display: grid;
    gap: .8rem;
}

.contact-list p {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin: 0;
    padding: .95rem 1rem;
    border: 1px solid #dbeafe;
    border-radius: .75rem;
    background: #f7fbff;
    color: #334155;
    font-size: .86rem;
    font-weight: 300;
    line-height: 1.5;
}

.contact-list i {
    color: var(--ma-primary);
    margin-top: .2rem;
}

.landing-contact-actions {
    justify-content: flex-start;
}

.landing-map {
    min-height: 430px;
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: .95rem;
    box-shadow: 0 18px 38px rgba(13, 71, 161, .08);
}

.landing-map iframe {
    width: 100%;
    height: 100%;
    min-height: 430px;
    border: 0;
}

@media (max-width: 575.98px) {
    .arena-home-screen {
        min-height: calc(100vh - 62px);
        align-items: start;
        padding-top: 2.4rem;
        background-position: 55% center;
    }

    .arena-home-actions {
        width: 100%;
    }

    .arena-home-actions .btn {
        flex: 1 1 100%;
    }

    .landing-section {
        padding-inline: .85rem;
    }
}

@media (max-width: 991.98px) {
    .landing-feature-grid,
    .landing-gallery-grid,
    .landing-contact-grid {
        grid-template-columns: 1fr;
    }

    .landing-heading-left {
        text-align: center;
    }

    .landing-contact-actions {
        justify-content: center;
    }
}

.public-card,
.venue-card,
.booking-panel,
.app-card,
.stat-card {
    border: 1px solid var(--ma-line) !important;
    border-radius: .8rem !important;
    background: #fff !important;
    box-shadow: var(--ma-card-shadow) !important;
}

.venue-card,
.public-card {
    overflow: hidden;
}

.public-card:hover,
.venue-card:hover {
    box-shadow: 0 16px 34px rgba(15, 23, 42, .1) !important;
}

.public-member-account-page {
    background: #eef4ef;
}

.public-member-account-shell {
    width: min(100%, 980px);
}

.public-member-account-card {
    padding: clamp(18px, 2.4vw, 28px);
    border-radius: 22px !important;
}

.public-member-account-form {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.public-member-account-form .admin-player-form-head p {
    max-width: 780px;
}

.public-member-account-form .admin-player-form-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px 16px;
}

.public-member-account-form .admin-player-field {
    grid-column: span 6;
}

.public-member-account-form .admin-player-field-full,
.public-member-account-form .admin-profile-upload,
.public-member-account-form .admin-privacy-check,
.public-member-account-form .admin-player-help {
    grid-column: 1 / -1;
}

.public-member-account-form .public-member-span-6 {
    grid-column: span 6;
}

.public-member-account-actions {
    display: grid;
    gap: 8px;
    padding-top: 14px;
}

.member-dashboard-page {
    display: grid;
    gap: 20px;
    background:
        radial-gradient(circle at top right, rgba(216, 169, 40, .12), transparent 30%),
        linear-gradient(180deg, #fff, #faf7ef 100%);
}

.member-dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px;
}

.member-dashboard-nav a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--metro-primary, #2e1443);
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
}

.member-dashboard-nav a:hover,
.member-dashboard-nav a.is-active {
    background: var(--metro-accent, #e1b526);
    color: var(--metro-primary, #2e1443);
}

.member-dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(18px, 3vw, 30px);
}

.member-kicker {
    margin: 0 0 6px;
    color: var(--metro-primary, #2e1443);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.member-dashboard-hero h1 {
    margin: 0;
    color: var(--metro-primary, #2e1443);
    font-size: clamp(1.9rem, 4vw, 3.15rem);
    font-weight: 900;
    line-height: .98;
}

.member-dashboard-hero p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--ma-muted);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.5;
}

.member-dashboard-page .metro-btn-primary {
    border: 0;
    background: var(--metro-accent, #e1b526);
    color: var(--metro-primary, #2e1443);
    white-space: nowrap;
}

.member-dashboard-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(18px, 2.4vw, 26px);
}

.member-dashboard-summary h1 {
    margin: 0;
    color: var(--metro-primary, #2e1443);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
}

.member-dashboard-summary p {
    margin: 5px 0 0;
    color: var(--ma-muted);
    font-size: .92rem;
    font-weight: 750;
}

.member-summary-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ma-line);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--metro-primary, #2e1443);
    font-size: .78rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.member-summary-link:hover {
    border-color: var(--metro-accent, #e1b526);
    background: rgba(216, 169, 40, .14);
    color: var(--metro-primary, #2e1443);
}

.member-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.member-stat-card {
    display: grid;
    gap: 5px;
    padding: 18px;
}

.member-stat-card span {
    color: var(--ma-muted);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.member-stat-card strong {
    color: var(--metro-primary, #2e1443);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.member-stat-card small {
    color: var(--ma-muted);
    font-weight: 700;
}

.member-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.member-dashboard-grid-single {
    grid-template-columns: 1fr;
}

.member-booking-history,
.member-profile-card {
    padding: clamp(16px, 2vw, 22px);
}

.member-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.member-section-head h2,
.member-profile-card h2 {
    margin: 0;
    color: var(--metro-primary, #2e1443);
    font-size: 1.45rem;
    font-weight: 900;
}

.member-booking-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ma-line);
}

.member-booking-tabs a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ma-line);
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--metro-primary, #2e1443);
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
}

.member-booking-tabs a.is-active {
    border-color: var(--metro-primary, #2e1443);
    background: var(--metro-primary, #2e1443);
    color: #fff;
}

.member-booking-tabs span {
    display: inline-grid;
    min-width: 22px;
    min-height: 22px;
    place-items: center;
    border-radius: 999px;
    background: rgba(216, 169, 40, .22);
    color: inherit;
    font-size: .72rem;
}

.member-booking-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.member-booking-card,
.member-empty-card {
    border: 1px solid var(--ma-line);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
}

.member-booking-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.member-reference {
    display: block;
    margin-bottom: 5px;
    color: var(--ma-muted);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.member-booking-card h3,
.member-empty-card h3 {
    margin: 0;
    color: var(--metro-primary, #2e1443);
    font-size: 1.08rem;
    font-weight: 900;
}

.member-booking-card p,
.member-empty-card p {
    margin: 5px 0 0;
    color: var(--ma-muted);
    font-size: .86rem;
    font-weight: 700;
}

.member-booking-details {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.member-booking-table-wrap {
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    overflow-x: auto;
    border: 1px solid var(--ma-line);
    border-radius: .55rem;
    background: #fff;
}

.member-booking-detail-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    margin: 0;
    table-layout: auto;
}

.member-booking-detail-table th,
.member-booking-detail-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--ma-line);
    color: var(--metro-primary, #2e1443);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.35;
    vertical-align: middle;
}

.member-booking-detail-table th {
    background: #f5f7fa;
    color: var(--ma-muted);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.member-booking-detail-table th:nth-child(1),
.member-booking-detail-table td:nth-child(1) {
    width: 20%;
}

.member-booking-detail-table th:nth-child(2),
.member-booking-detail-table td:nth-child(2) {
    width: 18%;
}

.member-booking-detail-table th:nth-child(3),
.member-booking-detail-table td:nth-child(3) {
    width: 16%;
}

.member-booking-detail-table th:nth-child(4),
.member-booking-detail-table td:nth-child(4) {
    width: 14%;
}

.member-booking-detail-table th:nth-child(5),
.member-booking-detail-table td:nth-child(5) {
    width: 18%;
}

.member-booking-detail-table th:nth-child(6),
.member-booking-detail-table td:nth-child(6) {
    width: 14%;
}

.member-booking-detail-table tbody tr:last-child td {
    border-bottom: 0;
}

.member-booking-detail-table .member-booking-meta-row th,
.member-booking-detail-table .member-booking-meta-row td {
    padding-top: 16px;
    padding-bottom: 16px;
    background: #fbfcfd;
}

.member-booking-detail-table .member-booking-meta-first th,
.member-booking-detail-table .member-booking-meta-first td {
    border-top: 10px solid #fff;
}

.member-booking-detail-table .member-booking-meta-row th {
    color: var(--ma-muted);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.member-booking-detail-table .member-booking-total-row th,
.member-booking-detail-table .member-booking-total-row td {
    padding-top: 16px;
    padding-bottom: 16px;
    background: #f5f7fa;
    color: var(--metro-primary, #2e1443);
    font-size: .95rem;
    font-weight: 900;
}

.member-booking-detail-table .member-booking-total-row td {
    font-size: 1.05rem;
}

.member-table-link {
    color: var(--metro-primary, #2e1443);
    font-weight: 900;
    text-decoration: none;
}

.member-table-link:hover {
    color: var(--metro-gold, #d8a928);
}

.member-receipt-form-table {
    justify-content: flex-start;
    margin: 0;
    padding-top: 0;
    border-top: 0;
}

.member-receipt-form-table input {
    min-width: min(260px, 100%);
}

.member-booking-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--ma-line);
}

.member-booking-actions > a {
    color: var(--metro-primary, #2e1443);
    font-size: .82rem;
    font-weight: 900;
}

.member-receipt-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.member-receipt-form input {
    max-width: 240px;
    border: 1px dashed var(--ma-line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 7px;
    font-size: .78rem;
}

.member-empty-card {
    display: grid;
    justify-items: start;
    gap: 8px;
    border-style: dashed;
}

.member-profile-card {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 12px;
}

.member-profile-avatar {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--metro-accent, #e1b526);
    color: var(--metro-primary, #2e1443);
    font-size: 1.8rem;
    font-weight: 900;
}

.member-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-profile-card > p:not(.member-kicker) {
    margin: -6px 0 0;
    color: var(--ma-muted);
    font-weight: 800;
}

.member-profile-card dl {
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
}

.member-profile-card dl div {
    border-top: 1px solid var(--ma-line);
    padding-top: 10px;
}

.member-profile-card dt {
    color: var(--ma-muted);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.member-profile-card dd {
    margin: 3px 0 0;
    color: var(--metro-primary, #2e1443);
    font-size: .88rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.member-profile-qr {
    display: grid;
    justify-items: start;
    gap: 7px;
    margin-top: 4px;
}

.member-profile-qr img {
    width: 132px;
    height: 132px;
    border: 1px solid var(--ma-line);
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}

.member-profile-qr span {
    color: var(--ma-muted);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.member-profile-page {
    min-height: calc(100vh - 170px);
}

.member-profile-layout {
    display: grid;
    grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.member-profile-card-page {
    position: sticky;
    top: 92px;
}

.member-profile-card-page h1 {
    margin: 0;
    color: var(--metro-primary, #2e1443);
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.05;
}

.member-profile-edit-card {
    padding: clamp(16px, 2.4vw, 24px);
}

.member-profile-form {
    margin-top: 16px;
}

.member-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--ma-line);
}

.member-dashboard-alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: .88rem;
    font-weight: 800;
}

.member-dashboard-alert.is-success {
    border: 1px solid #b7e4c7;
    background: #ecfdf3;
    color: #157347;
}

.member-dashboard-alert.is-error {
    border: 1px solid #fecdd3;
    background: #fff1f2;
    color: #be123c;
}

@media (max-width: 767.98px) {
    .public-member-account-shell {
        width: min(100%, 460px);
    }

    .public-member-account-form {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .public-member-account-form .admin-player-form-grid {
        grid-template-columns: 1fr;
    }

    .public-member-account-form .admin-player-field,
    .public-member-account-form .public-member-span-6,
    .public-member-account-form .admin-player-field-full,
    .public-member-account-form .admin-profile-upload,
    .public-member-account-form .admin-privacy-check,
    .public-member-account-form .admin-player-help {
        grid-column: 1 / -1;
    }

    .member-dashboard-page {
        gap: 14px;
    }

    .member-dashboard-summary {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px;
    }

    .member-summary-link {
        width: 100%;
    }

    .member-dashboard-nav {
        justify-content: stretch;
    }

    .member-dashboard-nav a {
        flex: 1 1 calc(50% - 8px);
    }

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

    .member-dashboard-hero .metro-btn {
        width: 100%;
        justify-content: center;
    }

    .member-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .member-stat-card {
        padding: 14px;
    }

    .member-stat-card strong {
        font-size: 1.65rem;
    }

    .member-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .member-profile-layout {
        grid-template-columns: 1fr;
    }

    .member-booking-history,
    .member-profile-card {
        padding: 14px;
    }

    .member-profile-card {
        position: static;
    }

    .member-profile-actions .btn {
        width: 100%;
    }

    .member-booking-tabs a {
        flex: 1 1 auto;
        justify-content: center;
    }

    .member-booking-main,
    .member-booking-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-receipt-form,
    .member-receipt-form input,
    .member-receipt-form button {
        width: 100%;
        max-width: none;
    }
}

.hero-bg {
    background-image:
        linear-gradient(90deg, rgba(5, 15, 34, .92) 0%, rgba(5, 15, 34, .7) 34%, rgba(5, 15, 34, .2) 72%, rgba(5, 15, 34, .08) 100%),
        url("hero-pickleball.png");
    background-size: cover;
    background-position: center;
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(7, 20, 47, .97), rgba(11, 143, 122, .9)),
        url("courts-preview.png");
    background-size: cover;
    background-position: center;
}

.glass-nav {
    background: rgba(255, 255, 255, .38);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.page-hero,
.hero-bg {
    border-radius: 1rem;
    box-shadow: var(--ma-card-shadow);
}

.section-kicker {
    color: var(--ma-primary) !important;
    font-size: .72rem !important;
    letter-spacing: .12em !important;
    font-weight: 500 !important;
}

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

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

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

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

.bg-slate-50,
.bg-slate-50\/70,
.bg-blue-50\/60 {
    background-color: var(--ma-soft) !important;
}

.form-input,
.form-select,
.form-textarea,
input.rounded-md,
select.rounded-md,
textarea.rounded-md {
    display: block;
    width: 100%;
    min-height: 38px;
    border: 1px solid #cfd8e6 !important;
    border-radius: .55rem !important;
    background-color: #fff;
    padding: .58rem .75rem !important;
    color: var(--ma-ink);
    font-size: .9rem;
    font-weight: 400;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
input.rounded-md:focus,
select.rounded-md:focus,
textarea.rounded-md:focus {
    border-color: var(--ma-primary) !important;
    box-shadow: 0 0 0 .22rem rgba(21, 62, 138, .12);
}

.public-tab {
    border-bottom: 3px solid transparent !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.public-tab:hover,
.public-tab-active {
    border-color: var(--ma-primary) !important;
    color: var(--ma-primary) !important;
}

.sport-option,
.sport-option-active {
    border-radius: .65rem !important;
    border: 1px solid var(--ma-line) !important;
    padding: .46rem .55rem !important;
    font-size: .83rem !important;
    white-space: normal;
}

.sport-option-active {
    background: var(--ma-primary) !important;
    color: #fff !important;
}

.booking-grid {
    font-size: .78rem;
}

.slot {
    min-height: 42px;
}

.booking-slot {
    min-height: 56px;
    width: calc(100% - .25rem);
    background: #f3f5f9;
    border-color: #e1e7f0;
    color: var(--ma-primary);
    font-weight: 500;
}

.booking-slot .slot-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 28px;
    padding: .32rem .65rem;
    border-radius: 999px;
    opacity: 1;
    transition: opacity .15s ease, color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.booking-slot-available .slot-label {
    opacity: 0;
}

.booking-slot-available:hover,
.booking-slot-available:focus {
    background: #f3f5f9;
    border-color: var(--ma-primary);
}

.booking-slot-available:hover .slot-label,
.booking-slot-available:focus .slot-label {
    opacity: 1;
    background: #eef5ff;
    color: var(--ma-primary);
    box-shadow: inset 0 0 0 1px rgba(13, 71, 161, .18);
}

.booking-slot-selected {
    background: #f3f5f9;
    border-color: var(--ma-primary);
    color: var(--ma-primary);
}

.booking-slot-selected .slot-label {
    background: var(--ma-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 71, 161, .18);
}

.booking-slot-booked {
    background: #dce6f0;
    border-color: #d3dfeb;
    color: #42607a;
    cursor: not-allowed;
}

.booking-slot-unavailable {
    background: #eef1f5;
    border-color: #e1e7f0;
    color: transparent;
    cursor: not-allowed;
}

.booking-selection-bar {
    position: sticky;
    bottom: .75rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #bfd3f4;
    border-radius: .75rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 32px rgba(13, 71, 161, .12);
    backdrop-filter: blur(10px);
}

.booking-selection-title {
    margin: 0;
    color: var(--ma-primary-dark);
    font-size: .82rem;
    font-weight: 500;
}

.booking-selection-summary {
    margin: .15rem 0 0;
    color: var(--ma-muted);
    font-size: .76rem;
    font-weight: 300;
    line-height: 1.45;
}

.status-available {
    background: #f3f6fb !important;
    color: #64748b !important;
    border-color: #e1e8f2 !important;
}

.status-pending {
    background: #fff5d6 !important;
    color: #946200 !important;
    border-color: #f5d86f !important;
}

.status-booked {
    background: #dce6f0 !important;
    color: #405b73 !important;
    border-color: #cfdae6 !important;
}

.status-blocked,
.status-cancelled {
    background: #ffe4e6 !important;
    color: #a1122f !important;
    border-color: #fecdd3 !important;
}

#bookingModal {
    z-index: 1080;
}

.modal-open {
    overflow: hidden;
}

#bookingModal > div {
    border-radius: 1rem !important;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .24) !important;
}

.modal-shell {
    background: rgba(6, 24, 58, .64);
    backdrop-filter: blur(10px);
}

.modal-card,
.modal-content {
    border: 1px solid #dbeafe !important;
    border-radius: .95rem !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(13, 71, 161, .18) !important;
}

.modal-header-clean,
.modal-header {
    border-bottom: 1px solid #dbeafe !important;
    padding: 1.05rem 1.15rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.modal-header-clean {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.modal-kicker,
.modal-section-heading p {
    margin: 0;
    color: var(--ma-primary);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.modal-title-clean,
.modal-title {
    margin: .2rem 0 0;
    color: var(--ma-ink);
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.25;
}

.modal-meta-clean {
    margin: .25rem 0 0;
    color: var(--ma-muted);
    font-size: .82rem;
    font-weight: 300;
}

.modal-close-button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #dbeafe;
    border-radius: 50%;
    background: #fff;
    color: var(--ma-primary);
    font-size: 1rem;
    font-weight: 400;
}

.modal-close-button.is-locked {
    opacity: .45;
    cursor: not-allowed;
}

.modal-step-form,
.modal-body {
    padding: 1.15rem !important;
}

.booking-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.booking-stepper li {
    min-height: 40px;
    padding: .55rem .65rem;
    border: 1px solid #dbeafe;
    border-radius: .65rem;
    background: #f7fbff;
    color: #64748b;
    font-size: .72rem;
    font-weight: 400;
    line-height: 1.25;
}

.booking-stepper li.is-active {
    border-color: var(--ma-primary);
    background: #eef5ff;
    color: var(--ma-primary);
}

.booking-stepper li.is-complete {
    border-color: #bfdbfe;
    background: #fff;
    color: var(--ma-primary-dark);
}

.modal-step-panel {
    display: grid;
    gap: .95rem;
}

.modal-section-heading h4 {
    margin: .2rem 0 0;
    color: var(--ma-ink);
    font-size: 1.05rem;
    font-weight: 500;
}

.modal-field {
    display: grid;
    gap: .45rem;
    color: var(--ma-ink);
    font-size: .82rem;
    font-weight: 400;
}

.modal-input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cfd8e6;
    border-radius: .5rem;
    background: #fff;
    padding: .55rem .75rem;
    color: var(--ma-ink);
    font-size: .86rem;
    font-weight: 300;
    outline: none;
}

.modal-input:focus {
    border-color: var(--ma-primary);
    box-shadow: 0 0 0 .18rem rgba(13, 71, 161, .12);
}

.modal-file-input {
    border-style: dashed;
    background: #f7fbff;
}

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

.booking-review-card,
.modal-info-panel,
.modal-reference-panel,
.modal-payment-instructions {
    border: 1px solid #dbeafe;
    border-radius: .75rem;
    background: #f7fbff;
    padding: .9rem;
}

.booking-review-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .78rem;
}

.booking-review-table th,
.booking-review-table td {
    padding: .52rem .55rem;
    border-bottom: 1px solid #dbeafe;
    color: #475569;
    font-weight: 300;
    vertical-align: top;
}

.booking-review-table th {
    color: var(--ma-primary-dark);
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.booking-review-table tfoot td {
    border-bottom: 0;
    color: var(--ma-primary-dark);
    font-weight: 500;
}

.booking-review-table-compact {
    font-size: .72rem;
}

.booking-review-table-compact th,
.booking-review-table-compact td {
    padding: .34rem .38rem;
}

.modal-meta-clean .booking-review-card {
    margin-top: .65rem;
    padding: .65rem;
    background: #fff;
}

.booking-summary-list {
    display: grid;
    gap: .95rem;
}

.booking-summary-card {
    border: 1px solid #dbeafe;
    border-radius: .75rem;
    background: #f7fbff;
    padding: 1rem;
}

.booking-summary-card h5 {
    margin: 0 0 .85rem;
    color: var(--ma-ink);
    font-size: .98rem;
    font-weight: 600;
}

.booking-summary-meta {
    display: grid;
    gap: .24rem;
    margin: 0 0 1rem;
    color: var(--ma-ink);
    font-size: .82rem;
}

.booking-summary-meta div {
    display: flex;
    gap: .35rem;
}

.booking-summary-meta dt {
    font-weight: 600;
}

.booking-summary-meta dd {
    margin: 0;
    font-weight: 300;
}

.booking-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}

.booking-breakdown-table th,
.booking-breakdown-table td {
    padding: .72rem 0;
    border-bottom: 1px solid #dbeafe;
    color: #334155;
    font-weight: 300;
}

.booking-breakdown-table th {
    color: var(--ma-ink);
    font-size: .76rem;
    font-weight: 500;
}

.booking-breakdown-table tfoot td {
    border-bottom: 0;
    color: var(--ma-primary-dark);
    font-weight: 600;
}

.booking-overall-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #bfd3f4;
    border-radius: .75rem;
    background: #fff;
    padding: .85rem 1rem;
    color: var(--ma-primary-dark);
    font-size: .9rem;
    font-weight: 600;
}

.booking-review-row,
.booking-review-total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .55rem;
    border-bottom: 1px solid #dbeafe;
}

.booking-review-row:first-child {
    padding-top: 0;
}

.booking-review-row p,
.modal-info-title {
    margin: 0;
    color: var(--ma-primary-dark);
    font-size: .85rem;
    font-weight: 500;
}

.booking-review-row span,
.modal-help-text,
.modal-info-panel p,
.modal-reference-panel p {
    margin: .12rem 0 0;
    color: var(--ma-muted);
    font-size: .76rem;
    font-weight: 300;
    line-height: 1.5;
}

.booking-review-row strong,
.booking-review-total strong,
.modal-reference-panel strong {
    color: var(--ma-primary);
    font-size: .86rem;
    font-weight: 500;
}

.booking-reference-list {
    display: grid;
    gap: .4rem;
    margin: .55rem 0;
    padding: 0;
    list-style: none;
}

.booking-reference-list li {
    width: fit-content;
    border: 1px solid #bfdbfe;
    border-radius: .55rem;
    background: #fff;
    padding: .42rem .65rem;
}

.booking-review-total {
    border-bottom: 0;
    padding-bottom: 0;
}

.booking-review-total span {
    color: var(--ma-ink);
    font-size: .86rem;
    font-weight: 500;
}

.modal-payment-instructions .font-black,
.modal-payment-instructions .font-bold,
.modal-payment-instructions .font-semibold {
    font-weight: 400 !important;
}

.modal-payment-instructions h4 {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.modal-payment-instructions img {
    border-radius: .55rem;
}

.modal-actions,
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: .55rem;
    border-top: 1px solid #dbeafe !important;
    padding: 1rem 1.15rem !important;
}

.modal-actions {
    margin: .15rem -1.15rem -1.15rem;
}

.modal-message {
    border-radius: .65rem;
    padding: .75rem .85rem;
    font-size: .8rem;
    font-weight: 400;
}

.modal-message-ok {
    background: #eff6ff;
    color: var(--ma-primary-dark);
}

.modal-message-error {
    background: #fff1f2;
    color: #be123c;
}

@media (max-width: 575.98px) {
    .booking-stepper,
    .modal-grid-two {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column-reverse;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

.public-footer {
    border-top: 1px solid var(--ma-line);
    background: #fff;
    color: var(--ma-muted);
    padding: 1.05rem 0;
    font-size: .8rem;
    font-weight: 300;
}

.public-footer a {
    color: var(--ma-muted);
    font-weight: 300;
}

.public-footer a:hover {
    color: var(--ma-primary);
}

.public-footer .fw-bold {
    font-weight: 300 !important;
}

.admin-body {
    background: #f3f6fb;
    font-size: .88rem;
}

.admin-hero {
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .98), rgba(21, 62, 138, .9)),
        url("courts-preview.png") center/cover;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
}

.admin-hero .section-kicker {
    color: var(--ma-accent) !important;
}

.admin-profile-card {
    display: flex;
    align-items: center;
    gap: .7rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: .9rem;
    background: rgba(255, 255, 255, .1);
    padding: .9rem;
}

.stat-number {
    font-size: 1.48rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
}

.metric-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: .75rem;
}

.legend-dot {
    display: inline-block;
    width: .68rem;
    height: .68rem;
    margin-right: .35rem;
    border-radius: .22rem;
    vertical-align: -.05rem;
}

.admin-layout {
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1045;
    width: 250px;
    transform: translateX(-100%);
    transition: transform .25s ease;
    background: #111827;
    color: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .22);
}

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

.admin-sidebar-inner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: .9rem;
}

.admin-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem .35rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.admin-brand-title {
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.admin-brand-subtitle {
    color: #aab5c4;
    font-size: .68rem;
    font-weight: 400;
}

.admin-menu {
    display: grid;
    gap: .28rem;
    padding-block: 1rem;
}

.admin-menu-label {
    margin: 0 0 .35rem;
    padding-inline: .65rem;
    color: #8090a6;
    font-size: .66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.admin-nav-link {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    border-radius: .38rem;
    padding: .5rem .62rem;
    color: #cbd5e1;
    font-size: .8rem;
    font-weight: 400;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.admin-nav-link.active {
    background: #fff;
    color: var(--ma-primary);
}

.admin-nav-link small {
    display: block;
    margin-top: .05rem;
    color: inherit;
    font-size: .66rem;
    font-weight: 400;
    opacity: .68;
}

.admin-sidebar-card {
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .8rem;
    background: rgba(255, 255, 255, .07);
    padding: .8rem;
}

.admin-sidebar-card p {
    margin: 0 0 .25rem;
    color: var(--ma-accent);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .12em;
}

.admin-sidebar-card span {
    color: #dbe3ef;
    font-size: .76rem;
    font-weight: 400;
    line-height: 1.45;
}

.admin-content {
    min-height: 100vh;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1035;
    border-bottom: 1px solid var(--ma-line);
    background: rgba(255, 255, 255, .95);
    padding: .75rem 1rem;
    backdrop-filter: blur(12px);
}

.admin-page-title {
    color: var(--ma-ink);
    font-family: var(--metro-font);
    font-size: 1rem;
    font-weight: 600;
}

.admin-user-button {
    border: 1px solid var(--ma-line);
    background: #fff;
    min-height: 36px;
    padding: .32rem .55rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.admin-avatar {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: .38rem;
    background: var(--ma-primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(15, 23, 42, .5);
}

.app-main {
    max-width: 1220px !important;
    padding: 1.15rem !important;
}

.admin-compact {
    font-size: .84rem;
}

.admin-compact .app-card,
.admin-compact .stat-card {
    border-radius: .8rem !important;
    padding: 1rem !important;
}

.admin-compact .app-card.p-0 {
    padding: 0 !important;
}

.admin-compact h2,
.admin-compact h3 {
    font-family: var(--metro-font);
}

.admin-compact .text-5xl,
.admin-compact .lg\:text-5xl,
.admin-compact .text-4xl {
    font-size: 1.48rem !important;
    line-height: 1.15 !important;
}

.admin-compact .text-3xl {
    font-size: 1.12rem !important;
}

.admin-compact .text-2xl {
    font-size: 1rem !important;
}

.admin-body .btn,
.admin-compact .btn {
    min-height: 36px;
    padding: .42rem .78rem;
    border-radius: .38rem;
    font-size: .8rem;
    font-weight: 400;
}

.admin-body .btn-sm,
.admin-compact .btn-sm {
    min-height: 32px;
    padding: .32rem .62rem;
    font-size: .76rem;
}

.admin-body .form-control,
.admin-body .form-select,
.admin-body .form-input,
.admin-body .form-textarea,
.admin-compact .form-control,
.admin-compact .form-select,
.admin-compact .form-input,
.admin-compact .form-textarea,
.admin-compact input.rounded-md,
.admin-compact select.rounded-md,
.admin-compact textarea.rounded-md {
    min-height: 36px !important;
    height: auto;
    border-radius: .42rem !important;
    padding: .42rem .62rem !important;
    font-size: .8rem !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
}

.admin-compact select.form-select,
.admin-compact select.rounded-md,
.admin-body select.form-select {
    padding-right: 1.75rem !important;
    background-size: 12px 9px;
}

.admin-compact textarea.form-textarea,
.admin-compact textarea.rounded-md {
    min-height: 68px !important;
}

.admin-compact input[type="file"] {
    min-height: 34px !important;
    padding: .34rem .5rem !important;
    font-size: .76rem !important;
}

.admin-compact input[type="checkbox"] {
    width: .85rem;
    height: .85rem;
    min-height: 0 !important;
    padding: 0 !important;
}

.admin-compact label {
    gap: .25rem !important;
    font-size: .78rem !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

.admin-compact form {
    row-gap: .55rem !important;
}

.admin-compact form .grid {
    gap: .5rem !important;
}

.admin-compact form button:not(.admin-schedule-action):not(.btn-close):not(.navbar-toggler) {
    min-height: 36px;
    padding: .42rem .78rem !important;
    border-radius: .38rem !important;
    font-size: .8rem !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
}

.admin-compact .modal-header,
.admin-compact .modal-body,
.admin-compact .modal-footer {
    padding: .75rem .9rem;
}

.admin-compact .modal-title {
    font-size: 1rem;
    font-weight: 600 !important;
}

.admin-compact .row.g-2 {
    --bs-gutter-x: .5rem;
    --bs-gutter-y: .5rem;
}

.admin-schedule-grid {
    min-width: 760px !important;
    font-size: .76rem;
}

.admin-schedule-action {
    display: block;
    width: 100%;
    border: 0;
    transition: transform .12s ease, box-shadow .12s ease;
}

.admin-schedule-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.admin-schedule-action:focus-visible {
    outline: 2px solid rgba(21, 62, 138, .35);
    outline-offset: 2px;
}

.status-badge {
    border-radius: 999px;
    padding: .25rem .55rem;
    font-size: .72rem;
    font-weight: 500;
}

.status-badge-available {
    background: #f3f6fb;
    color: #64748b;
}

.status-badge-pending {
    background: #fff5d6;
    color: #946200;
}

.status-badge-review {
    background: #fff8e6;
    color: #7a4a00;
    box-shadow: inset 0 0 0 1px rgba(216, 169, 40, .35);
}

.status-badge-booked {
    background: #dce6f0;
    color: #405b73;
}

.status-badge-cancelled {
    background: #ffe4e6;
    color: #a1122f;
}

.admin-members-table {
    min-width: 860px;
    border-color: var(--ma-line);
}

.admin-members-table thead th {
    border-bottom: 1px solid var(--ma-line);
    background: var(--ma-soft);
    color: var(--ma-muted);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-members-table tbody td {
    border-color: var(--ma-line);
    padding-block: .72rem;
    vertical-align: middle;
}

.admin-users-table {
    min-width: 1040px;
}

details.app-card > summary {
    list-style: none;
}

details.app-card > summary::-webkit-details-marker {
    display: none;
}

.admin-footer {
    border-top: 1px solid var(--ma-line);
    background: #fff;
    color: var(--ma-muted);
    padding: 1rem;
    font-size: .8rem;
    font-weight: 400;
}

@media (min-width: 1200px) {
    .admin-sidebar {
        transform: none;
    }

    .admin-content,
    .admin-footer {
        margin-left: 250px;
    }
}

@media (max-width: 1024px) {
    .public-page {
        max-width: 100%;
        padding-inline: .9rem;
    }

    .public-navbar .container-xl {
        max-width: 100%;
    }

    .app-main {
        padding: .9rem !important;
    }

    .admin-compact .text-4xl,
    .admin-compact .text-5xl {
        font-size: 1.45rem !important;
    }
}

/* Plain CSS utility bridge.
   These replace the small Tailwind runtime dependency with static CSS that is safe to deploy with PHP + Bootstrap. */
.hidden { display: none !important; }
.block { display: block !important; }
.inline { display: inline !important; }
.inline-flex { display: inline-flex !important; }
.flex { display: flex !important; }
.grid { display: grid !important; }
.table { display: table !important; }
.fixed { position: fixed !important; }
.absolute { position: absolute !important; }
.relative { position: relative !important; }
.static { position: static !important; }
.inset-0 { inset: 0 !important; }
.top-4 { top: 1rem !important; }
.right-4 { right: 1rem !important; }
.bottom-4 { bottom: 1rem !important; }
.left-4 { left: 1rem !important; }
.z-50 { z-index: 1050 !important; }
.mx-auto { margin-inline: auto !important; }
.mx-1 { margin-inline: .25rem !important; }
.ms-auto { margin-inline-start: auto !important; }
.mt-0\.5 { margin-top: .125rem !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: .75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-5 { margin-top: 1.25rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: .75rem !important; }
.m-0\.5 { margin: .125rem !important; }
.p-0 { padding: 0 !important; }
.p-1\.5 { padding: .375rem !important; }
.p-2 { padding: .5rem !important; }
.p-2\.5 { padding: .625rem !important; }
.p-3 { padding: .75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.px-0 { padding-inline: 0 !important; }
.px-1\.5 { padding-inline: .375rem !important; }
.px-2\.5 { padding-inline: .625rem !important; }
.px-3 { padding-inline: .75rem !important; }
.px-4 { padding-inline: 1rem !important; }
.px-5 { padding-inline: 1.25rem !important; }
.px-6 { padding-inline: 1.5rem !important; }
.py-1 { padding-block: .25rem !important; }
.py-1\.5 { padding-block: .375rem !important; }
.py-2 { padding-block: .5rem !important; }
.py-2\.5 { padding-block: .625rem !important; }
.py-3 { padding-block: .75rem !important; }
.py-4 { padding-block: 1rem !important; }
.py-8 { padding-block: 2rem !important; }
.pt-4 { padding-top: 1rem !important; }
.\!py-2 { padding-block: .5rem !important; }
.gap-0 { gap: 0 !important; }
.gap-1 { gap: .25rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: .75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-x-4 { column-gap: 1rem !important; }
.gap-y-2 { row-gap: .5rem !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.flex-wrap { flex-wrap: wrap !important; }
.shrink-0 { flex-shrink: 0 !important; }
.items-start { align-items: flex-start !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-end { justify-content: flex-end !important; }
.place-items-center { place-items: center !important; }
.content-start { align-content: flex-start !important; }
.min-w-0 { min-width: 0 !important; }
.w-full { width: 100% !important; }
.w-3 { width: .75rem !important; }
.w-4 { width: 1rem !important; }
.w-5 { width: 1.25rem !important; }
.w-9 { width: 2.25rem !important; }
.w-10 { width: 2.5rem !important; }
.w-24 { width: 6rem !important; }
.w-32 { width: 8rem !important; }
.h-full { height: 100% !important; }
.h-3 { height: .75rem !important; }
.h-4 { height: 1rem !important; }
.h-5 { height: 1.25rem !important; }
.h-9 { height: 2.25rem !important; }
.h-10 { height: 2.5rem !important; }
.h-24 { height: 6rem !important; }
.h-32 { height: 8rem !important; }
.h-\[220px\] { height: 220px !important; }
.h-\[270px\] { height: 270px !important; }
.h-\[320px\] { height: 320px !important; }
.min-h-\[38px\] { min-height: 38px !important; }
.min-h-\[60px\] { min-height: 60px !important; }
.min-h-\[360px\] { min-height: 360px !important; }
.min-h-\[calc\(100vh-9rem\)\] { min-height: calc(100vh - 9rem) !important; }
.max-h-\[92vh\] { max-height: 92vh !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-\[960px\] { max-width: 960px !important; }
.min-w-\[240px\] { min-width: 240px !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }
.rounded { border-radius: .25rem !important; }
.rounded-md { border-radius: .375rem !important; }
.rounded-lg { border-radius: .5rem !important; }
.rounded-xl { border-radius: .75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-full { border-radius: 999px !important; }
.border { border: 1px solid var(--ma-line) !important; }
.border-0 { border: 0 !important; }
.border-b { border-bottom: 1px solid var(--ma-line) !important; }
.border-t { border-top: 1px solid var(--ma-line) !important; }
.border-dashed { border-style: dashed !important; }
.border-line { border-color: var(--ma-line) !important; }
.border-blue-200 { border-color: #bfdbfe !important; }
.border-rose-200 { border-color: #fecdd3 !important; }
.border-slate-200 { border-color: #e2e8f0 !important; }
.border-slate-300 { border-color: #cbd5e1 !important; }
.border-white\/10 { border-color: rgba(255, 255, 255, .1) !important; }
.bg-white { background-color: #fff !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, .1) !important; }
.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-slate-200\/70 { background-color: rgba(226, 232, 240, .7) !important; }
.bg-slate-300 { background-color: #cbd5e1 !important; }
.bg-slate-900 { background-color: #0f172a !important; }
.bg-blue-50 { background-color: #eff6ff !important; }
.bg-blue-50\/60 { background-color: rgba(239, 246, 255, .6) !important; }
.bg-blue-100 { background-color: #dbeafe !important; }
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.bg-green-50 { background-color: #f0fdf4 !important; }
.bg-green-500 { background-color: var(--ma-primary) !important; }
.bg-amber-50 { background-color: #fffbeb !important; }
.bg-amber-400 { background-color: #fbbf24 !important; }
.bg-rose-50 { background-color: #fff1f2 !important; }
.bg-ink { background-color: var(--ma-ink) !important; }
.bg-ink\/70 { background-color: rgba(15, 23, 42, .7) !important; }
.bg-ink\/85 { background-color: rgba(15, 23, 42, .85) !important; }
.bg-limevolt { background-color: var(--ma-accent) !important; }
.bg-lime-300 { background-color: #bef264 !important; }
.bg-warning { background-color: #f97316 !important; }
.text-start { text-align: start !important; }
.text-end { text-align: end !important; }
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.align-middle { vertical-align: middle !important; }
.font-sans { font-family: var(--metro-font) !important; }
.font-display { font-family: var(--metro-display) !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-black { font-weight: 900 !important; }
.uppercase { text-transform: uppercase !important; }
.leading-3 { line-height: .75rem !important; }
.leading-4 { line-height: 1rem !important; }
.leading-5 { line-height: 1.25rem !important; }
.leading-6 { line-height: 1.5rem !important; }
.leading-7 { line-height: 1.75rem !important; }
.leading-tight { line-height: 1.25 !important; }
.tracking-tight { letter-spacing: -.025em !important; }
.tracking-\[\.12em\] { letter-spacing: .12em !important; }
.tracking-\[\.14em\] { letter-spacing: .14em !important; }
.tracking-\[\.18em\] { letter-spacing: .18em !important; }
.text-\[9px\] { font-size: 9px !important; }
.text-\[10px\] { font-size: 10px !important; }
.text-\[11px\] { font-size: 11px !important; }
.text-xs { font-size: .75rem !important; line-height: 1rem !important; }
.text-sm { font-size: .875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
.text-5xl { font-size: 3rem !important; line-height: 1 !important; }
.text-white { color: #fff !important; }
.text-ink { color: var(--ma-ink) !important; }
.text-muted { color: var(--ma-muted) !important; }
.text-primary { color: var(--ma-primary) !important; }
.text-court { color: var(--ma-primary) !important; }
.text-sport { color: var(--ma-primary) !important; }
.text-warning { color: #f97316 !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-900 { color: #0f172a !important; }
.text-rose-700 { color: #be123c !important; }
.text-rose-800 { color: #9f1239 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-green-900 { color: #14532d !important; }
.text-amber-800 { color: #92400e !important; }
.text-amber-900 { color: #78350f !important; }
.opacity-75 { opacity: .75 !important; }
.opacity-50 { opacity: .5 !important; }
.object-cover { object-fit: cover !important; }
.object-contain { object-fit: contain !important; }
.shadow { box-shadow: 0 1px 3px rgba(15, 23, 42, .1), 0 1px 2px rgba(15, 23, 42, .08) !important; }
.shadow-sm { box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important; }
.shadow-soft { box-shadow: var(--ma-card-shadow) !important; }
.ring-1 { box-shadow: 0 0 0 1px var(--ma-line) !important; }
.ring-amber-200 { box-shadow: 0 0 0 1px #fde68a !important; }
.ring-green-200 { box-shadow: 0 0 0 1px #bbf7d0 !important; }
.ring-rose-200 { box-shadow: 0 0 0 1px #fecdd3 !important; }
.ring-slate-200 { box-shadow: 0 0 0 1px #e2e8f0 !important; }
.transition { transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease !important; }
.hover\:-translate-y-0\.5:hover { transform: translateY(-.125rem) !important; }
.hover\:border-primary:hover { border-color: var(--ma-primary) !important; }
.hover\:border-court:hover { border-color: var(--ma-primary) !important; }
.hover\:bg-blue-50:hover { background-color: #eff6ff !important; }
.hover\:bg-emerald-50:hover { background-color: #ecfdf5 !important; }
.hover\:bg-ink:hover { background-color: var(--ma-ink) !important; }
.hover\:bg-sport:hover { background-color: var(--ma-primary) !important; }
.hover\:text-primary:hover { color: var(--ma-primary) !important; }
.hover\:text-court:hover { color: var(--ma-primary) !important; }
.hover\:text-white:hover { color: #fff !important; }
.hover\:shadow-soft:hover { box-shadow: var(--ma-card-shadow) !important; }
.focus\:border-court:focus { border-color: var(--ma-primary) !important; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed !important; }
.disabled\:bg-slate-300:disabled { background-color: #cbd5e1 !important; }
.file\:mr-4::file-selector-button { margin-right: 1rem !important; }
.file\:rounded-full::file-selector-button { border-radius: 999px !important; }
.file\:border-0::file-selector-button { border: 0 !important; }
.file\:bg-ink::file-selector-button { background: var(--ma-ink) !important; }
.file\:px-4::file-selector-button { padding-inline: 1rem !important; }
.file\:py-2::file-selector-button { padding-block: .5rem !important; }
.file\:font-bold::file-selector-button { font-weight: 700 !important; }
.file\:text-white::file-selector-button { color: #fff !important; }

.public-body .public-page .font-black,
.public-body .home-screen-page .font-black,
.public-body .public-page .fw-black,
.public-body .home-screen-page .fw-black {
    font-weight: 700 !important;
}

.public-body .public-page .font-bold,
.public-body .home-screen-page .font-bold,
.public-body .public-page .fw-bold,
.public-body .home-screen-page .fw-bold {
    font-weight: 600 !important;
}

.public-body .public-page .font-semibold,
.public-body .home-screen-page .font-semibold {
    font-weight: 500 !important;
}

@media (min-width: 640px) {
    .sm\:flex { display: flex !important; }
    .sm\:inline-flex { display: inline-flex !important; }
    .sm\:items-center { align-items: center !important; }
    .sm\:max-w-\[240px\] { max-width: 240px !important; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    [class~="sm:grid-cols-[132px_1fr]"] { grid-template-columns: 132px 1fr !important; }
    [class~="sm:grid-cols-[1fr_auto]"] { grid-template-columns: 1fr auto !important; }
}

@media (min-width: 768px) {
    .md\:col-span-2 { grid-column: span 2 / span 2 !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
    .md\:items-end { align-items: flex-end !important; }
    .md\:justify-end { justify-content: flex-end !important; }
    [class~="md:grid-cols-[120px_1fr_auto]"] { grid-template-columns: 120px 1fr auto !important; }
    [class~="md:grid-cols-[1fr_1fr_auto]"] { grid-template-columns: 1fr 1fr auto !important; }
    [class~="md:grid-cols-[1fr_auto]"] { grid-template-columns: 1fr auto !important; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block !important; }
    .lg\:items-center { align-items: center !important; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .lg\:p-8 { padding: 2rem !important; }
    .lg\:text-5xl { font-size: 3rem !important; line-height: 1 !important; }
    [class~="lg:grid-cols-[1.05fr_.95fr]"] { grid-template-columns: 1.05fr .95fr !important; }
    [class~="lg:grid-cols-[1.1fr_.9fr]"] { grid-template-columns: 1.1fr .9fr !important; }
    [class~="lg:grid-cols-[1.1fr_.8fr_auto]"] { grid-template-columns: 1.1fr .8fr auto !important; }
    [class~="lg:grid-cols-[1fr_420px]"] { grid-template-columns: 1fr 420px !important; }
    [class~="lg:grid-cols-[1fr_440px]"] { grid-template-columns: 1fr 440px !important; }
    [class~="lg:grid-cols-[340px_minmax(0,1fr)]"] { grid-template-columns: 340px minmax(0, 1fr) !important; }
    [class~="lg:grid-cols-[360px_minmax(0,1fr)]"] { grid-template-columns: 360px minmax(0, 1fr) !important; }
    [class~="lg:grid-cols-[420px_minmax(0,1fr)]"] { grid-template-columns: 420px minmax(0, 1fr) !important; }
    [class~="lg:grid-cols-[430px_minmax(0,1fr)]"] { grid-template-columns: 430px minmax(0, 1fr) !important; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
