Spaces:
Paused

yaz / src /static /css /educa.css
anaselamr's picture
fix: brand Yaz, Surgio UI/UX auto-load feed + search + blocked_count
d80907b
Raw History Blame Contribute Delete
30.5 kB
/* ───────────────────────────────────────────────────────────── * educa.css — YAZ Educa Module * Migrated from inline <style> blocks * ─────────────────────────────────────────────────────────── */ /* ── analytics ────────────────────────────────────────────────── */ /* Analytics-specific styles */ .metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .metric-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: flex; align-items: center; gap: 1rem; transition: transform 0.2s, box-shadow 0.2s; } .metric-card:hover { border-color: var(--border-strong, #d1d5db); } .metric-icon { font-size: 2.5rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(59, 130, 246, 0.1); } .metric-primary .metric-icon { background: rgba(59, 130, 246, 0.1); } .metric-success .metric-icon { background: rgba(34, 197, 94, 0.1); } .metric-info .metric-icon { background: rgba(168, 85, 247, 0.1); } .metric-warning .metric-icon { background: rgba(251, 146, 60, 0.1); } .metric-content { flex: 1; } .metric-content h3 { font-size: 2rem; font-weight: 700; margin: 0 0 0.25rem 0; color: #1e293b; } .metric-content p { font-size: 0.875rem; color: #64748b; margin: 0 0 0.5rem 0; } .metric-trend { font-size: 0.8rem; font-weight: 600; padding: 0.25rem 0.5rem; border-radius: 6px; display: inline-block; } .trend-up { background: rgba(34, 197, 94, 0.1); color: #16a34a; } .trend-down { background: rgba(239, 68, 68, 0.1); color: #dc2626; } .trend-stable { background: rgba(59, 130, 246, 0.1); color: #2563eb; } .engagement-list { display: flex; flex-direction: column; gap: 1rem; } .engagement-item { background: #f8fafc; border-radius: 8px; padding: 1rem; display: flex; justify-content: space-between; align-items: center; } .engagement-item-info { flex: 1; } .engagement-item-info h4 { margin: 0 0 0.5rem 0; color: #1e293b; } .engagement-item-info .stats { display: flex; gap: 1.5rem; font-size: 0.875rem; color: #64748b; } .engagement-level { padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.875rem; font-weight: 600; } .level-highly-engaged { background: rgba(34, 197, 94, 0.1); color: #16a34a; } .level-engaged { background: rgba(59, 130, 246, 0.1); color: #2563eb; } .level-moderately-engaged { background: rgba(251, 146, 60, 0.1); color: #ea580c; } .level-disengaged { background: rgba(239, 68, 68, 0.1); color: #dc2626; } .level-at-risk { background: rgba(220, 38, 38, 0.15); color: #991b1b; } .predictions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .prediction-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .prediction-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; } .prediction-header h4 { margin: 0; color: #1e293b; } .risk-badge { padding: 0.25rem 0.75rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; } .risk-high { background: rgba(239, 68, 68, 0.1); color: #dc2626; } .risk-medium { background: rgba(251, 146, 60, 0.1); color: #ea580c; } .risk-low { background: rgba(34, 197, 94, 0.1); color: #16a34a; } .prediction-score { font-size: 2rem; font-weight: 700; color: #1e293b; margin: 1rem 0; } .prediction-details { font-size: 0.875rem; color: #64748b; margin-bottom: 1rem; } .interventions-list { list-style: none; padding: 0; margin: 0; } .interventions-list li { padding: 0.5rem 0; border-bottom: 1px solid #e2e8f0; font-size: 0.875rem; } .interventions-list li:last-child { border-bottom: none; } .recommendations-list { display: flex; flex-direction: column; gap: 1rem; } .recommendation-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: flex; gap: 1rem; } .rec-icon { font-size: 2rem; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(168, 85, 247, 0.1); border-radius: 10px; } .rec-content { flex: 1; } .rec-content h4 { margin: 0 0 0.5rem 0; color: #1e293b; } .rec-content p { margin: 0 0 0.75rem 0; color: #64748b; font-size: 0.875rem; } .rec-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: #94a3b8; } .rec-actions { display: flex; gap: 0.5rem; align-items: center; } .priority-badge { padding: 0.25rem 0.75rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; } .priority-high { background: rgba(239, 68, 68, 0.1); color: #dc2626; } .priority-medium { background: rgba(251, 146, 60, 0.1); color: #ea580c; } .priority-low { background: rgba(59, 130, 246, 0.1); color: #2563eb; } .at-risk-list { display: flex; flex-direction: column; gap: 1rem; } .at-risk-card { background: rgba(239, 68, 68, 0.05); border-left: 4px solid #dc2626; border-radius: 8px; padding: 1.5rem; } .at-risk-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; } .at-risk-header h4 { margin: 0; color: #1e293b; } .risk-factors { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; } .risk-factor-badge { padding: 0.25rem 0.75rem; border-radius: 12px; font-size: 0.75rem; background: rgba(239, 68, 68, 0.1); color: #dc2626; } .recommended-actions { background: white; border-radius: 8px; padding: 1rem; margin-top: 1rem; } .recommended-actions h5 { margin: 0 0 0.75rem 0; font-size: 0.875rem; color: #64748b; } .recommended-actions ul { list-style: none; padding: 0; margin: 0; } .recommended-actions li { padding: 0.5rem 0; font-size: 0.875rem; color: #475569; } .content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; } .content-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .content-card h4 { margin: 0 0 1rem 0; color: #1e293b; } .effectiveness-score { font-size: 2.5rem; font-weight: 700; text-align: center; margin: 1rem 0; } .score-excellent { color: #16a34a; } .score-good { color: #2563eb; } .score-fair { color: #ea580c; } .score-poor { color: #dc2626; } .content-metrics { display: flex; flex-direction: column; gap: 0.75rem; } .content-metric { display: flex; justify-content: space-between; font-size: 0.875rem; } .content-metric-label { color: #64748b; } .content-metric-value { font-weight: 600; color: #1e293b; } .content-recommendations { background: #f8fafc; border-radius: 8px; padding: 1rem; margin-top: 1rem; } .content-recommendations p { margin: 0; font-size: 0.875rem; color: #475569; } /* ── Dark mode overrides ── */ [data-theme="dark"] .metric-card, [data-theme="dark"] .prediction-card, [data-theme="dark"] .recommendation-card, [data-theme="dark"] .content-card, [data-theme="dark"] .recommended-actions { background: var(--surface); } [data-theme="dark"] .metric-content h3, [data-theme="dark"] .prediction-header h4, [data-theme="dark"] .rec-content h4, [data-theme="dark"] .content-card h4, [data-theme="dark"] .at-risk-header h4, [data-theme="dark"] .engagement-item-info h4, [data-theme="dark"] .prediction-score, [data-theme="dark"] .content-metric-value { color: var(--text); } [data-theme="dark"] .metric-content p, [data-theme="dark"] .prediction-details, [data-theme="dark"] .rec-content p, [data-theme="dark"] .rec-meta, [data-theme="dark"] .engagement-item-info .stats, [data-theme="dark"] .content-metric-label, [data-theme="dark"] .recommended-actions h5, [data-theme="dark"] .recommended-actions li, [data-theme="dark"] .content-recommendations p { color: var(--text-muted); } [data-theme="dark"] .engagement-item, [data-theme="dark"] .content-recommendations { background: var(--bg); } [data-theme="dark"] .interventions-list li { border-color: var(--border); } /* ── simulation ────────────────────────────────────────────────── */ .scenarios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; } .scenario-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.12s ease; cursor: pointer; position: relative; overflow: hidden; } .scenario-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, #64748b, #a78bfa); } .scenario-card:hover { border-color: var(--border-strong, var(--accent)); } .scenario-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; } .scenario-type { display: inline-block; padding: 0.25rem 0.75rem; background: #64748b; color: white; border-radius: 4px; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; } .complexity-badge { padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; } .complexity-badge.basic { background: #d1fae5; color: #10b981; } .complexity-badge.intermediate { background: #dbeafe; color: #3b82f6; } .complexity-badge.advanced { background: #fef3c7; color: #f59e0b; } .complexity-badge.expert { background: #fee2e2; color: #ef4444; } .scenario-meta { display: flex; gap: 1rem; margin-top: 1rem; color: var(--text-muted); font-size: 0.85rem; } .critical-actions-list { margin: 1rem 0; padding-left: 1.5rem; } .critical-actions-list li { margin: 0.25rem 0; font-size: 0.9rem; } .sessions-list { display: flex; flex-direction: column; gap: 1.5rem; } .session-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; } .session-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; } .session-status { padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; } .session-status.completed { background: #d1fae5; color: #10b981; } .session-status.in-progress { background: #dbeafe; color: #3b82f6; } .session-status.scheduled { background: #fef3c7; color: #f59e0b; } .performance-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1rem 0; padding: 1rem; background: var(--bg); border-radius: var(--radius); } .metric { text-align: center; } .metric-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); } .metric-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; } .skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .skill-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; } .skill-progress { margin: 1rem 0; } .progress-bar { width: 100%; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin-top: 0.5rem; } .progress-fill { height: 100%; transition: width 0.3s; } .progress-fill.mastered { background: linear-gradient(90deg, #10b981, #34d399); } .progress-fill.in-progress { background: linear-gradient(90deg, #3b82f6, #60a5fa); } .progress-fill.beginner { background: linear-gradient(90deg, #f59e0b, #fbbf24); } .attempt-history { margin-top: 1rem; font-size: 0.85rem; } .attempt-item { padding: 0.5rem; border-left: 3px solid var(--border); margin: 0.5rem 0; padding-left: 1rem; } .attempt-item.success { border-left-color: #10b981; } .attempt-item.needs-improvement { border-left-color: #f59e0b; } .debriefing-list { display: flex; flex-direction: column; gap: 1.5rem; } .debriefing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; } .debriefing-model { display: inline-block; padding: 0.5rem 1rem; background: linear-gradient(135deg, #64748b, #a78bfa); color: white; border-radius: 4px; font-weight: 600; margin: 1rem 0; } .insights-section { margin: 1rem 0; } .insight-item { padding: 0.75rem; background: var(--bg); border-left: 3px solid #3b82f6; margin: 0.5rem 0; border-radius: 4px; } .action-items { list-style: none; padding: 0; } .action-items li { padding: 0.5rem; margin: 0.5rem 0; background: var(--bg); border-radius: 4px; } .action-items li::before { content: ' '; color: #10b981; font-weight: 700; margin-right: 0.5rem; } /* ── cme ────────────────────────────────────────────────── */ .activities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; } .activity-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.12s ease; } .activity-card:hover { border-color: var(--border-strong, var(--accent)); } .activity-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; } .activity-category { display: inline-block; padding: 0.25rem 0.75rem; background: #3b82f6; color: white; border-radius: 4px; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; } .credits-badge { font-size: 1.5rem; font-weight: 700; color: #10b981; } .activity-meta { display: flex; gap: 1rem; margin-top: 1rem; color: var(--text-muted); font-size: 0.85rem; } .accreditation-badge { display: inline-block; padding: 0.25rem 0.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; font-size: 0.75rem; margin-top: 0.5rem; } .licenses-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 1.5rem; } .license-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: relative; } .license-status { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; } .license-status.active { background: #d1fae5; color: #10b981; } .license-status.expiring { background: #fef3c7; color: #f59e0b; } .license-status.expired { background: #fee2e2; color: #ef4444; } .license-icon { width: 60px; height: 60px; background: linear-gradient(135deg, #3b82f6, #60a5fa); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; } .cme-progress-section { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .progress-bar { width: 100%; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin-top: 0.5rem; } .progress-fill { height: 100%; transition: width 0.3s; } .progress-fill.complete { background: linear-gradient(90deg, #10b981, #34d399); } .progress-fill.on-track { background: linear-gradient(90deg, #3b82f6, #60a5fa); } .progress-fill.behind { background: linear-gradient(90deg, #f59e0b, #fbbf24); } .moc-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; } .moc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; } .moc-part { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; } .moc-part-number { width: 50px; height: 50px; background: linear-gradient(135deg, #64748b, #a78bfa); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; } .development-list { display: flex; flex-direction: column; gap: 1.5rem; } .development-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; } .goal-list { list-style: none; padding: 0; margin: 1rem 0; } .goal-item { padding: 0.75rem; margin: 0.5rem 0; background: var(--bg); border-left: 3px solid #3b82f6; border-radius: 4px; } .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } /* ── competency ────────────────────────────────────────────────── */ .assessments-list { display: flex; flex-direction: column; gap: 1rem; } .assessment-card { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid #3b82f6; border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.12s ease; } .assessment-card:hover { border-color: var(--border-strong, var(--accent)); } .assessment-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; } .assessment-method { display: inline-block; padding: 0.25rem 0.75rem; background: #3b82f6; color: white; border-radius: 4px; font-size: 0.75rem; font-weight: 600; } .assessment-score { font-size: 2rem; font-weight: 700; color: #10b981; } .score-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .score-item { display: flex; flex-direction: column; gap: 0.5rem; } .score-item label { font-size: 0.85rem; color: var(--text-muted); } .score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } .epa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; } .epa-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: relative; } .epa-number { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; background: #64748b; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; } .entrustment-level { display: inline-block; padding: 0.5rem 1rem; background: linear-gradient(135deg, #10b981, #34d399); color: white; border-radius: 4px; font-weight: 600; margin: 1rem 0; } .certifications-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .certification-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; } .cert-badge { width: 60px; height: 60px; background: linear-gradient(135deg, #f59e0b, #fbbf24); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem; } .cert-status { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; } .cert-status.active { background: #d1fae5; color: #10b981; } .cert-status.expiring { background: #fef3c7; color: #f59e0b; } .cert-status.expired { background: #fee2e2; color: #ef4444; } .remediation-list { display: flex; flex-direction: column; gap: 1.5rem; } .remediation-card { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid #ef4444; border-radius: var(--radius); padding: 1.5rem; } .milestone-list { list-style: none; padding: 0; margin: 1rem 0; } .milestone-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); } .milestone-list li:last-child { border-bottom: none; } .milestone-status { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 0.5rem; } .milestone-status.pending { background: #9ca3af; } .milestone-status.in-progress { background: #3b82f6; } .milestone-status.completed { background: #10b981; } /* ── curriculum ────────────────────────────────────────────────── */ .tabs { display: flex; gap: 0.5rem; border-bottom: 2px solid var(--border); margin-bottom: 2rem; } .tab { padding: 1rem 1.5rem; background: transparent; border: none; border-bottom: 3px solid transparent; cursor: pointer; font-size: 1rem; font-weight: 500; color: var(--text-muted); transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease; } .tab.active { color: var(--accent); border-bottom-color: var(--accent); } .tab:hover { color: var(--text); background: var(--surface); } .filters { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; } .search-input, .filter-select { padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; background: var(--surface); color: var(--text); } .search-input { flex: 1; min-width: 250px; } .filter-select { min-width: 200px; } .courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; } .course-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.12s ease; cursor: pointer; } .course-card:hover { border-color: var(--accent); } .course-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; } .course-code { display: inline-block; padding: 0.25rem 0.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; font-size: 0.75rem; font-weight: 600; } .course-title { font-size: 1.1rem; font-weight: 600; margin: 0.5rem 0; } .course-meta { display: flex; gap: 1rem; color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; } .paths-list { display: flex; flex-direction: column; gap: 1.5rem; } .path-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; } .path-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .progress-bar { width: 100%; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin: 1rem 0; } .progress-fill { height: 100%; background: #10b981; transition: width 0.15s ease; } .milestones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; } .milestone-card { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid #64748b; border-radius: var(--radius); padding: 1.5rem; } .milestone-level { display: inline-block; padding: 0.25rem 0.75rem; background: var(--bg); border-radius: 4px; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; } .checkbox-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; } .checkbox-group label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; } .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } .modal-lg { max-width: 800px; } /* ── generate_card ────────────────────────────────────────────────── */ .htmx-request #loading { display:block !important; }
/* ─────────────────────────────────────────────────────────────
* educa.css — YAZ Educa Module
* Migrated from inline <style> blocks
* ─────────────────────────────────────────────────────────── */
/* ── analytics ────────────────────────────────────────────────── */
/* Analytics-specific styles */
.metrics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}
.metric-card {
background: white;
border-radius: 12px;
padding: 1.5rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
gap: 1rem;
transition: transform 0.2s, box-shadow 0.2s;
}
.metric-card:hover {
border-color: var(--border-strong, #d1d5db);
}
.metric-icon {
font-size: 2.5rem;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
background: rgba(59, 130, 246, 0.1);
}
.metric-primary .metric-icon {
background: rgba(59, 130, 246, 0.1);
}
.metric-success .metric-icon {
background: rgba(34, 197, 94, 0.1);
}
.metric-info .metric-icon {
background: rgba(168, 85, 247, 0.1);
}
.metric-warning .metric-icon {
background: rgba(251, 146, 60, 0.1);
}
.metric-content {
flex: 1;
}
.metric-content h3 {
font-size: 2rem;
font-weight: 700;
margin: 0 0 0.25rem 0;
color: #1e293b;
}
.metric-content p {
font-size: 0.875rem;
color: #64748b;
margin: 0 0 0.5rem 0;
}
.metric-trend {
font-size: 0.8rem;
font-weight: 600;
padding: 0.25rem 0.5rem;
border-radius: 6px;
display: inline-block;
}
.trend-up {
background: rgba(34, 197, 94, 0.1);
color: #16a34a;
}
.trend-down {
background: rgba(239, 68, 68, 0.1);
color: #dc2626;
}
.trend-stable {
background: rgba(59, 130, 246, 0.1);
color: #2563eb;
}
.engagement-list {
display: flex;
flex-direction: column;
gap: 1rem;