/* Color Variables */
:root {
    --bg-body: #020202;
    --bg-card: #1e1e1e;
    --bg-input: #2a2a2a;
    --text-main: #ffffff;
    --text-sub: #aaaaaa;
    --border: #444444;
    --accent: #4caf50;
    --head: #ffffff;
    --logo-url: url('/img/logo-light.png');
}

[data-theme="light"] {
    --bg-body: #f0f2f5;
    --bg-card: #ffffff;
    --bg-input: #f8f9fa;
    --text-main: #1a1a1a;
    --text-sub: #666666;
    --border: #dddddd;
    --accent: #2e7d32;
    --head: #020202;
    --logo-url: url('/img/logo-dark.png');
}

body {
    font-family: -apple-system, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.3s ease;
}

.card {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: background 0.3s ease;
}

.theme-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
}

.logo {
    content: var(--logo-url);
    width: 300px;
    height: auto;
    display: block;
    margin: 20px auto 20px auto;
}

h2 {
    color: var(--head);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.footer-text {
    color: var(--head);
    font-size: 0.75rem;
    text-align: center;
    margin-top: 20px;
}

.input-group {
    width: 100%;
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-sub);
    text-transform: uppercase;
    text-align: center;
}

select {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: var(--bg-input);
    color: var(--text-main);
    border: 1px solid var(--border);
    font-size: 1.2rem;
    outline: none;
    cursor: pointer;
    text-align-last: center;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.stat-box {
    background: var(--bg-input);
    padding: 15px;
    border-radius: 10px;
    border-bottom: 4px solid var(--accent);
    text-align: center;
}

.stat-box.blue {
    border-bottom-color: #2196f3;
}

.stat-box.red {
    border-bottom-color: #f44336;
}

/* .stat-box {
    background: var(--bg-input);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--accent); 
    text-align: center;
    padding-left: 20px; 
}

.stat-box.blue {
    border-left-color: #2196f3;
}

.stat-box.red {
    border-left-color: #f44336;
} */

.label {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.value {
    font-size: 1.5rem;
    font-weight: bold;
}

.full-width {
    grid-column: span 2;
}