/* Base CSS - Variables and common styles */

:root {
    /* Colors */
    --color-primary: #4263eb;
    --color-primary-dark: #3451c9;
    --color-primary-light: #5274f7;

    /* Background colors (dark theme) */
    --bg-dark-1: #0a0e17;
    --bg-dark-2: #0d1219;
    --bg-dark-3: #161b26;
    --bg-dark-4: #1a1f2e;
    --bg-dark-5: #1e2433;
    --bg-dark-6: #202833;

    /* Text colors */
    --text-primary: #e8eaed;
    --text-secondary: #c9cdd4;
    --text-muted: #8892a0;
    --text-disabled: #5a6270;

    /* Status colors */
    --color-success: #2ecc71;
    --color-success-dark: #28a745;
    --color-warning: #e67e22;
    --color-warning-dark: #d35400;
    --color-danger: #e74c3c;
    --color-danger-dark: #dc2626;

    /* Coalition colors */
    --color-blue: #60a5fa;
    --color-blue-dark: #4263eb;
    --color-red: #f87171;
    --color-red-dark: #ef4444;
    --color-neutral: #9ca3af;
    --color-neutral-dark: #6b7280;

    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-primary: 0 4px 15px rgba(66, 99, 235, 0.3);

    /* Font */
    --font-family: "Segoe UI", Roboto, sans-serif;
}

/* Reset */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

/* Common button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: 1px solid rgba(66, 99, 235, 0.5);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(145deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    box-shadow: 0 6px 20px rgba(66, 99, 235, 0.5);
    transform: translateY(-2px);
}

/* Common container styles */
.container {
    max-width: 900px;
    margin: 0 auto;
}

.container-card {
    background: linear-gradient(145deg, var(--bg-dark-5) 0%, var(--bg-dark-3) 100%);
    border: 1px solid rgba(66, 99, 235, 0.2);
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(66, 99, 235, 0.1);
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.badge-primary {
    background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 2px 6px rgba(66, 99, 235, 0.3);
}

.badge-warning {
    background: linear-gradient(145deg, var(--color-warning) 0%, var(--color-warning-dark) 100%);
    box-shadow: 0 2px 6px rgba(230, 126, 34, 0.4);
}

.badge-gray {
    background: rgba(90, 98, 112, 0.5);
}

/* Scrollbar styles (dark theme) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(66, 99, 235, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(66, 99, 235, 0.5);
}
