/* =============================================
   Scout26 - Mobile First FRC Scouting App
   ============================================= */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #64748b;
    --success: #1d8242;
    --warning: #f59e0b;
    --danger: #ef4444;
    --red-alliance: #dc2626;
    --red-alliance-light: #fecaca;
    --blue-alliance: #2563eb;
    --blue-alliance-light: #bfdbfe;
    
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #252540;
    --bg-input: #2a2a45;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: #3f3f5a;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    
    --transition: all 0.2s ease;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: 68px;
}

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

.app-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

.connection-status.offline .status-dot {
    background: var(--danger);
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Settings Button */
.settings-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* Settings Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0;
}

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: var(--transition);
}

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

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 0 20px 20px;
}

.settings-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.settings-hint a {
    color: var(--primary);
    text-decoration: none;
}

.settings-hint a:hover {
    text-decoration: underline;
}

/* Settings Display (inline badges on Pre-Match) */
.settings-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 8px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.settings-display-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.settings-display-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    flex: 1;
}

.settings-display-edit {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: var(--transition);
}

.settings-display-edit:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Disabled slider styles */
.slider:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.slider:disabled::-webkit-slider-thumb {
    cursor: not-allowed;
    background: var(--secondary);
}

.slider:disabled::-moz-range-thumb {
    cursor: not-allowed;
    background: var(--secondary);
}

/* Page Navigation */
.page-nav {
    display: flex;
    background: var(--bg-secondary);
    padding: 6px;
    gap: 3px;
    position: sticky;
    top: 69px;
    z-index: 99;
    overflow-x: auto;
    justify-content: space-between;
    /* -webkit-overflow-scrolling: touch; */
}

.nav-btn {
    flex: 0 0 auto;
    min-width: 30px;
    padding: 8px 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-btn.active {
    background: var(--primary);
    color: white;
}

.nav-btn:not(.active):hover {
    background: var(--bg-card);
}

/* Progress Bar */
.progress-bar {
    height: 3px;
    background: var(--bg-card);
    position: sticky;
    top: 111px;
    z-index: 98;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #a855f7);
    width: 33%;
    transition: width 0.3s ease;
}

/* Form Pages */
.form-page {
    display: none;
    padding: 28px 20px;
    flex: 1;
    animation: fadeIn 0.3s ease;
}

.form-page.active {
    display: block;
}

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

/* Section Title */
.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.period-badge {
    font-size: 0.75rem;
    background: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* Form Groups */
.form-group {
    margin-bottom: 22px;
}

.form-group > label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Text Inputs */
.text-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    transition: var(--transition);
}

.text-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

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

/* Pill Groups */
.pill-group {
    display: flex;
    gap: 6px;
}

.pill-group.horizontal {
    flex-wrap: wrap;
}

.pill-group.vertical {
    flex-direction: column;
}

.pill-group.two-cols {
    flex-direction: row;
}

.pill-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Pills */
.pill {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.pill:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.pill.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Alliance Colors */
.pill.red {
    border-color: var(--red-alliance);
}

.pill.red:hover {
    background: rgba(220, 38, 38, 0.1);
}

.pill.red.selected {
    background: var(--red-alliance);
    color: white;
}

.pill.blue {
    border-color: var(--blue-alliance);
}

.pill.blue:hover {
    background: rgba(37, 99, 235, 0.1);
}

.pill.blue.selected {
    background: var(--blue-alliance);
    color: white;
}

.pill.neutral.selected {
    background: var(--secondary);
}

/* Status Colors */
.pill.success.selected {
    background: var(--success);
    border-color: var(--success);
}

.pill.warning.selected {
    background: var(--warning);
    border-color: var(--warning);
    color: #1a1a2e;
}

.pill.danger.selected {
    background: var(--danger);
    border-color: var(--danger);
}

/* Team Loading */
.team-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.team-loading.hidden {
    display: none;
}

/* Slider */
.slider-container {
    padding: 10px 0;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-card);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--bg-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--bg-primary);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slider-value {
    color: var(--primary);
    font-weight: 600;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 10px 16px 7px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.checkbox-container:hover {
    border-color: var(--primary);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-container input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label {
    font-size: 1rem;
    font-weight: 500;
    display: inline;
    flex: 1;
    margin-top: 1px;
    margin-left: 10px;
    position: absolute;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.prev-btn, .next-btn {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.prev-btn:hover {
    border-color: var(--primary);
}

.next-btn {
    background: var(--primary);
    color: white;
}

.next-btn:hover {
    background: var(--primary-dark);
}

.prev-btn.full-width, .next-btn.full-width {
    margin-top: 20px;
}

/* Summary Card */
.summary-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.summary-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.summary-content {
    display: grid;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.summary-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.summary-value {
    font-weight: 500;
    color: var(--text-primary);
}

.summary-value.red {
    color: var(--red-alliance);
}

.summary-value.blue {
    color: var(--blue-alliance);
}

/* Pending Section */
.pending-section {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.pending-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.pending-count {
    background: var(--warning);
    color: #1a1a2e;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pending-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.pending-item {
    padding: 12px;
    background: var(--bg-input);
    border-radius: var(--border-radius-sm);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.pending-item:last-child {
    margin-bottom: 0;
}

.sync-btn {
    width: 100%;
    padding: 12px;
    background: var(--warning);
    color: #1a1a2e;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.sync-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

.sync-icon {
    font-size: 1.2rem;
}

/* Submit Actions */
.submit-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.submit-btn {
    padding: 18px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn.primary {
    background: var(--success);
    color: white;
}

.submit-btn.primary:hover {
    background: #16a34a;
}

#settingsSave {
    margin: auto;
}

.submit-btn.secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.submit-btn.secondary:hover {
    border-color: var(--primary);
}

.submit-btn.danger {
    background: transparent;
    color: var(--danger);
    border: 2px solid var(--danger);
}

.submit-btn.danger:hover {
    background: var(--danger);
    color: white;
}

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

/* Loading Spinner */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

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

/* Records Page */
.records-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.records-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.records-filter label {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.records-select {
    padding: 8px 12px;
    min-width: 120px;
}

.records-count {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.record-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    position: relative;
}

.record-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.record-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.record-card-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.record-card-badge.synced {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.record-card-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.record-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.record-card-details .alliance-tag {
    font-weight: 600;
}

.record-card-details .alliance-tag.red {
    color: var(--red-alliance);
}

.record-card-details .alliance-tag.blue {
    color: var(--blue-alliance);
}

.records-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.records-clear-btn {
    margin-top: 8px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    animation: slideUp 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

.toast.warning {
    background: var(--warning);
    color: #1a1a2e;
}

.toast.info {
    background: var(--primary);
}

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

/* =============================================
   Responsive Breakpoints
   ============================================= */

/* Tablets and larger */
@media (min-width: 768px) {
    .app-container {
        max-width: 600px;
    }
    
    .form-page {
        padding: 30px;
    }
    
    .pill-group.horizontal {
        flex-wrap: nowrap;
    }
    
    .submit-actions {
        flex-direction: row;
    }
    
    .submit-btn {
        flex: 1;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .app-container {
        max-width: 700px;
        margin-top: 20px;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.pi-balance {
    color: var(--accent);
    font-weight: 500;
}

.text-center {
    text-align: center;
}

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

/* Phase Status Badge */
.phase-status {
    font-size: 1rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-status.active {
    background: var(--success);
    color: white;
}

.phase-status.inactive {
    background: var(--secondary);
    color: white;
}

/* Highlight Checkbox */
.checkbox-container.highlight-checkbox {
    background: linear-gradient(135deg, var(--primary), #a855f7);
    border-color: transparent;
}

.checkbox-container.highlight-checkbox .checkmark {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
}

.checkbox-container.highlight-checkbox input:checked + .checkmark {
    background: white;
    border-color: white;
}

.checkbox-container.highlight-checkbox input:checked + .checkmark::after {
    color: var(--primary);
}

/* Textarea Styling */
.textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 400px;
    font-family: inherit;
    line-height: 1.6;
}

/* Inactive Page Overlay */
.form-page.inactive-phase {
    position: relative;
}

.form-page.inactive-phase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.5);
    z-index: 10;
    pointer-events: none;
    border-radius: var(--border-radius);
}

/* Safe area for iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .submit-actions {
        padding-bottom: env(safe-area-inset-bottom);
    }
    .bottom-tab-bar {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Bottom Tab Bar */
.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    z-index: 200;
    padding: 4px 0 6px;
}

.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.65rem;
    font-weight: 500;
    padding: 6px 4px 4px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn:not(.active):hover {
    color: var(--text-primary);
}

.tab-btn svg {
    width: 22px;
    height: 22px;
}

/* Scout section wrappers — show/hide based on active tab */
.scout-section {
    display: none;
}

.scout-section.active {
    display: contents;
}

/* Leaderboard */
.pi-scoreboard {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.pi-your-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px 40px;
    gap: 4px;
}

.pi-score-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pi-score-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pi-score-unit {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Settings page save area */
.settings-save-area {
    margin-top: 29px;
    border-top: 2px solid #3f3f5a;
    padding-top: 16px;
}

div.form-group:has(input#manualTeamNumber) {
    margin-top: 0px !important;
}