:root {
    --bg-base: #f4f6f9;
    --bg-deep: #ffffff;
    --bg-elevated: #ffffff;
    --bg-surface: #f8f9fa;
    --bg-hover: #e9ecef;

    --text-primary: #333333;
    --text-secondary: #555555;
    --text-tertiary: #888888;

    --border-subtle: #dee2e6;
    --border-faint: #ced4da;
    --border-focus: #80bdff;

    --accent: #0056b3;
    /* Primary Blue */
    --accent-muted: #6c757d;
    --accent-warm: #ffc107;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-pill: 50px;

    --font-family: Arial, Helvetica, sans-serif;
    --header-height: 60px;
    --container-max: 1100px;
}

html.dark-mode {
    --bg-base: #0f1115;
    --bg-deep: #161a22;
    --bg-elevated: #1e2430;
    --bg-surface: #1d212a;
    --bg-hover: #2a303c;

    --text-primary: #f8f9fa;
    --text-secondary: #c9cbcf;
    --text-tertiary: #8e929a;

    --border-subtle: #2d333f;
    --border-faint: #3e4656;
    --border-focus: #4b8df8;
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1;
    text-transform: none;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    transition: all 0.2s;
    font-family: var(--font-family);
    user-select: none;
}
.theme-toggle-btn:hover {
    color: var(--accent);
    background: var(--bg-hover);
}

/* Base resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
}

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

a:hover {
    text-decoration: underline;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 700px;
    margin: 0 auto;
}

/* Header & Nav */
.site-header {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: var(--header-height);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-link h1 {
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--accent);
    background: var(--bg-hover);
    text-decoration: none;
}

.main-nav .nav-logout {
    color: #dc3545 !important;
    border-left: 1px solid var(--border-subtle);
    padding-left: 15px;
    margin-left: 10px;
}

/* Navigation backdrop/mobile drawer */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.nav-backdrop[hidden] {
    display: none !important;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animating to X close icon */
body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-deep);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.08);
        padding: 80px 24px 40px;
        gap: 12px;
        z-index: 1000;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    body.nav-open .main-nav {
        right: 0;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: var(--radius-sm);
        text-align: left;
        display: block;
    }

    .main-nav .nav-logout {
        border-left: none;
        padding-left: 16px;
        margin-left: 0;
        border-top: 1px solid var(--border-subtle);
        border-radius: 0;
        padding-top: 15px;
        margin-top: 5px;
    }

    .main-nav .theme-toggle-btn {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 12px 16px;
        margin-top: 4px;
        border-top: 1px solid var(--border-subtle);
        padding-top: 16px;
        border-radius: var(--radius-sm);
        text-align: left;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("hero-bg.jpg?v=3") center/cover no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-home {
    min-height: 400px;
}

.hero-page {
    min-height: 200px;
}

.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("img_mountains.png") center/cover no-repeat;
}

.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("bggallery.png") center/cover no-repeat;
}

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("bgcontact.png") center/cover no-repeat;
}

.hero-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-warm);
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: white;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
    color: #e9ecef;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Buttons */
.btn,
.btn-login,
body:not(.admin-body) button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary,
.btn-login,
body:not(.admin-body) button[type="submit"] {
    background: var(--accent);
    color: white;
}

.btn-primary:hover,
.btn-login:hover,
body:not(.admin-body) button[type="submit"]:hover {
    background: #004085;
    text-decoration: none;
}

.btn-login,
body:not(.admin-body) button[type="submit"] {
    width: 100%;
    margin-top: 15px;
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Page Section */
.page-section {
    padding: 50px 0;
}

.section-label {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 35px;
    text-transform: uppercase;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
    color: var(--accent);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA band */
.cta-band {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 30px 0;
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-band-inner h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-align: left;
}

.cta-band-inner p {
    color: var(--text-secondary);
}

/* Forms */
body:not(.admin-body) form {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    padding: 30px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

body:not(.admin-body) label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
}

body:not(.admin-body) input,
body:not(.admin-body) select,
body:not(.admin-body) textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid var(--border-faint);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    width: 100%;
}

body:not(.admin-body) input:focus,
body:not(.admin-body) select:focus,
body:not(.admin-body) textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Auth Container */
.auth-container {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 450px;
    margin: 50px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.auth-container h2 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.auth-container form {
    border: none;
    padding: 0;
    margin: 0;
}

.auth-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
}

/* Message styling */
.error-msg,
.success-msg {
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 600;
}

.error-msg {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-msg {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Profile container */
.profile-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 15px;
}

.profile-header h2 {
    font-size: 1.5rem;
}

.logout-btn {
    padding: 8px 16px;
    border: 1px solid #ced4da;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: #dc3545;
    background: transparent;
}

.logout-btn:hover {
    background: #dc3545;
    color: white;
    text-decoration: none;
}

.profile-container form {
    max-width: 100%;
}

.avatar-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.avatar-preview-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 3px solid var(--accent);
}

.avatar-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.7rem;
    text-align: center;
    padding: 4px 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.avatar-preview-container:hover .avatar-overlay {
    opacity: 1;
}

#avatar-input {
    display: none;
}

.sl-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 5px;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.add-tournament-card {
    background: var(--bg-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.add-tournament-title {
    margin-bottom: 16px;
    font-weight: 700;
}

.tournament-inputs-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.tournament-inputs-row-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-container {
        margin: 20px auto;
    }

    .tournament-inputs-row-3,
    .tournament-inputs-row-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.profile-form-grid .section-label {
    grid-column: 1 / -1;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 5px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.profile-form-grid .full-width {
    grid-column: 1 / -1;
}

.profile-form-grid .form-group {
    margin-bottom: 0;
}

.btn-submit {
    grid-column: 1 / -1;
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #004085;
}

/* History table */
.history-table-container {
    overflow-x: auto;
    margin-top: 15px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.history-table th,
.history-table td {
    border: 1px solid var(--border-subtle);
    padding: 10px;
    text-align: left;
}

.history-table th {
    background: var(--bg-surface);
    font-weight: 600;
}

.history-table tbody tr:nth-child(even) {
    background: var(--bg-surface);
}

.achievement-tag {
    background: #e2e3e5;
    color: #383d41;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.points-plus {
    color: #28a745;
    font-weight: 700;
}

/* Payment Page Details */
.summary {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.summary p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.9rem;
}

.summary p:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
}

.summary p strong {
    font-weight: 600;
}


/* Chatbot styling */
#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: all 0.2s;
}

#chatbot-toggle:hover {
    transform: scale(1.05);
}

#chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    height: 400px;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    transition: all 0.2s;
}

#chatbot-container.chatbot-hidden {
    display: none;
}

.chatbot-header {
    background: var(--accent);
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
}

#chatbot-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

#chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: var(--bg-surface);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    max-width: 85%;
    line-height: 1.4;
}

.bot-message {
    background: var(--bg-hover);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background: var(--accent);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-input-container {
    padding: 10px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 8px;
    background: var(--bg-deep);
}

#chatbot-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.85rem;
    border: 1px solid var(--border-faint);
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    color: var(--text-primary);
}

#chatbot-send {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

#chatbot-send:hover {
    background: #004085;
}

/* Gallery & general page styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.gallery-info {
    padding: 15px;
}

.gallery-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* General typography elements */
h1,
h2,
h3,
h4 {
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* Footer style */
footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 50px;
}

footer p {
    color: var(--text-tertiary);
}

/* ─── Booking Specific Styles ─── */
.booking-wrapper {
    min-height: 80vh;
    padding: 40px 20px;
    background: var(--bg-base);
}

.booking-form-card {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.booking-form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-align: left;
}

.booking-form-card .subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

.user-badge {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 8px 15px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.booking-scheduler {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-top: 25px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 25px;
}

.scheduler-section-label {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Calendar styling */
.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cal-header button {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

.cal-header button:hover {
    background: var(--bg-hover);
}

.cal-title {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.cal-dow {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    padding: 5px 0;
}

.cal-day {
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-day:hover:not(.cal-disabled):not(.cal-selected) {
    background: var(--bg-hover);
}

.cal-day.cal-today {
    border: 2px solid var(--accent);
}

.cal-day.cal-selected {
    background: var(--accent) !important;
    color: white !important;
}

.cal-day.cal-disabled {
    color: var(--text-tertiary);
    cursor: default;
    opacity: 0.4;
}

.cal-day.cal-empty {
    visibility: hidden;
}

/* Slot picker */
.slot-date-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.slot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.slot-btn {
    padding: 10px;
    border: 1px solid var(--border-faint);
    background: var(--bg-surface);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.slot-btn:hover:not(.slot-disabled):not(.slot-active) {
    background: var(--bg-hover);
}

.slot-btn.slot-active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.slot-btn.slot-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-hover);
    color: var(--text-tertiary);
}

.slot-placeholder {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    padding: 20px 0;
    text-align: center;
}

.btn-submit-booking {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 25px;
}

.btn-submit-booking:hover:not(:disabled) {
    background: #004085;
}



/* ═══════════════════════════════════════
   PLAYER / RANKINGS PAGE
═══════════════════════════════════════ */

.ranking-system-page {
    padding-bottom: 60px;
}

/* Guest prompt — shown when not logged in */
.profile-guest-prompt {
    padding: 40px 0 8px;
}

.profile-guest-card {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.profile-guest-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 16px;
}

.profile-guest-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.profile-guest-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.profile-guest-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.profile-guest-prompt + .global-leaderboard {
    margin-top: 28px;
}

/* ─── Section headings ─── */
.section-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* ─── Athlete Hero (only shown when logged in & has points) ─── */
.athlete-hero {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-subtle);
    padding: 36px 0;
}

.athlete-profile {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.athlete-avatar-box {
    position: relative;
    flex-shrink: 0;
}

.athlete-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-subtle);
    display: block;
}

.athlete-rank-circle {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.athlete-info-box {
    flex: 1;
    min-width: 220px;
}

.athlete-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.athlete-top-row .athlete-badge-row {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.athlete-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.rank-badge,
.country-badge,
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rank-badge {
    background: var(--accent);
    color: #fff;
}

.country-badge {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.status-badge {
    background: #e8f4e8;
    color: #2d6a2d;
    border: 1px solid #b3d9b3;
}

.athlete-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.athlete-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius-pill);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.athlete-edit-btn:hover {
    background: #004494;
    text-decoration: none;
    color: #fff;
}

.athlete-action-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    flex-shrink: 0;
    min-width: 140px;
}

.athlete-card-btn {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.athlete-card-btn:hover {
    background: var(--accent);
    color: #fff;
}

.athlete-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    max-width: 60ch;
}

.athlete-social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.athlete-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.athlete-social-links a:hover {
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

.athlete-social-links a.facebook:hover {
    background: #1877f2;
}

.athlete-social-links a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.athlete-social-links a.twitter:hover {
    background: #000000;
}

.athlete-quick-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.q-stat {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.q-stat strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-right: 4px;
}

/* ─── Athlete Stats Cards ─── */
.athlete-stats-section {
    padding: 30px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.stat-card-light {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sl-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    font-weight: 600;
}

.sl-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

/* ─── Event History Table ─── */
.athlete-history {
    padding: 0 20px 30px;
}

.history-table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: var(--bg-deep);
}

.history-table thead {
    background: var(--bg-surface);
}

.history-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-subtle);
}

.history-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    vertical-align: middle;
}

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

.history-table tbody tr:hover {
    background: var(--bg-surface);
}

.achievement-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.points-plus {
    font-weight: 700;
    color: #198754;
    font-size: 0.9rem;
}

/* ─── Global Leaderboard ─── */
.global-leaderboard {
    padding: 30px 20px;
    margin-top: 32px;
}

.leaderboard-header {
    margin-bottom: 20px;
}

.leaderboard-table-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 580px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    position: relative;
}

.leaderboard-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: var(--bg-deep);
    table-layout: fixed;
}

/* Force specific column widths & prevent text wrapping/overlap */
.leaderboard-table th,
.leaderboard-table td {
    padding: 12px 16px;
    vertical-align: middle;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset 0 -1px 0 var(--border-subtle);
}

.leaderboard-table .rank-col {
    width: 70px;
    min-width: 70px;
    text-align: center;
}

.leaderboard-table .athlete-col {
    width: 250px;
    min-width: 250px;
}

.leaderboard-table .nat-col {
    width: 140px;
    min-width: 140px;
}

.leaderboard-table .class-col {
    width: 140px;
    min-width: 140px;
}

.leaderboard-table .wins-col {
    width: 90px;
    min-width: 90px;
}

.leaderboard-table .pts-col {
    width: 130px;
    min-width: 130px;
    text-align: right;
}

/* Sticky Header */
.leaderboard-table thead tr {
    height: 44px;
}

.leaderboard-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg-surface);
    box-shadow: inset 0 -1px 0 var(--border-subtle);
}

/* Base Body Row Heights */
.leaderboard-table tbody tr {
    height: 60px;
}

/* Sticky top 3 rows (Podium) with premium distinct styling */
.leaderboard-table tr.rank-row-1 td {
    position: sticky;
    top: 44px;
    z-index: 9;
    background: #fffdf0; /* Premium gold tint */
}

.leaderboard-table tr.rank-row-2 td {
    position: sticky;
    top: 104px;
    z-index: 9;
    background: #f7f9fa; /* Premium silver tint */
}

.leaderboard-table tr.rank-row-3 td {
    position: sticky;
    top: 164px;
    z-index: 9;
    background: #fdf8f4; /* Premium bronze tint */
}

/* Sticky last row (Last Place) pinned to bottom */
.leaderboard-table tr.last-place-row td {
    position: sticky;
    bottom: 0;
    z-index: 9;
    background: #fff5f5; /* Premium soft red/warning tint */
    box-shadow: inset 0 2px 0 var(--border-subtle), inset 0 -1px 0 var(--border-subtle);
}

/* Logged-in user pinned at bottom when not in top standings */
.leaderboard-table tr.pinned-user-row td {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: #eef4ff;
    box-shadow: inset 0 2px 0 var(--border-subtle), inset 0 -1px 0 var(--border-subtle);
}

.leaderboard-table tr.pinned-user-row td:first-child {
    box-shadow: inset 0 2px 0 var(--border-subtle), inset 4px 0 0 var(--accent);
}

/* Highlight current user row */
.leaderboard-table tr.current-user-row:not(.rank-row-1):not(.rank-row-2):not(.rank-row-3):not(.last-place-row):not(.pinned-user-row) td {
    background: #eef4ff;
}

.leaderboard-table tr.current-user-row td:first-child {
    box-shadow: inset 0 -1px 0 var(--border-subtle), inset 4px 0 0 var(--accent);
}

.leaderboard-table tbody tr:hover td {
    background: var(--bg-hover) !important;
}

/* Rank column circle */
.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.rank-number.top-rank {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Athlete cell with avatar */
.athlete-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Class label */
.class-label {
    display: inline-block;
    padding: 2px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Points total */
.points-total {
    font-weight: 700;
    color: var(--accent);
}

/* Empty leaderboard message */
.leaderboard-table td[colspan] {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
}

/* ─── Responsive player ─── */
@media (max-width: 640px) {
    .athlete-profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .athlete-top-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .athlete-action-btns {
        width: 100%;
    }

    .athlete-edit-btn {
        width: 100%;
        text-align: center;
    }

    .athlete-circle {
        width: 80px;
        height: 80px;
    }

    .athlete-name {
        font-size: 1.3rem;
    }

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

    .sl-value {
        font-size: 1.4rem;
    }
}

/* ═══════════════════════════════════════
   BOOKING PAGE — Centered Layout
═══════════════════════════════════════ */

.booking-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* ─── Booking Form Card ─── */
.booking-form-card {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 30px;
}

#bookingForm {
    max-width: 100%;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.booking-form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.booking-form-card .subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ─── User Badge ─── */
.user-badge {
    display: inline-block;
    background: #eef4ff;
    color: var(--accent);
    border: 1px solid #c7d9f5;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ─── Weather Widget ─── */
#weather-widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.weather-icon {
    font-size: 2rem;
    line-height: 1;
}

.weather-data p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.weather-data strong {
    font-weight: 600;
    color: var(--text-primary);
}

.weather-good {
    color: #198754;
    font-weight: 600;
    font-size: 0.85rem;
}

.weather-ok {
    color: #856404;
    font-weight: 600;
    font-size: 0.85rem;
}

.weather-bad {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ─── Form Grid ─── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
}

.form-group input {
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--bg-base);
    transition: border-color 0.2s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-deep);
}

.form-group input:disabled,
.form-group select:disabled,
.input-disabled {
    background: var(--bg-hover) !important;
    color: var(--text-secondary) !important;
    cursor: not-allowed;
    opacity: 1;
}

/* ─── Scheduler (Calendar + Slots) ─── */
.booking-scheduler {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    background: var(--bg-surface);
}

.scheduler-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

/* ─── Calendar ─── */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cal-header button {
    background: none;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.cal-header button:hover {
    background: var(--bg-hover);
}

.cal-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-dow {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    padding: 4px 0 6px;
}

.cal-day {
    text-align: center;
    padding: 7px 3px;
    font-size: 0.82rem;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-primary);
    transition: background 0.15s ease;
}

.cal-day:hover:not(.cal-disabled):not(.cal-empty) {
    background: var(--bg-hover);
}

.cal-empty {
    cursor: default;
}

.cal-today {
    font-weight: 700;
    color: var(--accent);
    background: #eef4ff;
}

.cal-selected {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 700;
}

.cal-disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* ─── Time Slots ─── */
.slot-date-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.slot-placeholder {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-style: italic;
    padding: 20px 0;
}

.slot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
}

.slot-btn {
    padding: 8px 6px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    background: var(--bg-deep);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.slot-btn:hover:not(.slot-disabled) {
    background: #eef4ff;
    border-color: var(--accent);
    color: var(--accent);
}

.slot-active {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
}

.slot-disabled {
    background: var(--bg-surface);
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ─── Submit Button ─── */
.btn-submit-booking {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.02em;
}

.btn-submit-booking:hover:not([disabled]) {
    background: #004494;
}

/* ─── Guest Lock Overlay ─── */
.guest-overlay {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.blurred-form {
    filter: blur(4px);
    opacity: 0.5;
    pointer-events: none;
    padding: 28px;
    background: var(--bg-deep);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.blurred-form h2 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.lock-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.lock-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.lock-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.lock-card p {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 24px;
    line-height: 1.6;
}

.lock-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-lock {
    padding: 11px 26px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-lock-login {
    background: var(--accent);
    color: #fff;
}

.btn-lock-login:hover {
    background: #004494;
    color: #fff;
    text-decoration: none;
}

.btn-lock-register {
    background: #fff;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-lock-register:hover {
    background: #eef4ff;
    color: var(--accent);
    text-decoration: none;
}

/* Guest lock card — dark mode */
html.dark-mode .lock-card {
    background: var(--bg-elevated);
    border-color: var(--border-subtle);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

html.dark-mode .lock-card h2 {
    color: #f8f9fa;
}

html.dark-mode .lock-card p {
    color: #c9cbcf;
}

html.dark-mode .lock-card .btn-lock-register {
    background: transparent;
    color: #8cb6ff;
    border-color: #4b8df8;
}

html.dark-mode .lock-card .btn-lock-register:hover {
    background: rgba(75, 141, 248, 0.15);
    color: #a8caff;
}

.lock-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.lock-feature {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    padding: 4px 12px;
    background: var(--bg-surface);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

/* ─── Payment Modal ─── */
.p-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.p-modal.active {
    display: flex;
}

.p-modal-content {
    background: var(--bg-deep);
    border-radius: var(--radius-lg);
    padding: 28px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.p-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.p-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.p-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-tertiary);
    line-height: 1;
}

.p-close:hover {
    color: var(--text-primary);
}

.p-order-info {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.p-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.88rem;
}

.p-row:last-child {
    border-bottom: none;
}

.p-row span {
    color: var(--text-tertiary);
}

.p-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    border-top: 2px solid var(--border-subtle);
    margin-top: 8px;
}

.p-method-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.p-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.p-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
}

.p-method-item:hover {
    border-color: var(--accent);
}

.p-method-item.active {
    border-color: var(--accent);
    background: #eef4ff;
}

.p-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.p-method-item span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.p-btn-primary {
    width: 100%;
    padding: 13px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 8px;
}

.p-btn-primary:hover:not([disabled]) {
    background: #004494;
}

.p-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Card input in modal */
.card-input-group {
    margin-bottom: 14px;
}

.card-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.card-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--bg-base);
}

.card-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Loading spinner */
.p-loading {
    text-align: center;
    padding: 40px 20px;
}

.p-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 16px;
}

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

/* ─── Booking Responsive ─── */
@media (max-width: 640px) {
    .booking-wrapper {
        padding: 20px 14px 60px;
    }

    .booking-form-card {
        padding: 20px;
    }

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

    .form-group.full-width {
        grid-column: 1;
    }

    .booking-scheduler {
        grid-template-columns: 1fr;
    }

    .p-method-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* About Page Video */
.about-video-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-subtle);
    background: var(--bg-deep);
}

.about-video {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* About Page Logo and Explanation */
.logo-display {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.about-emblem-section {
    text-align: center;
}

.about-emblem-section h3 {
    margin-top: 25px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.about-emblem-section p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.founder-img {
    display: block;
    max-width: 220px;
    height: auto;
    border-radius: var(--radius-md);
    margin: 35px auto 25px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-subtle);
}

/* ─── About Page Split Layout ─── */
.about-page-main {
    background-color: var(--bg-deep);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Full-width page hero (edge to edge) */
.about-page-main .about-hero,
.about-page-main .hero-page {
    width: 100%;
    align-self: stretch;
}

.about-split-section {
    width: 100%;
    padding: 100px 0;
    background-color: var(--bg-deep);
    border-bottom: 1px solid var(--border-subtle);
}

.about-split-section:last-of-type {
    border-bottom: none;
}

.about-split-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 80px;
    align-items: center;
}

.about-image-column {
    flex: 1;
    max-width: 50%;
}

.about-featured-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
}

.about-text-column {
    flex: 1;
    display: flex;
    align-items: center;
}

.about-text-content {
    max-width: 520px;
}

.about-headline {
    font-family: var(--font-family);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.about-body-text {
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-body-text:last-child {
    margin-bottom: 0;
}

.about-founder-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
}

.about-video-column {
    flex: 1;
    max-width: 50%;
}

.about-video-wrapper {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
}

.about-video-wrapper video {
    width: 100%;
    display: block;
}

.about-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    display: block;
    object-fit: contain;
}

/* Responsive adjustment for About Split Layout */
@media (max-width: 991px) {
    .about-split-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .about-image-column, 
    .about-text-column,
    .about-video-column {
        max-width: 100%;
        width: 100%;
    }
    
    .about-headline {
        font-size: 2.2rem;
    }
}

/* ─── Content card (Contact & static pages) ─── */
.content-card {
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 30px;
}

.content-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-card strong {
    color: var(--text-primary);
    font-weight: 700;
}

.contact-map-embed {
    margin-top: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    line-height: 0;
}

.contact-map-embed iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

/* ─── Contact Page Location ─── */
.contact-location-box {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-location-box span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: white;
    transition: all 0.2s;
}

.contact-location-btn:hover {
    background: #004085;
    text-decoration: none;
    color: white;
}

/* ─── Gallery Slideshow ─── */
.slideshow-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    background: var(--bg-deep);
}

.slideshow-main {
    position: relative;
    width: 100%;
    height: 550px;
    background: #111111;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    display: none;
}

.slide-image.active {
    display: block;
    opacity: 1;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: all 0.2s ease;
}

.slide-nav:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.05);
    color: var(--accent);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

.slide-caption-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 40px 24px 24px;
    color: #ffffff;
    z-index: 5;
    text-align: left;
}

.slide-caption-title {
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.slide-caption-counter {
    font-family: var(--font-family);
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
    color: #ffffff;
}

@media (max-width: 768px) {
    .slideshow-main {
        height: 380px;
    }
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .slide-prev {
        left: 10px;
    }
    .slide-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .slideshow-main {
        height: 260px;
    }
}

/* ==========================================================================
   DARK THEME EXTRA OVERRIDES & ZERO-GRADIENT OVERRIDES
   ========================================================================== */

/* Page heroes: keep the same photo backgrounds as light mode */
html.dark-mode .about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("img_mountains.png") center/cover no-repeat !important;
    background-blend-mode: normal !important;
}

html.dark-mode .gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("bggallery.png") center/cover no-repeat !important;
    background-blend-mode: normal !important;
}

html.dark-mode .contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url("bgcontact.png") center/cover no-repeat !important;
    background-blend-mode: normal !important;
}

/* Gallery slideshow: dark page background, light-mode slideshow + caption styling */
html.dark-mode .gallery-slideshow-section {
    background-color: var(--bg-base) !important;
}

html.dark-mode .gallery-slideshow-section .slideshow-wrapper {
    background: transparent !important;
}

html.dark-mode .gallery-slideshow-section .slideshow-main {
    background: #111111 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

html.dark-mode .gallery-slideshow-section .slide-caption-bar {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)) !important;
    color: #ffffff !important;
}

html.dark-mode .gallery-slideshow-section .slide-caption-title,
html.dark-mode .gallery-slideshow-section .slide-caption-counter {
    color: #ffffff !important;
}

html.dark-mode .gallery-slideshow-section .slide-nav {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333333 !important;
}

/* Replace Instagram hover radial-gradient with a flat Instagram pink tone */
html.dark-mode .athlete-social-links a.instagram:hover {
    background: #d6249f !important;
}

/* Rankings / Leaderboard custom podium overrides in dark mode */
html.dark-mode .leaderboard-table th,
html.dark-mode .leaderboard-table td {
    background: var(--bg-deep) !important;
}
html.dark-mode .leaderboard-table tr.rank-row-1 td {
    background: #2f2812 !important; /* Flat dark gold tint */
}
html.dark-mode .leaderboard-table tr.rank-row-2 td {
    background: #202226 !important; /* Flat dark silver tint */
}
html.dark-mode .leaderboard-table tr.rank-row-3 td {
    background: #261f1a !important; /* Flat dark bronze tint */
}
html.dark-mode .leaderboard-table tr.last-place-row td {
    background: #2e1818 !important; /* Flat dark red tint */
}
html.dark-mode .leaderboard-table tr.pinned-user-row td,
html.dark-mode .leaderboard-table tr.current-user-row:not(.rank-row-1):not(.rank-row-2):not(.rank-row-3):not(.last-place-row):not(.pinned-user-row) td {
    background: #17243c !important; /* Flat dark blue tint */
}
html.dark-mode .leaderboard-table tbody tr:hover td {
    background: var(--bg-hover) !important;
}

/* Slot picker past/disabled slots in dark mode */
html.dark-mode .slot-btn.slot-disabled {
    background: var(--bg-hover) !important;
    color: var(--text-tertiary) !important;
}

/* Chatbot bot messages in dark mode */
html.dark-mode .bot-message {
    background: var(--bg-hover) !important;
    color: var(--text-primary) !important;
}

/* --------------------------------------------------------------------------
   ADMIN DASHBOARD DARK MODE OVERRIDES
   -------------------------------------------------------------------------- */

html.dark-mode .admin-body {
    background: var(--bg-base) !important;
    color: var(--text-primary) !important;
}

html.dark-mode .admin-sidebar {
    background: var(--bg-deep) !important;
    border-right: 1px solid var(--border-subtle) !important;
}

html.dark-mode .admin-sidebar-brand {
    border-bottom: 1px solid var(--border-subtle) !important;
}

html.dark-mode .admin-sidebar-brand-text {
    color: var(--accent-warm) !important;
}

html.dark-mode .admin-nav-label {
    color: var(--text-tertiary) !important;
}

html.dark-mode .admin-nav-item {
    color: var(--text-secondary) !important;
}

html.dark-mode .admin-nav-item:hover {
    background: var(--bg-hover) !important;
    color: var(--text-primary) !important;
}

html.dark-mode .admin-nav-item.active {
    background: var(--accent) !important;
    color: #ffffff !important;
}

html.dark-mode .admin-sidebar-footer {
    border-top: 1px solid var(--border-subtle) !important;
}

html.dark-mode .admin-sidebar-avatar {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

html.dark-mode .admin-sidebar-username {
    color: var(--text-primary) !important;
}

html.dark-mode .admin-sidebar-role {
    color: var(--text-tertiary) !important;
}

html.dark-mode .admin-logout-btn {
    background: #442226 !important;
    color: #fecaca !important;
}

html.dark-mode .admin-logout-btn:hover {
    background: #5c2d33 !important;
}

html.dark-mode .admin-topbar {
    background: var(--bg-deep) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

html.dark-mode .admin-topbar-title {
    color: var(--text-primary) !important;
}

html.dark-mode .admin-topbar-subtitle {
    color: var(--text-tertiary) !important;
}

html.dark-mode .admin-topbar-time {
    color: var(--text-tertiary) !important;
}

html.dark-mode .admin-badge-live {
    background: #14321a !important;
    color: #86efac !important;
}

html.dark-mode .admin-stat-card {
    background: var(--bg-deep) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25) !important;
}

html.dark-mode .admin-stat-value {
    color: var(--text-primary) !important;
}

html.dark-mode .admin-stat-label {
    color: var(--text-secondary) !important;
}

html.dark-mode .admin-stat-sub {
    color: var(--text-tertiary) !important;
}

html.dark-mode .admin-table-card {
    background: var(--bg-deep) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25) !important;
}

html.dark-mode .admin-table-header {
    border-bottom: 1px solid var(--border-subtle) !important;
}

html.dark-mode .admin-table-title {
    color: var(--text-primary) !important;
}

html.dark-mode .admin-search-input {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-faint) !important;
    color: var(--text-primary) !important;
}

html.dark-mode .admin-filter-select {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-faint) !important;
    color: var(--text-primary) !important;
}

html.dark-mode .admin-table th {
    background: var(--bg-surface) !important;
    border-bottom: 2px solid var(--border-subtle) !important;
    color: var(--text-secondary) !important;
}

html.dark-mode .admin-table td {
    border-bottom: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

html.dark-mode .admin-table tbody tr:nth-child(even) {
    background: var(--bg-surface) !important;
}

html.dark-mode .admin-table td.muted {
    color: var(--text-tertiary) !important;
}

@media (max-width: 860px) {
    html.dark-mode .admin-table tbody tr {
        background: var(--bg-deep) !important;
        border-color: var(--border-subtle) !important;
    }

    html.dark-mode .admin-table tbody td {
        border-bottom-color: var(--border-subtle) !important;
    }

    html.dark-mode .admin-table tbody td::before {
        color: var(--text-tertiary) !important;
    }
}

html.dark-mode .btn-a-danger {
    background: #442226 !important;
    color: #fecaca !important;
    border-color: #5c2d33 !important;
}

html.dark-mode .btn-a-danger:hover {
    background: #5c2d33 !important;
}

html.dark-mode .btn-a-success {
    background: #14321a !important;
    color: #86efac !important;
    border-color: #1b4524 !important;
}

html.dark-mode .btn-a-success:hover {
    background: #1b4524 !important;
}

html.dark-mode .btn-a-primary {
    background: #122840 !important;
    color: #8cb6ff !important;
    border-color: #1c3d63 !important;
}

html.dark-mode .btn-a-primary:hover {
    background: #1c3d63 !important;
}

html.dark-mode .btn-a-warning {
    background: #3a2e12 !important;
    color: #ffe08c !important;
    border-color: #524018 !important;
}

html.dark-mode .btn-a-warning:hover {
    background: #524018 !important;
}

html.dark-mode .btn-a-blue {
    background: #122840 !important;
    color: #8cb6ff !important;
    border-color: #1c3d63 !important;
}

html.dark-mode .btn-a-blue:hover {
    background: #1c3d63 !important;
}

html.dark-mode .pill-completed {
    background: var(--bg-hover) !important;
    color: var(--text-secondary) !important;
}

html.dark-mode .quick-action-btn {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-secondary) !important;
}

html.dark-mode .quick-action-btn:hover {
    background: var(--bg-hover) !important;
    color: var(--accent-warm) !important;
}

html.dark-mode .report-tabs {
    background: var(--bg-surface) !important;
}

html.dark-mode .report-tab-btn {
    color: var(--text-secondary) !important;
}

html.dark-mode .report-tab-btn:hover {
    background: rgba(255,255,255,0.05) !important;
}

html.dark-mode .report-tab-btn.active {
    background: var(--bg-deep) !important;
    color: var(--accent-warm) !important;
}

html.dark-mode .admin-modal-card {
    background: var(--bg-deep) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
}

html.dark-mode .admin-modal-header {
    border-bottom: 1px solid var(--border-subtle) !important;
}

html.dark-mode .admin-modal-header h3 {
    color: var(--text-primary) !important;
}

html.dark-mode .admin-modal-hint {
    color: var(--text-secondary) !important;
}

html.dark-mode .admin-field-label {
    color: var(--text-secondary) !important;
}

html.dark-mode .admin-field-input {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-faint) !important;
    color: var(--text-primary) !important;
}

html.dark-mode .btn-a-ghost {
    background: var(--bg-surface) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-subtle) !important;
}

html.dark-mode .cms-feature-block {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
}

html.dark-mode .cms-subhead {
    color: var(--accent-warm) !important;
}

html.dark-mode .admin-flash-success {
    background: rgba(74, 222, 128, 0.08) !important;
    border: 1px solid rgba(74, 222, 128, 0.2) !important;
    color: #a7f3d0 !important;
}

/* ─── Dark mode: readable body copy ─── */
html.dark-mode .about-body-text,
html.dark-mode .feature-card p,
html.dark-mode .content-card p,
html.dark-mode .page-section p,
html.dark-mode .cta-band-inner p,
html.dark-mode .gallery-info p {
    color: #e8eaed !important;
}

html.dark-mode .content-card strong,
html.dark-mode .page-section strong {
    color: #ffffff !important;
    text-shadow: none !important;
}

html.dark-mode .contact-location-box span {
    color: #e8eaed !important;
}

/* ─── Dark mode: keep photos/videos full brightness (same as light mode) ─── */
html.dark-mode .about-featured-image,
html.dark-mode .about-founder-image,
html.dark-mode .about-logo,
html.dark-mode .slide-image,
html.dark-mode .slide-image.active,
html.dark-mode .gallery-item img,
html.dark-mode .thumbnail-item img,
html.dark-mode .about-video-wrapper video {
    filter: none !important;
    opacity: 1 !important;
}

html.dark-mode .slide-image:not(.active) {
    opacity: 0 !important;
}

html.dark-mode .form-group input:disabled,
html.dark-mode .input-disabled {
    background: var(--bg-hover) !important;
    color: #e8eaed !important;
    border-color: var(--border-subtle) !important;
}
