/* Deep Analysis Styles - Sprint 8.5 - Super Flashcards */

.deep-analysis-section {
    margin-top: 1.5rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.btn-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-premium:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-premium.btn-locked {
    background: #ccc;
    cursor: not-allowed;
}

.premium-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.coaching-results {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.score-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.clarity-score {
    text-align: center;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

.score-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.rhythm-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.rhythm-smooth, .rhythm-natural { 
    background: #d4edda; 
    color: #155724; 
}

.rhythm-choppy, .rhythm-staccato { 
    background: #fff3cd; 
    color: #856404; 
}

.rhythm-hesitant { 
    background: #f8d7da; 
    color: #721c24; 
}

.issues-section h4,
.drill-section h4 {
    margin-bottom: 0.75rem;
    color: #333;
}

.issue-card {
    background: white;
    border-left: 4px solid #667eea;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0 8px 8px 0;
}

.issue-example {
    font-style: italic;
    color: #555;
    margin-bottom: 0.5rem;
}

.issue-detail {
    margin: 0.5rem 0;
    color: #333;
}

.issue-tip {
    background: #e7f1ff;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.badge.validated { 
    background: #d4edda; 
    color: #155724; 
}

.badge.uncertain { 
    background: #fff3cd; 
    color: #856404; 
}

.drill-section {
    background: #e7f1ff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.drill-text {
    font-weight: 500;
    color: #333;
}

.encouragement {
    text-align: center;
    font-size: 1.1rem;
    color: #28a745;
    margin-top: 1rem;
}

.validation-details {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.validation-details summary {
    cursor: pointer;
    font-weight: 500;
}

.validation-details .confirmed {
    color: #155724;
    margin: 0.5rem 0;
}

.validation-details .suppressed {
    color: #856404;
    margin: 0.5rem 0;
}

.feedback-section {
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.btn-feedback {
    background: white;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-feedback:hover {
    background: #f0f0f0;
}

.thanks {
    color: #28a745;
    font-weight: 500;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 600px) {
    .score-section {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-premium {
        width: 100%;
    }
    
    .btn-feedback {
        display: block;
        margin: 0.5rem auto;
    }
}
