/**
 * Aydınoloji Dijital Öğretmen - Evren Teması v1.6.1
 */

:root {
    --aos-evren-primary: #008c8c;
    --aos-evren-dark: #005f5f;
    --aos-evren-bg: #f0f8f8;
    --aos-evren-text: #333;
    --aos-evren-light: #fff;
    --aos-evren-border: #e0f2f2;
    --aos-evren-correct: #28a745;
    --aos-evren-wrong: #dc3545;
}

#ado-digital-teacher-app, .ado-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--aos-evren-bg);
    border: 1px solid var(--aos-evren-primary);
    border-radius: 15px;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0, 140, 140, 0.1);
    color: var(--aos-evren-text);
}

.ado-container.ado-limit-reached {
    text-align: center;
    padding: 2rem;
}

#ado-digital-teacher-app h2, #ado-digital-teacher-app h3 {
    color: var(--aos-evren-dark);
    border-bottom: 2px solid var(--aos-evren-primary);
    padding-bottom: 10px;
    text-align: center;
}

#ado-start-screen, #ado-guest-prompt {
    text-align: center;
    padding: 1rem 2rem 2rem;
}

#ado-start-screen h2, #ado-guest-prompt h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.ado-week-limit-info {
    font-size: 1.1em;
    padding: 10px;
    background-color: #e0f2f2;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--aos-evren-dark);
}

.ado-rewards-preview {
    margin: 1.5rem 0;
    text-align: left;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--aos-evren-border);
    border-radius: 8px;
}

.ado-rewards-preview p {
    margin: 0 0 10px 0;
    line-height: 1.5;
}
.ado-rewards-preview .ado-rewards-list {
    font-weight: bold;
    color: var(--aos-evren-dark);
}

.ado-start-btn, a.ado-start-btn {
    background-color: var(--aos-evren-primary);
    color: var(--aos-evren-light);
    border: none;
    padding: 12px 25px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-flex; /* Dikey ortalama için flex kullan */
    align-items: center; /* Dikey ortalama */
    justify-content: center; /* Yatay ortalama */
    line-height: 1; /* Satır yüksekliğini sıfırla */
}

.ado-start-btn:hover, a.ado-start-btn:hover {
    background-color: var(--aos-evren-dark);
}

.ado-start-btn.ado-secondary-btn {
    background-color: #6c757d;
}
.ado-start-btn.ado-secondary-btn:hover {
    background-color: #5a6268;
}

.ado-guest-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.ado-start-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.ado-practice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

#ado-question-timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--aos-evren-primary);
}

#ado-question-counter {
    font-size: 1.1rem;
    color: var(--aos-evren-dark);
}

#ado-question-title {
    background: var(--aos-evren-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--aos-evren-border);
    text-align: center;
    min-height: 80px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--aos-evren-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 600; 
}

#ado-question-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ado-option-btn {
    background-color: var(--aos-evren-light);
    color: var(--aos-evren-text);
    border: 1px solid var(--aos-evren-border);
    border-radius: 8px;
    padding: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5; 
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.ado-option-btn:not(:disabled):hover {
    border-color: var(--aos-evren-primary);
    color: var(--aos-evren-primary);
    box-shadow: 0 2px 8px rgba(0, 140, 140, 0.15);
}

.ado-option-btn:disabled {
    cursor: not-allowed;
}

.ado-option-btn.correct {
    background-color: var(--aos-evren-correct);
    color: var(--aos-evren-light);
    border-color: var(--aos-evren-correct);
}

.ado-option-btn.wrong {
    background-color: var(--aos-evren-wrong);
    color: var(--aos-evren-light);
    border-color: var(--aos-evren-wrong);
}

#ado-results-container .ado-final-results {
    text-align: center;
}

#ado-results-container .ado-score-summary {
    font-size: 1.2em;
    line-height: 1.6;
}

#ado-results-container .ado-result-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    font-size: 1.1em;
}
.ado-result-details .ado-correct-count { color: var(--aos-evren-correct); font-weight: bold; }
.ado-result-details .ado-wrong-count { color: var(--aos-evren-wrong); font-weight: bold; }

#ado-rewards-info {
    background: #e0f2f2;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
}
#ado-rewards-info ul { list-style: none; padding-left: 0; }
#ado-rewards-info li { padding: 5px; border-bottom: 1px solid #cce5e5; }
#ado-rewards-info li:last-child { border-bottom: none; }
#ado-rewards-info h4 {
    color: var(--aos-evren-dark);
    border: none;
    text-align: left;
    padding-bottom: 5px;
}

.ado-loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--aos-evren-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: ado-spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes ado-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@media (max-width: 600px) {
    #ado-question-options {
        grid-template-columns: 1fr;
    }
    #ado-question-title, .ado-option-btn {
        font-size: 1.2rem;
    }
    .ado-guest-buttons {
        flex-direction: column;
    }
}
