.owlypia-speaking-evaluator-container,
.owlypia-speaking-results-display {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.owlypia-instructions-tips-row {
    display: flex;
    gap: 16px;
    margin: 14px 0;
    flex-wrap: wrap;
}

.owlypia-instruction-card,
.owlypia-tips-card {
    flex: 1;
    min-width: 240px;
    padding: 16px;
    background: #f5f9fd;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.owlypia-instruction-card strong,
.owlypia-tips-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1em;
    color: #1d4d7c;
}

.owlypia-instruction-card ol,
.owlypia-tips-card ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
}

.owlypia-instruction-card ol li,
.owlypia-tips-card ul li {
    margin-bottom: 6px;
}

.owlypia-speaking-topic-display {
    background: #eef6ff;
    border-left: 4px solid #2f7dd1;
    padding: 12px;
    margin: 14px 0;
    border-radius: 6px;
}

.owlypia-speaking-topic-choice {
    margin: 14px 0;
}

.owlypia-speaking-topic-choice strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1em;
}

.owlypia-speaking-topic-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.owlypia-topic-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 10px 12px;
    background: #f5f9fd;
    border: 1px solid #e0e8f0;
    border-radius: 6px;
}

.owlypia-topic-radio-label:hover {
    background: #eef6ff;
}

.owlypia-speaking-topic-radio {
    margin-top: 3px;
    flex-shrink: 0;
}

.owlypia-topic-radio-label span {
    line-height: 1.4;
}

.owlypia-record-timer {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 12px 0;
}

.owlypia-speaking-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
    justify-content: center;
}

.owlypia-btn-primary,
.owlypia-btn-secondary {
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    color: #fff;
    cursor: pointer;
}

.owlypia-btn-primary {
    background: #2f7dd1;
}

.owlypia-btn-secondary {
    background: #70757a;
}

.owlypia-btn-primary:disabled,
.owlypia-btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.owlypia-status {
    margin: 10px 0;
    color: #1d4d7c;
}

.owlypia-status.is-error {
    color: #b42318;
}

.owlypia-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding: 20px;
    font-weight: 600;
}

.owlypia-loading-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #e0e8f0;
    border-top-color: #2f7dd1;
    border-radius: 50%;
    animation: owlypia-spin 0.8s linear infinite;
}

@keyframes owlypia-spin {
    to { transform: rotate(360deg); }
}

.owlypia-loading-text {
    flex-shrink: 0;
}

.owlypia-results {
    margin-top: 16px;
    background: #fafafa;
    border-radius: 8px;
    padding: 14px;
}

.owlypia-evaluation-results-heading {
    margin-top: 1.75em;
}

.owlypia-score-display {
    margin: 10px 0;
    font-size: 20px;
}

.owlypia-score-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1.2;
}

.owlypia-score-badge.owlypia-score-good {
    background: #d4edda;
    color: #155724;
}

.owlypia-score-badge.owlypia-score-medium {
    background: #fff3cd;
    color: #856404;
}

.owlypia-score-badge.owlypia-score-low {
    background: #f8d7da;
    color: #721c24;
}

.owlypia-feedback,
.owlypia-improved-text,
.owlypia-submitted-transcript {
    margin-top: 14px;
    line-height: 1.6;
}

.owlypia-speaking-error {
    background: #fef3f2;
    color: #b42318;
    padding: 12px;
    border-radius: 6px;
}
