:root {
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --primary: #6366f1;
    --accent: #00e5ff;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --danger: #ef4444;
}

body {
    margin: 0; padding: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark); color: var(--text-main);
    transition: background 0.3s ease;
}

.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* LOGIN & FORMS */
.card {
    background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.login-box { max-width: 450px; margin: 80px auto; text-align: center; }

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.5rem; color: var(--text-muted); }

input[type="text"], input[type="password"], input[type="number"], select {
    width: 100%; padding: 12px 16px; border-radius: 8px; border: 2px solid #334155;
    background: rgba(15, 23, 42, 0.5); color: white; outline: none;
    transition: all 0.2s ease; box-sizing: border-box;
}

input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2); }

.btn {
    display: inline-block; border: none; padding: 12px 24px; border-radius: 8px;
    font-weight: 800; cursor: pointer; text-decoration: none; transition: 0.2s;
}

.btn-primary { background: linear-gradient(135deg, var(--primary), #818cf8); color: white; width: 100%; font-size: 1rem; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4); }

.text-gradient { background: linear-gradient(90deg, #6366f1, #00e5ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* SPECIFIC PANELS */
.scoring-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.scoring-table th { text-align: left; background: #334155; padding: 12px; font-size: 0.75rem; }
.scoring-table td { padding: 12px; border-bottom: 1px solid #334155; }

/* LIGHT MODE SUPPORT */
body.light-mode { background-color: #f1f5f9; color: #1e293b; --card-bg: #ffffff; --bg-dark: #f1f5f9; }
body.light-mode input, body.light-mode select { background: #f8fafc; color: #1e293b; border-color: #cbd5e1; }

select option {
    background: #1e293b;
    color: white;
}

body.light-mode select option {
    background: white;
    color: #1e293b;
}
