/* === Tema Değişkenleri === */
:root {
    /* Ortak Degiskenler */
    --font-family-base: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Kurumsal Tema (Varsayılan) */
    --c-primary: #003366;
    --c-secondary: #00509e;
    --c-background: #f4f6f8;
    --c-surface: #ffffff;
    --c-text: #333333;
    --c-text-muted: #666666;
    --c-border: #dcdcdc;
    --c-success: #28a745;
    --rounding-base: 4px;
    --shadow-base: 0 1px 3px rgba(0,0,0,0.1);
    --transition-speed: 0s; /* Kurumsal temada animasyon yok veya çok az */
}

/* Modern-Dinamik Tema (Eğer body'e theme-modern sinifi atanirsa) */
body.theme-modern {
    --c-primary: #6C5CE7;
    --c-secondary: #a29bfe;
    --c-background: #0f172a;
    --c-surface: #1e293b;
    --c-text: #f8fafc;
    --c-text-muted: #94a3b8;
    --c-border: #334155;
    --c-success: #10b981;
    --rounding-base: 16px;
    --shadow-base: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-family-base);
    background-color: var(--c-background);
    color: var(--c-text);
    margin: 0;
    padding: 0;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* Sınav Container */
.exam-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Card Yüzeyi */
.surface-card {
    background-color: var(--c-surface);
    border-radius: var(--rounding-base);
    box-shadow: var(--shadow-base);
    border: 1px solid var(--c-border);
    padding: 2rem;
    transition: all var(--transition-speed) ease;
}

/* Butonlar */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: calc(var(--rounding-base)/2);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--c-primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--c-secondary);
    transform: body.theme-modern ? translateY(-2px) : none;
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--c-primary);
    color: var(--c-primary);
}

/* Seçenekler Listesi (Soru Seçenekleri) */
.option-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--c-border);
    border-radius: var(--rounding-base);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}
.option-item:hover {
    border-color: var(--c-primary);
    background-color: rgba(108, 92, 231, 0.05); /* modern */
}
.option-item.selected {
    background-color: var(--c-primary);
    color: white;
    border-color: var(--c-primary);
}

/* Grid Seçici */
.question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}
.grid-btn {
    width: 100%;
    aspect-ratio: 1;
    border-radius: calc(var(--rounding-base)/2);
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    color: var(--c-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}
.grid-btn.active {
    background: var(--c-primary);
    color: white;
    border-color: var(--c-primary);
}
