html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

:root {
    --rc-dark: #0f2027;
    --rc-dark-2: #16303a;
    --rc-green: #ffb703;
    --rc-green-dark: #d99700;
    --rc-gold: #ffb703;
    --rc-text-muted: #9fb3bd;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: var(--rc-dark);
    color: #fff;
}

/* ===== NAVBAR ===== */
.rc-navbar {
    background: rgba(11, 15, 20, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: background 0.3s;
}

.rc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rc-logo {
    height: 42px;
    width: 42px;
    object-fit: contain;
    border-radius: 8px;
}

.rc-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.rc-brand-name {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #fff;
}

.rc-brand-sub {
    font-size: 0.68rem;
    color: var(--rc-text-muted);
}

.nav-link {
    color: #dfe3e6 !important;
    font-weight: 500;
}

    .nav-link:hover {
        color: var(--rc-green) !important;
    }

.btn-primary-glow {
    background: linear-gradient(135deg, var(--rc-green), var(--rc-green-dark));
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(22,199,132,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn-primary-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 28px rgba(22,199,132,0.6);
        color: #fff;
    }

.btn-outline-light {
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
}

    .btn-outline-light:hover {
        background: #fff;
        color: var(--rc-dark);
    }

.btn-management {
    background: transparent;
    border: 1.5px solid var(--rc-gold);
    color: var(--rc-gold) !important;
    font-weight: 600;
    border-radius: 8px;
}

    .btn-management:hover {
        background: var(--rc-gold);
        color: var(--rc-dark) !important;
    }

/* ===== HERO ===== */
.hero-carousel {
    margin-top: 0;
}

.hero-slide {
    height: 92vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,15,20,0.55) 0%, rgba(11,15,20,0.75) 60%, rgba(11,15,20,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 0 8%;
    pointer-events: none;
}

    .hero-content .hero-buttons a,
    .hero-content .hero-buttons .btn {
        pointer-events: auto;
    }

.hero-badge {
    display: inline-block;
    background: rgba(22,199,132,0.15);
    color: var(--rc-green);
    border: 1px solid var(--rc-green);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}

    .hero-content h1 span {
        color: var(--rc-green);
    }

.hero-content p {
    font-size: 1.15rem;
    color: #e2e5e8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.carousel-control-prev, .carousel-control-next {
    width: 6%;
    z-index: 10;
}

/* ===== STATS ===== */
.stats-bar {
    background: var(--rc-dark-2);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-item h3 {
    color: var(--rc-green);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-item p {
    color: var(--rc-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
.section-label {
    color: var(--rc-green);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.about-section, .features-section, .courts-section {
    padding: 100px 0;
}

.features-section {
    background: var(--rc-dark-2);
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 10px 0 20px;
}

.text-accent {
    color: var(--rc-green);
}

.lead-text {
    color: #cfd3d7;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-list {
    list-style: none;
    padding: 0;
}

    .about-list li {
        padding: 8px 0;
        color: #dfe3e6;
    }

    .about-list i {
        color: var(--rc-green);
        margin-right: 10px;
    }

.feature-card {
    background: var(--rc-dark);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    transition: transform 0.25s, border-color 0.25s;
}

    .feature-card:hover {
        transform: translateY(-6px);
        border-color: var(--rc-green);
    }

.feature-icon {
    font-size: 2rem;
    color: var(--rc-green);
    margin-bottom: 16px;
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--rc-text-muted);
    margin: 0;
}

.court-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
}

    .court-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

    .court-card:hover img {
        transform: scale(1.08);
    }

.court-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.9));
}

    .court-overlay h5 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 12px;
    }

.court-hours {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--rc-text-muted);
    font-size: 0.82rem;
    margin: 4px 0 10px;
}

    .court-hours i {
        color: var(--rc-green);
        font-size: 0.8rem;
    }

.court-pricing {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.price-member {
    color: var(--rc-green);
    font-weight: 700;
    font-size: 0.9rem;
}

.price-nonmember {
    color: #cfd3d7;
    font-weight: 600;
    font-size: 0.85rem;
}

.cta-banner {
    background: linear-gradient(135deg, var(--rc-green-dark), var(--rc-dark));
    padding: 90px 0;
    text-align: center;
}

    .cta-banner h2 {
        font-size: 2.3rem;
    }

    .cta-banner p {
        color: #e2e5e8;
        margin-bottom: 30px;
        font-size: 1.05rem;
    }

.contact-banner-section {
    padding: 50px 0;
    background: var(--rc-dark);
}

.contact-banner-img {
    width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.btn {
    min-height: 44px;
}

.nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* ===== BOOKING PAGE ===== */
.booking-hero {
    padding: 115px 0 10px;
    text-align: center;
}

.booking-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 8px 0 12px;
}

.booking-section {
    padding: 20px 0 0;
    position: relative;
}

.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 36px;
    flex-wrap: wrap;
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rc-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

    .booking-step span {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: var(--rc-dark-2);
        border: 1.5px solid rgba(255,255,255,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }

    .booking-step.active {
        color: #fff;
    }

        .booking-step.active span {
            background: var(--rc-green);
            border-color: var(--rc-green);
            color: var(--rc-dark);
        }

.booking-step-line {
    width: 30px;
    height: 1.5px;
    background: rgba(255,255,255,0.15);
}

.booking-card {
    background: var(--rc-dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.booking-card-label {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1rem;
}

.court-select-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.court-select-card {
    background: var(--rc-dark);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 44px;
}

    .court-select-card:active {
        transform: scale(0.98);
    }

    .court-select-card:hover {
        border-color: var(--rc-green);
    }

    .court-select-card.active {
        border-color: var(--rc-green);
        background: rgba(255,183,3,0.08);
    }

.court-select-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.court-select-price {
    color: var(--rc-green);
    font-size: 0.85rem;
    font-weight: 600;
}

.booking-date-input {
    width: 100%;
    max-width: 320px;
    background: var(--rc-dark);
    border: 1.5px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 44px;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
}

.slot-btn {
    background: var(--rc-dark);
    border: 1.5px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 6px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
    min-height: 46px;
}

    .slot-btn:hover:not(:disabled) {
        border-color: var(--rc-green);
    }

    .slot-btn.slot-selected {
        background: var(--rc-green);
        color: var(--rc-dark);
        border-color: var(--rc-green);
    }

    .slot-btn.slot-booked, .slot-btn:disabled {
        background: transparent;
        color: rgba(255,255,255,0.2);
        border-color: rgba(255,255,255,0.05);
        cursor: not-allowed;
        text-decoration: line-through;
    }

    .slot-btn.slot-past {
        background: transparent;
        color: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.03);
        cursor: not-allowed;
    }

.slot-legend {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--rc-text-muted);
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 6px;
}

.legend-available {
    background: var(--rc-dark);
    border: 1.5px solid var(--rc-green);
}

.legend-booked {
    background: rgba(255,255,255,0.05);
}

.hold-confirm-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--rc-dark-2);
    border-top: 1.5px solid var(--rc-green);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

.hold-confirm-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

    .hold-confirm-text strong {
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hold-confirm-text span {
        color: var(--rc-green);
        font-weight: 700;
        font-size: 1.1rem;
    }

.hold-confirm-bar .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.booking-section::after {
    content: "";
    display: block;
    height: 90px;
}

.duration-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.duration-btn {
    background: var(--rc-dark);
    border: 1.5px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 14px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.15s;
    min-height: 46px;
}

    .duration-btn:hover {
        border-color: var(--rc-green);
    }

    .duration-btn.active {
        background: var(--rc-green);
        color: var(--rc-dark);
        border-color: var(--rc-green);
    }

.form-label-custom {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--rc-text-muted);
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
    max-width: 100%;
}

.otp-input {
    font-size: 1.4rem;
    letter-spacing: 6px;
    text-align: center;
    font-weight: 700;
}

.otp-error {
    color: #ff6b6b;
    margin-top: 10px;
    font-size: 0.9rem;
}

.countdown-text {
    color: var(--rc-green);
    font-weight: 800;
}

.countdown-warning {
    color: #ff6b6b !important;
    animation: pulse 1s infinite;
}

.countdown-expired {
    color: #ff6b6b !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
    color: var(--rc-text-muted);
}

    .summary-row strong {
        color: #fff;
    }

    .summary-row.total-row {
        border-bottom: none;
        margin-top: 8px;
        padding-top: 14px;
        border-top: 1.5px solid var(--rc-green);
        font-size: 1.1rem;
    }

        .summary-row.total-row strong {
            color: var(--rc-green);
            font-size: 1.3rem;
        }

.upload-hint {
    color: var(--rc-text-muted);
    font-size: 0.82rem;
    margin-top: 8px;
}

/* ===== DIGITAL MEMBERSHIP CARD ===== */
.member-card {
    background: linear-gradient(135deg, #1a1611 0%, #0d0d0d 55%, #050505 100%);
    border: 1.5px solid var(--rc-green);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    max-width: 520px;
}


    /* Subtle diagonal watermark pattern for a premium card feel */
    .member-card::after {
        content: "MEMBER";
        position: absolute;
        bottom: -20px;
        left: -10px;
        font-size: 5rem;
        font-weight: 900;
        color: rgba(255,255,255,0.02);
        letter-spacing: 4px;
        pointer-events: none;
        z-index: 0;
    }

    .member-card::before {
        content: "";
        position: absolute;
        top: -60px;
        right: -60px;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, var(--rc-green) 0%, transparent 70%);
        opacity: 0.18;
    }

.member-card-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-card-logo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--rc-green);
    flex-shrink: 0;
}
.member-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.member-card-brand {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.member-card-sub {
    font-size: 0.75rem;
    color: var(--rc-text-muted);
    margin-top: 2px;
}

.member-status-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-active {
    background: rgba(22,199,132,0.15);
    color: var(--rc-green);
    border: 1px solid var(--rc-green);
}

.status-expiringsoon {
    background: rgba(255,183,3,0.15);
    color: #ffb703;
    border: 1px solid #ffb703;
}

.status-expired {
    background: rgba(255,107,107,0.15);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.status-awaitingapproval {
    background: rgba(159,179,189,0.15);
    color: var(--rc-text-muted);
    border: 1px solid var(--rc-text-muted);
}

.member-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.member-card-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.member-card-number {
    color: var(--rc-green);
    font-family: monospace;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.member-card-dates {
    display: flex;
    gap: 30px;
}

    .member-card-dates div {
        display: flex;
        flex-direction: column;
    }

    .member-card-dates span {
        font-size: 0.7rem;
        color: var(--rc-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .member-card-dates strong {
        font-size: 0.9rem;
        color: #fff;
        margin-top: 2px;
    }

.member-card-qr {
    flex-shrink: 0;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
}

    .member-card-qr img {
        display: block;
        width: 90px;
        height: 90px;
    }

.renew-banner {
    background: rgba(255,183,3,0.1);
    border: 1px solid #ffb703;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

    .renew-banner span {
        color: #ffb703;
        font-weight: 600;
        font-size: 0.9rem;
    }

.quick-actions-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

    .quick-actions-row .btn {
        flex: 1;
        min-width: 140px;
        text-align: center;
    }

.member-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.member-price-item {
    background: var(--rc-dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mpi-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 6px;
}

.mpi-name {
    font-weight: 700;
    color: #fff;
}

.mpi-price {
    color: var(--rc-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.mpi-compare {
    color: var(--rc-text-muted);
    font-size: 0.75rem;
}

.booking-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--rc-dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.history-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .history-main strong {
        color: #fff;
        font-size: 0.95rem;
    }

    .history-main span {
        color: var(--rc-text-muted);
        font-size: 0.82rem;
    }

.history-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

    .history-status.status-confirmed {
        background: rgba(22,199,132,0.15);
        color: var(--rc-green);
    }

    .history-status.status-awaitingapproval {
        background: rgba(255,183,3,0.15);
        color: #ffb703;
    }

    .history-status.status-hold, .history-status.status-pendingpayment {
        background: rgba(159,179,189,0.15);
        color: var(--rc-text-muted);
    }

    .history-status.status-cancelled {
        background: rgba(255,107,107,0.15);
        color: #ff6b6b;
    }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 991px) {
    .rc-navbar {
        padding: 8px 0;
    }

    .nav-auth-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 16px;
        gap: 10px !important;
    }

        .nav-auth-buttons .btn {
            width: 100%;
            padding: 12px;
        }

    .navbar-nav {
        margin-bottom: 10px;
    }

        .navbar-nav .nav-link {
            padding: 10px 0;
            font-size: 1.05rem;
        }
}

@media (max-width: 576px) {
    .rc-logo {
        height: 34px;
        width: 34px;
    }

    .rc-brand-name {
        font-size: 1rem;
    }

    .rc-brand-sub {
        display: none;
    }

    .rc-navbar {
        padding: 6px 0;
    }

    .hero-slide {
        height: 100vh;
        min-height: 560px;
    }

    .hero-content {
        padding: 0 6%;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

        .hero-buttons .btn {
            width: 100%;
            text-align: center;
            padding: 14px;
            font-size: 1rem;
        }

    .carousel-indicators {
        margin-bottom: 0.5rem;
    }

    .carousel-control-prev, .carousel-control-next {
        width: 12%;
        opacity: 0.5;
    }

    .stats-bar {
        padding: 28px 0;
    }

    .stat-item {
        margin-bottom: 14px;
    }

        .stat-item h3 {
            font-size: 1.7rem;
        }

        .stat-item p {
            font-size: 0.75rem;
        }

    .about-section, .features-section, .courts-section {
        padding: 56px 0;
    }

    h2 {
        font-size: 1.6rem;
        margin: 8px 0 16px;
    }

    .section-label {
        font-size: 0.72rem;
    }

    .lead-text {
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 26px 20px;
        text-align: center;
    }

    .feature-icon {
        font-size: 1.7rem;
    }

    .court-card {
        height: 220px;
    }

    .court-overlay {
        padding: 16px;
    }

        .court-overlay h5 {
            font-size: 0.95rem;
            margin-bottom: 6px;
        }

        .court-overlay .btn {
            width: 100%;
            padding: 10px;
        }

    .court-hours {
        font-size: 0.75rem;
        margin: 2px 0 8px;
    }

    .court-pricing {
        flex-direction: column;
        gap: 4px;
    }

    .price-member, .price-nonmember {
        font-size: 0.8rem;
    }

    .cta-banner {
        padding: 56px 0;
    }

        .cta-banner h2 {
            font-size: 1.6rem;
        }

        .cta-banner p {
            font-size: 0.9rem;
            padding: 0 10px;
        }

        .cta-banner .hero-buttons {
            flex-direction: column;
        }

            .cta-banner .hero-buttons .btn {
                width: 100%;
            }

    .contact-banner-section {
        padding: 30px 0;
    }

    .booking-hero {
        padding: 30px 0 6px;
    }

    .booking-title {
        font-size: 1.6rem;
    }

    .booking-card {
        padding: 16px;
        border-radius: 14px;
    }

    .booking-steps {
        gap: 4px;
        margin-bottom: 24px;
    }

    .booking-step-line {
        width: 14px;
    }

    .booking-step {
        font-size: 0.68rem;
    }

        .booking-step span {
            width: 22px;
            height: 22px;
            font-size: 0.72rem;
        }

    .court-select-row {
        grid-template-columns: 1fr 1fr;
    }

    .court-select-card {
        padding: 14px 8px;
    }

    .court-select-name {
        font-size: 0.95rem;
    }

    .slot-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .slot-btn {
        font-size: 0.78rem;
        padding: 10px 2px;
        min-height: 44px;
    }

    .hold-confirm-bar {
        padding: 12px 14px;
        gap: 10px;
    }

    .hold-confirm-text strong {
        font-size: 0.78rem;
    }

    .hold-confirm-text span {
        font-size: 0.95rem;
    }

    .hold-confirm-bar .btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .duration-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .duration-btn {
        font-size: 0.82rem;
        padding: 12px 4px;
    }

    .summary-row {
        font-size: 0.85rem;
    }

        .summary-row.total-row strong {
            font-size: 1.1rem;
        }

    .member-card {
        padding: 20px;
        border-radius: 16px;
    }

    .member-card-brand {
        font-size: 1.1rem;
    }

    .member-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .member-card-qr {
        align-self: center;
    }

    .member-card-name {
        font-size: 1.2rem;
    }

    .member-card-dates {
        gap: 20px;
    }

    .renew-banner {
        flex-direction: column;
        align-items: flex-start;
    }

        .renew-banner .btn {
            width: 100%;
        }

    .quick-actions-row {
        flex-direction: column;
    }

        .quick-actions-row .btn {
            width: 100%;
        }

    .history-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-content p {
        font-size: 0.88rem;
    }
}

.payment-choice-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.payment-choice-option {
    background: var(--rc-dark);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .payment-choice-option h6 {
        font-weight: 700;
        font-size: 1.05rem;
        color: #fff;
        margin: 0;
    }

    .payment-choice-option p {
        color: var(--rc-text-muted);
        font-size: 0.85rem;
        margin: 0 0 8px;
        flex-grow: 1;
    }
.slot-btn.slot-hold {
    background: rgba(255,183,3,0.08);
    color: #ffb703;
    border-color: rgba(255,183,3,0.3);
    cursor: not-allowed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.2;
}

.slot-hold-label {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.85;
}
.resume-banner {
    background: rgba(56,139,253,0.1);
    border: 1px solid #388bfd;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

    .resume-banner span {
        color: #6cb2ff;
        font-weight: 600;
        font-size: 0.9rem;
    }

@media (max-width: 576px) {
    .resume-banner {
        flex-direction: column;
        align-items: flex-start;
    }

        .resume-banner .btn {
            width: 100%;
        }
}
.renewal-pending-banner {
    background: rgba(56,139,253,0.1);
    border: 1px solid #388bfd;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

    .renewal-pending-banner span {
        color: #6cb2ff;
        font-weight: 600;
        font-size: 0.9rem;
    }
.status-renewalpending {
    background: rgba(56,139,253,0.15);
    color: #6cb2ff;
    border: 1px solid #388bfd;
}
.expired-notice-banner {
    background: rgba(255,107,107,0.08);
    border: 1px solid #ff6b6b;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

    .expired-notice-banner span {
        color: #ff6b6b;
        font-weight: 600;
        font-size: 0.9rem;
        flex: 1;
        min-width: 200px;
    }

.expired-notice-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .expired-notice-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .expired-notice-buttons {
        flex-direction: column;
    }

        .expired-notice-buttons .btn {
            width: 100%;
        }
}
.approval-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.approval-item {
    background: var(--rc-dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.approval-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 200px;
}

    .approval-info strong {
        color: #fff;
        font-size: 0.95rem;
    }

    .approval-info span {
        color: var(--rc-text-muted);
        font-size: 0.8rem;
    }

.approval-amount {
    color: var(--rc-green);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 4px;
}

@media (max-width: 576px) {
    .approval-item {
        flex-direction: column;
        align-items: stretch;
    }

        .approval-item .btn {
            width: 100%;
        }
}
.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: var(--rc-dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--rc-green);
}

.admin-stat-label {
    font-size: 0.78rem;
    color: var(--rc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .admin-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .admin-stat-value {
        font-size: 1.3rem;
    }
}
.statement-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 800px;
    table-layout: fixed;
}

    .statement-table th {
        text-align: left;
        padding: 12px;
        color: var(--rc-text-muted);
        text-transform: uppercase;
        font-size: 0.68rem;
        letter-spacing: 0.5px;
        border-bottom: 1.5px solid rgba(255,255,255,0.1);
        white-space: nowrap;
    }

    .statement-table td {
        padding: 12px;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        vertical-align: middle;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .statement-table tbody tr:nth-child(even) {
        background: rgba(255,255,255,0.015);
    }

    .statement-table tbody tr:hover {
        background: rgba(255,255,255,0.03);
    }

    .statement-table th:nth-child(1), .statement-table td:nth-child(1) {
        width: 100px;
    }

    .statement-table th:nth-child(2), .statement-table td:nth-child(2) {
        width: 80px;
    }

    .statement-table th:nth-child(3), .statement-table td:nth-child(3) {
        width: 160px;
    }

    .statement-table th:nth-child(4), .statement-table td:nth-child(4) {
        width: 70px;
    }

    .statement-table th:nth-child(5), .statement-table td:nth-child(5) {
        width: 50px;
        text-align: center;
    }

    .statement-table th:nth-child(6), .statement-table td:nth-child(6) {
        width: 90px;
    }

    .statement-table th:nth-child(7), .statement-table td:nth-child(7) {
        width: 90px;
    }

    .statement-table th:nth-child(8), .statement-table td:nth-child(8) {
        width: 90px;
    }

    .statement-table th:nth-child(9), .statement-table td:nth-child(9) {
        width: 200px;
        white-space: normal;
    }

.type-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}

    .type-badge.member {
        background: rgba(56,139,253,0.15);
        color: #6cb2ff;
    }

    .type-badge.guest {
        background: rgba(159,179,189,0.15);
        color: var(--rc-text-muted);
    }

/* Animated court illustration */
.availability-hero-art {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.court-illustration {
    width: 100%;
    height: auto;
    display: block;
}

.pulse-ring {
    animation: pulseRing 2.5s ease-in-out infinite;
    transform-origin: center;
}

.floating-ball {
    animation: floatBall 3s ease-in-out infinite;
}

.glow-dot {
    animation: glowDot 1.8s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.15);
    }
}

@keyframes floatBall {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes glowDot {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Calendar */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 8px;
    text-align: center;
}

    .calendar-weekdays span {
        color: var(--rc-text-muted);
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
    }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1.5px solid transparent;
    min-height: 56px;
}

    .calendar-day.empty {
        background: transparent;
    }

.calendar-day-number {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.calendar-day-status {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.calendar-day.status-available {
    background: rgba(22,199,132,0.1);
    border-color: var(--rc-green);
}

    .calendar-day.status-available .calendar-day-status {
        color: var(--rc-green);
    }

.calendar-day.status-partial {
    background: rgba(255,183,3,0.1);
    border-color: #ffb703;
}

    .calendar-day.status-partial .calendar-day-status {
        color: #ffb703;
    }

.calendar-day.status-full {
    background: rgba(255,107,107,0.1);
    border-color: #ff6b6b;
}

    .calendar-day.status-full .calendar-day-status {
        color: #ff6b6b;
    }

@media (max-width: 576px) {
    .calendar-day {
        min-height: 42px;
    }

    .calendar-day-number {
        font-size: 0.8rem;
    }

    .calendar-day-status {
        font-size: 0.52rem;
    }

    .calendar-weekdays span {
        font-size: 0.62rem;
    }
}
a.calendar-day {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s;
}

    a.calendar-day:hover {
        transform: scale(1.05);
    }
.new-alert-banner {
    background: #ff6b6b;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    animation: blinkAlert 1s ease-in-out infinite;
}

    .new-alert-banner span {
        color: #fff;
        font-weight: 700;
        font-size: 0.95rem;
    }

@keyframes blinkAlert {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@media (max-width: 576px) {
    .new-alert-banner {
        flex-direction: column;
        align-items: stretch;
    }

        .new-alert-banner .btn {
            width: 100%;
        }
}
.slot-btn.slot-tournament {
    background: rgba(159,88,255,0.1);
    color: #b794ff;
    border-color: rgba(159,88,255,0.4);
    cursor: not-allowed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.2;
}
.calendar-day.status-tournament {
    background: rgba(159,88,255,0.15);
    border-color: #b794ff;
}

    .calendar-day.status-tournament .calendar-day-status {
        color: #b794ff;
    }
.calendar-day.status-academy {
    background: rgba(56,139,253,0.15);
    border-color: #388bfd;
}

    .calendar-day.status-academy .calendar-day-status {
        color: #388bfd;
    }
.slot-btn.slot-academy {
    background: rgba(56,139,253,0.1);
    color: #388bfd;
    border-color: rgba(56,139,253,0.4);
    cursor: not-allowed;
}
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* ===== ADMIN SIDEBAR LAYOUT ===== */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--rc-dark-2);
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}
.admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0,0,0,0.4);
}

    .admin-sidebar.open {
        transform: translateX(0);
    }
.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.admin-sidebar-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rc-green);
}

.admin-sidebar-title {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.admin-sidebar-subtitle {
    font-size: 0.7rem;
    color: var(--rc-text-muted);
}

.admin-nav {
    flex: 1;
    padding: 16px 12px;
}

.admin-nav-group {
    margin-bottom: 20px;
}

.admin-nav-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rc-text-muted);
    padding: 0 12px 8px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #dfe3e6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    min-height: 44px;
}

    .admin-nav-link i {
        font-size: 1rem;
        width: 18px;
        text-align: center;
        color: var(--rc-green);
    }

    .admin-nav-link:hover {
        background: rgba(255,183,3,0.08);
        color: #fff;
    }

.admin-sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.admin-sidebar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px 12px;
    color: var(--rc-text-muted);
    font-size: 0.8rem;
}

    .admin-sidebar-user i {
        font-size: 1.3rem;
        color: var(--rc-green);
    }

.admin-main {
    flex: 1;
    margin-left: 0;
    min-height: 100vh;
}

.admin-mobile-toggle {
    display: block;
    width: 100%;
    background: var(--rc-dark-2);
    color: #fff;
    border: none;
    padding: 14px;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}



.admin-sidebar-close {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: auto;
    padding: 4px 8px;
}

.admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

@media (max-width: 900px) {
    .admin-sidebar-close {
        display: block;
    }
}
