/* Dictation screen styles */

.dictation-page {
    justify-content: space-between;
    height: 100%;
}

.dictation-progress {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

.btn-speak {
    align-self: center;
    font-size: 1.2rem;
    padding: 12px 24px;
}

.btn-retry-tts {
    align-self: center;
    color: var(--warning);
}

/* Word display with blinking cursor */
.word-display {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.word-text {
    white-space: pre-wrap;
}

.word-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--primary);
    margin-left: 1px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Feedback */
.dictation-feedback {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    min-height: 28px;
    transition: color 0.3s;
}

.feedback-correct { color: var(--success); }
.feedback-wrong { color: var(--danger); }

/* Choose list */
.dictation-choose {
    gap: 12px;
}
