/**
 * Standards Coverage Report Styles
 * TeacherAI Center
 * 
 * @package TeacherAI
 * @since 2.7.0
 * @author Claude 280 - TEAM TEACHAI
 * 
 * EXTRACTED from inline <style> block in original page-standards-report.php
 * Original authors: Claude 257, 259, 260
 * 
 * COLOR THEME: PURPLE 💜 (matches Fusion Library)
 * 
 * Location: /wp-content/plugins/teacherai-simple/assets/css/standards-report.css
 */

/* =============================================================================
   HERO BANNER - Matches platform hero pattern
   Claude 280 - 3-panel conversion
   ============================================================================= */

.report-hero {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #F5F3FF;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #E9E5F5;
}

.report-hero-icon {
    font-size: 1.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.report-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5B21B6;
    margin: 0 0 0.25rem 0;
}

.report-hero-subtitle {
    font-size: 0.9375rem;
    color: #7C3AED;
    font-weight: 500;
    margin: 0;
}

.report-hero-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #7C3AED;
    text-decoration: underline;
    font-weight: 500;
}

.report-hero-link:hover {
    color: #5B21B6;
}

/* =============================================================================
   GRADE SELECTOR — Aligned with Fusion Library tabs
   Claude 293 — Feb 13, 2026
   Replicated from fusion-library.css (Claude 277's shared grade tab design)
   Each page's CSS is independent per CBP
   ============================================================================= */

.grade-selector {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    margin-bottom: 1.5rem;
}

.grade-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #DDD6FE;
    background: #FEFBFF;
    color: #7C3AED;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 0;
    flex: 1 1 0;
    max-width: 120px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.grade-btn:hover {
    border-color: #A78BFA;
    background: #F3E8FF;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
    text-decoration: none;
}

.grade-btn.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    border-color: #7C3AED;
}

.grade-btn .grade-label {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
}

.grade-btn .grade-count {
    font-size: 0.7rem;
    color: #A78BFA;
    font-weight: 400;
    line-height: 1.3;
}

.grade-btn .grade-standards {
    font-size: 0.65rem;
    color: #C4B5FD;
    font-weight: 400;
    line-height: 1.3;
}

.grade-btn.active .grade-count,
.grade-btn.active .grade-standards {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .grade-selector {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .grade-btn {
        min-width: auto;
    }
}

/* =============================================================================
   STATS ROW
   ============================================================================= */

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #E5E7EB;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    color: #6B7280;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 5px;
}

.stat-good { color: #059669; }
.stat-warning { color: #D97706; }
.stat-bad { color: #DC2626; }
.stat-purple { color: #8B5CF6; }

/* =============================================================================
   COVERAGE BAR
   ============================================================================= */

.coverage-bar-container {
    background: #E5E7EB;
    border-radius: 10px;
    height: 20px;
    margin: 20px 0;
    overflow: hidden;
}

.coverage-bar {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.coverage-bar.good { background: linear-gradient(90deg, #059669, #10B981); }
.coverage-bar.warning { background: linear-gradient(90deg, #D97706, #F59E0B); }
.coverage-bar.bad { background: linear-gradient(90deg, #DC2626, #EF4444); }

/* =============================================================================
   SUCCESS BANNER
   ============================================================================= */

.success-banner {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.25rem;
    border: 2px solid #059669;
    margin-bottom: 30px;
}

.success-banner strong {
    font-size: 1.5rem;
}

/* =============================================================================
   SECTION TITLES
   ============================================================================= */

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin: 30px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-description {
    color: #6B7280;
    margin-bottom: 15px;
}

/* =============================================================================
   SUBJECT CARDS
   ============================================================================= */

.subject-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #8B5CF6;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.subject-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1F2937;
}

.subject-count {
    background: #EDE9FE;
    color: #5B21B6;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
}

.subject-count.missing {
    background: #FEE2E2;
    color: #991B1B;
}

/* =============================================================================
   STANDARD PILLS
   ============================================================================= */

.standard-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    margin: 4px;
    font-family: ui-monospace, monospace;
    font-size: 0.8125rem;
    font-weight: 500;
}

.standard-pill.covered { background: #D1FAE5; color: #065F46; }
.standard-pill.missing { background: #FEE2E2; color: #991B1B; }
.standard-pill.extra { background: #FEF3C7; color: #92400E; }

/* =============================================================================
   GRADE ANALYSIS HEADING
   ============================================================================= */

.grade-analysis-heading {
    text-align: center;
    color: #5B21B6;
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 700;
}

/* =============================================================================
   TIMESTAMP
   ============================================================================= */

.timestamp {
    text-align: center;
    color: #9CA3AF;
    font-size: 0.8125rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

/* =============================================================================
   SIDEBAR CARD - Curriculum reference + bridge link (Claude 280)
   Self-contained: these classes also exist in fusion-library.css
   Each page's CSS should be independent per CBP
   ============================================================================= */

.curriculum-about-card {
    background: white;
    border: 1px solid #E9E5F5;
    border-left: 4px solid #8B5CF6;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
}

.curriculum-about-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
}

.curriculum-about-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #5B21B6;
    margin: 0 0 0.125rem 0;
    line-height: 1.3;
}

.curriculum-about-tagline {
    font-size: 0.75rem;
    color: #7C3AED;
    font-style: italic;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.curriculum-bridge-link {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #7C3AED;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    background: #F5F3FF;
    border-radius: 0.375rem;
    text-align: center;
    transition: all 0.2s ease;
}

.curriculum-bridge-link:hover {
    background: #EDE9FE;
    color: #5B21B6;
    text-decoration: none;
}
