/* Sınav Stilleri */
.exam-setup {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.setup-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-group {
    text-align: left;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.option-group select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.exam-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.exam-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
    font-weight: bold;
}

.question-area {
    margin: 2rem 0;
}

.question {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
/* Test Modülü İyileştirmeleri */
.question-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.option {
    padding: 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option:hover {
    border-color: #3498db;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.option:active {
    transform: translateY(0);
}

.option.selected {
    border-color: #3498db;
    background: #e8f4fc;
    font-weight: bold;
}

.option.correct {
    border-color: #27ae60;
    background: #e8f6f3;
    color: #27ae60;
    font-weight: bold;
}

.option.incorrect {
    border-color: #e74c3c;
    background: #fdedec;
    color: #e74c3c;
    font-weight: bold;
}

.option .checkmark {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option.correct .checkmark {
    opacity: 1;
    color: #27ae60;
}

.option.incorrect .checkmark {
    opacity: 1;
    color: #e74c3c;
}

.option.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.option.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e9ecef;
    background: white;
}

/* Animasyonlar */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.option {
    animation: pulse 0.3s ease;
}

.option.correct {
    animation: pulse 0.6s ease;
}

/* Seçenek numaraları */
.option-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

.option.selected .option-number {
    background: #2980b9;
}

.option.correct .option-number {
    background: #27ae60;
}

.option.incorrect .option-number {
    background: #e74c3c;
}

/* Geri bildirim mesajları */
.feedback-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.feedback-correct {
    background: #e8f6f3;
    border: 1px solid #27ae60;
    color: #27ae60;
    display: block;
}

.feedback-incorrect {
    background: #fdedec;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    display: block;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .option {
        padding: 0.8rem;
    }
    
    .option-number {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 0.8rem;
    }
}

/* İlerleme çubuğu */
.progress-container {
    width: 100%;
    height: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #3498db;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Test sonuçları */
.test-results {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 2rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    border: 4px solid #e8f4fc;
}

.results-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.result-item {
    padding: 1rem;
    border-radius: 8px;
    background: white;
}

.result-correct {
    color: #27ae60;
    font-weight: bold;
}

.result-incorrect {
    color: #e74c3c;
    font-weight: bold;
}

.result-pending {
    color: #7f8c8d;
    font-weight: bold;
}

/* OPTION BUTTON STILLERİ - GÜNCELLENMİŞ */
.option-btn {
    padding: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0.5rem 0;
}

.option-btn:hover {
    border-color: #3498db;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.option-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}
/* Ses butonu stili */
.speaker-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.speaker-btn:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Soru alanına ses butonu için alan */
.question {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* DOĞRU CEVAP - YEŞİL */
.option-btn.correct {
    border-color: #27ae60;
    background: #27ae60;
    color: white;
    animation: pulse-green 0.6s ease-in-out;
}

/* YANLIŞ CEVAP - KIRMIZI */
.option-btn.wrong {
    border-color: #e74c3c;
    background: #e74c3c;
    color: white;
    animation: shake 0.5s ease-in-out;
}

/* Animasyonlar */
@keyframes pulse-green {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(39, 174, 96, 0.5); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* Diğer stiller aynı kalacak... */

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.exam-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.exam-results {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 2rem 0;
    text-align: center;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat h3 {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.stat p {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hidden {
    display: none;
}

/* Timer stilleri */
.timer {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.2rem;
}

.timer[style="color: red"] {
    color: #e74c3c;
    animation: blink 1s;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .exam-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .options {
        grid-template-columns: 1fr;
    }
    
    .setup-options {
        grid-template-columns: 1fr;
    }
    
    .result-stats {
        grid-template-columns: 1fr;
    }
    
    .exam-controls {
        flex-direction: column;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .option-btn {
        padding: 1rem;
        font-size: 1rem;
        min-height: 60px;
    }
}

/* Buton stilleri */
.btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn.secondary {
    background: #95a5a6;
}

.btn.secondary:hover {
    background: #7f8c8d;
}
/* İnceleme ekranı stilleri */
.review-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-question {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f8f9fa;
}

.review-question:last-child {
    border-bottom: none;
}

.review-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-question-header.correct {
    background: #e8f6f3;
    color: #27ae60;
}

.review-question-header.incorrect {
    background: #fdedec;
    color: #e74c3c;
}

.review-status {
    font-weight: bold;
    font-size: 1.2rem;
}

.review-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-option {
    padding: 0.8rem;
    border: 2px solid #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.review-option.correct {
    border-color: #27ae60;
    background: #e8f6f3;
    color: #27ae60;
    font-weight: bold;
}

.review-option.incorrect {
    border-color: #e74c3c;
    background: #fdedec;
    color: #e74c3c;
    font-weight: bold;
}

.review-explanation {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    font-size: 0.95rem;
}