/* ===== CSS CUSTOM PROPERTIES (DESIGN TOKENS) ===== */
:root {
    /* Colors - Dark Mode Only */
    --primary-color: #71C0BB;
    --primary-variant: #4E6688;
    --secondary-color: #71C0BB;
    --accent-color: #E3EEB2;

    /* Backgrounds - Dark Mode Only */
    --bg-primary: #2c3e50;
    --bg-secondary: #1a1d23;
    --bg-light: #1a1d23;

    /* Text Colors - Dark Mode Only */
    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --text-muted: #6c757d;

    /* Border Colors - Dark Mode Only */
    --border-color: #495057;
    --border-light: #343a40;

    /* Status Colors */
    --success-color: #28a745;
    --success-light: #155724;
    --danger-color: #dc3545;
    --error-color: #dc3545;
    --error-light: #721c24;
    --warning-color: #ffc107;
    --info-color: #17a2b8;

    /* Spacing Scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-xxl: 1.5rem;

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Always apply dark mode styles */
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 576px) {
    body {
        padding: 0;
        align-items: flex-start;
    }
}