
:root {
    --primary-color: #0066ae; /* BCA Blue */
    --primary-hover: #004c85;
    --accent-color: #f28500; /* Orange */
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --success: #28a745;
    --danger: #dc3545;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }

.app-container { max-width: 800px; margin: 0 auto; padding: 20px; min-height: 100vh; display: flex; flex-direction: column; }
.app-header { background: var(--primary-color); color: white; padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; text-align: center; }
.app-header .logo { font-size: 1.5rem; font-weight: 700; }

.screen { display: none; flex: 1; }
.screen.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.card { background: var(--card-bg); padding: 30px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 20px; border: 1px solid var(--border-color); }
.card h1 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.8rem; }
.card p { color: var(--text-muted); margin-bottom: 20px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; }
select, input[type="text"] { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 1rem; }
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-group label { font-weight: 400; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.error { color: var(--danger); font-size: 0.85rem; margin-top: 5px; }

.btn { padding: 12px 24px; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); }
.btn-secondary { background: #e0e0e0; color: var(--text-main); }
.btn-secondary:hover:not(:disabled) { background: #d0d0d0; }
.btn-danger { background: var(--danger); color: white; }
.btn-large { width: 100%; font-size: 1.1rem; padding: 15px; }
.mt-20 { margin-top: 20px; }

/* Test Screen */
.test-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-weight: 600; font-size: 1.1rem; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.timer { color: var(--danger); }
.progress { color: var(--primary-color); }

.category-badge { display: inline-block; background: var(--accent-color); color: white; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.question-text { font-size: 1.3rem; margin-bottom: 25px; font-weight: 500; }

.option-label { display: block; background: #f9f9f9; border: 2px solid #eee; border-radius: 8px; padding: 15px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s ease; }
.option-label:hover { border-color: var(--primary-color); background: #f0f7fb; }
.option-label input { display: none; }
.option-label.selected { border-color: var(--primary-color); background: #e6f2f9; font-weight: 600; }

.test-navigation { display: flex; justify-content: space-between; margin-bottom: 30px; }
.submit-container { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); }

/* Result Screen */
.result-card { text-align: center; }
.score-display { font-size: 4rem; font-weight: 700; color: var(--primary-color); margin: 20px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 30px; }
.stat-box { background: #f9f9f9; padding: 15px; border-radius: 8px; border: 1px solid #eee; }
.stat-box h3 { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; }
.stat-box p { font-size: 1.5rem; font-weight: 700; margin-top: 5px; }
.text-green { color: var(--success); }
.text-red { color: var(--danger); }
.text-gray { color: var(--text-muted); }

.category-breakdown { text-align: left; margin-top: 20px; }
.cat-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; }
