/* ================================================
   BURNOUT 7 — Global Dark Theme
   Loaded by: dashboard, sport, admin_*, register, registration_success
================================================ */

/* Google Fonts — loaded here so every page gets it for free */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

/* ================================================
   VARS
================================================ */
:root {
    /* ── Backgrounds ── */
    --bg-primary:   #060810;   /* page floor */
    --bg-secondary: #0b0e14;   /* cards, sidebar, header */
    --bg-tertiary:  #111520;   /* inputs, table-head, hover surfaces */
    --bg-hover:     #171e2a;   /* deeper hover */

    /* ── Text ── */
    --text-primary:   #e8e4dc;
    --text-secondary: #a89f8c;
    --text-muted:     #6b6358;

    /* ── Gold accent (Game Awards) ── */
    --gold:       #c9a227;
    --gold-dim:   rgba(201,162,39,.35);
    --gold-soft:  rgba(201,162,39,.12);
    --gold-glow:  rgba(201,162,39,.25);

    /* ── Primary (gold replaces blue for CTAs) ── */
    --primary-color:  #c9a227;
    --primary-hover:  #dcc435;
    --primary-dark:   #a6841f;

    /* ── Status colours ── */
    --success-color:  #22c55e;
    --success-hover:  #16a34a;
    --danger-color:   #ef4444;
    --danger-hover:   #dc2626;
    --warning-color:  #f59e0b;
    --warning-hover:  #d97706;
    --info-color:     #38bdf8;

    /* ── Borders ── */
    --border-color:  rgba(232,228,220,.08);
    --border-light:  rgba(232,228,220,.14);
    --border-gold:   rgba(201,162,39,.18);

    /* ── Shadows ── */
    --shadow:    0 1px 3px rgba(0,0,0,.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,.45);
    --shadow-lg: 0 10px 28px rgba(0,0,0,.5);
    --shadow-xl: 0 20px 40px rgba(0,0,0,.55);

    /* ── Layout ── */
    --sidebar-width: 260px;
    --header-height: 64px;

    /* ── Transitions ── */
    --transition: all 0.28s cubic-bezier(.4,0,.2,1);
}

/* ================================================
   RESET + BASE
================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--bg-hover); }

/* ================================================
   LAYOUT SHELL
================================================ */
.app-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: var(--transition);
    min-width: 0; /* prevent flex overflow */
}

.main-content.sidebar-collapsed {
    margin-left: 0;
}

/* ================================================
   HEADER
================================================ */
.header {
    background: var(--bg-secondary);
    height: var(--header-height);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 7px 9px;
    border-radius: 6px;
    transition: var(--transition);
    line-height: 1;
}

.menu-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.header-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.user-info:hover {
    border-color: var(--border-gold);
    background: var(--bg-hover);
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

/* ================================================
   SIDEBAR
================================================ */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-gold);
    position: fixed;
    left: 0; top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 200;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

/* ── Sidebar header / logo ── */
.sidebar-header {
    padding: 20px 20px 18px;
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.sidebar-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.sidebar-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.42rem;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    line-height: 1;
}

.sidebar-logo-text .gold { color: var(--gold); }

/* ── Nav sections ── */
.sidebar-nav { padding: 18px 0; }

.nav-section { margin-bottom: 24px; }

.nav-section-title {
    padding: 0 20px 8px;
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    opacity: .6;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
    font-size: 0.87rem;
    font-weight: 400;
}

.nav-item:hover {
    background: var(--gold-soft);
    color: var(--text-primary);
    border-left-color: var(--gold-dim);
}

.nav-item.active {
    background: var(--gold-soft);
    color: var(--gold);
    border-left-color: var(--gold);
    font-weight: 600;
}

.nav-icon {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

/* ================================================
   PAGE CONTAINER
================================================ */
.page-container {
    padding: 28px 30px;
    max-width: 1400px;
}

/* ================================================
   CARDS
================================================ */
.card {
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 22px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-gold);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

/* ================================================
   STAT CARDS
================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 22px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    /* colours set per-use via .si-gold, .si-green, .si-amber, .si-red */
}

/* Stat icon colour helpers — replaces inline styles */
.si-gold   { background: var(--gold-soft);                        color: var(--gold); }
.si-green  { background: rgba(34,197,94,.12);                     color: var(--success-color); }
.si-amber  { background: rgba(245,158,11,.12);                    color: var(--warning-color); }
.si-red    { background: rgba(239,68,68,.12);                     color: var(--danger-color); }
.si-blue   { background: rgba(56,189,248,.12);                    color: var(--info-color); }

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.1;
}

.stat-change {
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
}

.stat-change.positive { color: var(--success-color); }
.stat-change.negative { color: var(--danger-color); }

/* ================================================
   BUTTONS
================================================ */
.btn {
    padding: 9px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-success {
    background: var(--success-color);
    color: #fff;
}

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

.btn-danger {
    background: var(--danger-color);
    color: #fff;
}

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

.btn-warning {
    background: var(--warning-color);
    color: var(--bg-primary);
}

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

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 13px 28px;
    font-size: 0.9rem;
}

/* disabled */
.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ================================================
   FORMS
================================================ */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.required { color: var(--danger-color); }

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 7px;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
    background: var(--bg-hover);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control {
    cursor: pointer;
    appearance: auto;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

input[type="file"].form-control {
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-secondary);
}

/* ================================================
   TABLES
================================================ */
.table-container {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--bg-tertiary);
}

th {
    padding: 13px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

tbody tr {
    transition: var(--transition);
}

tbody tr:hover {
    background: var(--bg-tertiary);
}

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

/* ================================================
   BADGES
================================================ */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-primary   { background: var(--gold-soft);                  color: var(--gold); }
.badge-success   { background: rgba(34,197,94,.12);               color: var(--success-color); }
.badge-danger    { background: rgba(239,68,68,.12);               color: var(--danger-color); }
.badge-warning   { background: rgba(245,158,11,.12);              color: var(--warning-color); }
.badge-info      { background: rgba(56,189,248,.12);              color: var(--info-color); }

/* ================================================
   GRIDS
================================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ================================================
   MODALS
================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-gold);
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 5px;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body  { padding: 24px; }

.modal-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* ================================================
   ALERTS
================================================ */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.alert-success { background: rgba(34,197,94,.08);  border: 1px solid rgba(34,197,94,.25);  color: var(--success-color); }
.alert-danger  { background: rgba(239,68,68,.08);  border: 1px solid rgba(239,68,68,.25);  color: var(--danger-color); }
.alert-warning { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); color: var(--warning-color); }
.alert-info    { background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.25); color: var(--info-color); }

/* ================================================
   EMPTY STATE
================================================ */
.empty-state {
    text-align: center;
    padding: 56px 20px;
}

.empty-icon {
    font-size: 3.2rem;
    margin-bottom: 18px;
    opacity: 0.35;
}

.empty-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* ================================================
   REGISTRATION-SPECIFIC (register + success pages)
================================================ */

/* Centred single-column wrapper (no sidebar) */
.reg-shell {
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
}

/* Thin top bar with back link */
.reg-topbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-gold);
    padding: 13px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reg-topbar a {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color .25s;
}

.reg-topbar a:hover { color: var(--primary-hover); }

/* Scrollable body area */
.reg-body {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 36px 20px 60px;
}

.reg-card {
    width: 100%;
    max-width: 760px;
}

/* Card header banner */
.reg-card-header {
    background: linear-gradient(135deg, #111520 0%, #0b0e14 100%);
    border: 1px solid var(--border-gold);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* subtle gold glow behind title */
.reg-card-header::before {
    content: '';
    position: absolute;
    top: -40%; left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
    pointer-events: none;
}

.reg-card-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    margin-bottom: 6px;
}

.reg-card-header h1 .g { color: var(--gold); }

.reg-card-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Form body */
.reg-form-body {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 32px;
}

/* Section divider inside form */
.form-section {
    margin-bottom: 34px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 20px;
}

/* 2-col form grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

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

/* Sport selection cards inside registration */
.reg-sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.reg-sport-card { position: relative; }

.reg-sport-checkbox {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
    pointer-events: none;
}

.reg-sport-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-tertiary);
    text-align: center;
    height: 100%;
}

.reg-sport-label:hover {
    border-color: var(--border-gold);
    background: var(--bg-hover);
}

.reg-sport-checkbox:checked + .reg-sport-label {
    border-color: var(--gold);
    background: var(--gold-soft);
    box-shadow: 0 0 0 1px var(--gold);
}

.reg-sport-label .sp-icon {
    font-size: 1.8rem;
    margin-bottom: 7px;
    transition: transform .2s;
}

.reg-sport-checkbox:checked + .reg-sport-label .sp-icon {
    transform: scale(1.15);
}

.reg-sport-label .sp-name {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .25s;
}

.reg-sport-checkbox:checked + .reg-sport-label .sp-name {
    color: var(--gold);
}

/* Checkbox + terms label */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}

/* Payment info note */
.payment-note {
    margin-top: 7px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.payment-note strong { color: var(--gold); }

/* Form action bar */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ── Success page specific ── */
.success-wrap {
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
}

.success-icon-ring {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color), #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 0 30px rgba(34,197,94,.25);
    animation: pop-in .45s cubic-bezier(.4,0,.2,1) forwards;
    transform: scale(0); opacity: 0;
}

@keyframes pop-in {
    to { transform: scale(1); opacity: 1; }
}

.success-icon-ring svg {
    width: 52px; height: 52px;
    stroke: #fff; stroke-width: 3;
    stroke-linecap: round; stroke-linejoin: round;
    fill: none;
}

.success-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
}

.success-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.success-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.player-info {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 9px;
    padding: 22px;
    margin: 0 0 24px;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

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

.info-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-value {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.player-id-highlight {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 0.06em;
}

.sports-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.sport-badge {
    background: var(--gold-soft);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Next-steps box */
.next-steps {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-gold);
    border-radius: 9px;
    padding: 20px 22px;
    text-align: left;
    margin-top: 22px;
}

.next-steps h3 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps ul li {
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.next-steps ul li:last-child { border-bottom: none; }

.next-steps ul li::before {
    content: '›';
    position: absolute;
    left: 4px;
    color: var(--gold);
    font-weight: 700;
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ================================================
   UTILITIES
================================================ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--text-muted); }
.text-primary { color: var(--gold); }
.text-success { color: var(--success-color); }
.text-danger  { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-gold    { color: var(--gold); }
.text-cream   { color: var(--text-primary); }

.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }  .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }

.d-flex         { display: flex; }
.align-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-1 { gap: 8px; }  .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }

.hidden { display: none !important; }

/* ================================================
   MOBILE BACKDROP (sidebar overlay)
================================================ */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 199;
}

.sidebar-backdrop.show { display: block; }

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%) !important;
    }

    .sidebar.open {
        transform: translateX(0) !important;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .header { padding: 0 14px; }
    .page-container { padding: 16px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }

    .user-info span { display: none; }

    .table-container { font-size: 0.78rem; }
    .table-container th,
    .table-container td { padding: 9px 8px; }

    /* registration */
    .reg-form-body { padding: 22px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .reg-sports-grid { grid-template-columns: repeat(3, 1fr); }
    .form-actions { flex-direction: column; }
    .form-actions .btn { width: 100%; justify-content: center; }

    /* success */
    .success-card { padding: 28px 18px; }
    .info-row { flex-direction: column; align-items: flex-start; }
    .sports-list { justify-content: flex-start; }
}

@media (max-width: 420px) {
    .reg-sports-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
}

/* ================================================
   SPINNER
================================================ */
.spinner {
    border: 3px solid var(--bg-tertiary);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    width: 36px; height: 36px;
    animation: spin .8s linear infinite;
    margin: 20px auto;
}

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

/* ================================================
   PRINT
================================================ */
@media print {
    .action-buttons, .reg-topbar { display: none; }
    .reg-shell { background: #fff; }
    .success-card, .player-info, .next-steps {
        background: #fff !important;
        border-color: #ccc !important;
        color: #222 !important;
    }
}