/**
 * 4Craft Frontend Styles
 * Copyright (c) 2026 RegularOurs. All rights reserved.
 */
.fc-dashboard{max-width:900px;margin:0 auto;font-family:system-ui,-apple-system,sans-serif}
.fc-dash-header{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:2px solid #e2e8f0;margin-bottom:20px;flex-wrap:wrap;gap:16px}
.fc-dash-greeting h2{margin:0;font-size:1.4em}
.fc-level{color:#7c3aed;font-weight:600;margin:4px 0 0}
.fc-dash-stats{display:flex;gap:20px}
.fc-stat{text-align:center}
.fc-stat-num{display:block;font-size:1.8em;font-weight:800;color:#2563eb}
.fc-stat-label{font-size:11px;color:#94a3b8;text-transform:uppercase;letter-spacing:1px}
.fc-section{margin:24px 0}
.fc-section h3{margin:0 0 12px;font-size:1.1em;color:#1e293b}
.fc-vouch-alert{background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;padding:16px;margin-bottom:20px}
.fc-vouch-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #fde68a}
.fc-vouch-item:last-child{border-bottom:none}
.fc-paths-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.fc-path-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;text-align:center;transition:border-color .2s}
.fc-path-card:hover{border-color:#2563eb}
.fc-path-card h4{margin:8px 0 4px}
.fc-path-icon .dashicons{font-size:36px;width:36px;height:36px;color:#2563eb}
.fc-path-meta{font-size:12px;color:#94a3b8;margin:4px 0 12px}
.fc-path-complete{color:#16a34a;font-weight:700}
.fc-progress-bar{background:#e2e8f0;border-radius:4px;height:8px;width:100%;margin:8px 0}
.fc-progress-fill{height:100%;background:linear-gradient(90deg,#2563eb,#7c3aed);border-radius:4px;transition:width .4s}
.fc-btn{display:inline-block;padding:8px 20px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;text-decoration:none;color:#374151;background:#fff;transition:all .15s}
.fc-btn:hover{border-color:#2563eb;color:#2563eb}
.fc-btn-primary{background:#2563eb;color:#fff;border-color:#2563eb}
.fc-btn-primary:hover{background:#1d4ed8;color:#fff}
.fc-review-list{display:flex;flex-direction:column;gap:8px}
.fc-review-item{display:flex;justify-content:space-between;padding:10px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;text-decoration:none;color:#1e293b}
.fc-review-item:hover{border-color:#2563eb}
.fc-review-days{color:#f59e0b;font-size:12px}
.fc-story-continue{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:20px}
.fc-practice-form{margin-top:8px}
.fc-practice-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fc-practice-row select,.fc-practice-row input{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem}
.fc-practice-row input[type="text"]{flex:1;min-width:150px}
.fc-practice-message{margin-top:8px;font-size:14px}

/* Lesson view */
.fc-lesson{max-width:700px;margin:0 auto;padding:20px 0}
.fc-lesson-header{margin-bottom:24px}
.fc-fourmat-badge{display:inline-block;padding:3px 12px;background:#7c3aed;color:#fff;border-radius:20px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px}
.fc-lesson-meta{color:#94a3b8;font-size:13px}
.fc-block-text{margin:16px 0;line-height:1.7;color:#374151}
.fc-block-heading{margin:24px 0 8px;color:#1e293b}
.fc-block-citation{margin:12px 0;padding:10px 16px;background:#eff6ff;border-left:4px solid #2563eb;border-radius:0 6px 6px 0;font-size:13px;color:#1e40af;display:flex;align-items:center;gap:8px}
.fc-block-quiz{margin:20px 0;padding:20px 24px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}
.fc-quiz-question{margin:0 0 16px;font-size:15px;line-height:1.6}
.fc-quiz-citation{font-size:12px;color:#2563eb;margin:-8px 0 14px}
.fc-quiz-options{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.fc-quiz-option{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:border-color .15s,background .15s;font-size:15px;line-height:1.5}
.fc-quiz-option:hover{border-color:#2563eb;background:#f0f9ff}
.fc-quiz-option input{margin:0;flex-shrink:0}
.fc-quiz-feedback{margin-top:10px;font-weight:600;font-size:14px;line-height:1.5}
.fc-check-answer{margin-top:4px}
.fc-block-reflection{margin:20px 0;padding:20px 24px;background:#fdf4ff;border:1px solid #e9d5ff;border-radius:8px}
.fc-block-reflection h4{margin:0 0 8px;font-size:14px;text-transform:uppercase;letter-spacing:1px;color:#7c3aed}
.fc-block-reflection p{margin:0 0 12px;font-size:15px;line-height:1.6;color:#374151}
.fc-reflection-input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:6px;resize:vertical;font-family:inherit;margin-top:4px;font-size:15px;line-height:1.6}
.fc-lesson-citation{margin:20px 0;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;color:#64748b}
.fc-lesson-footer{margin-top:30px;text-align:center}
.fc-complete-message{margin-top:12px;font-size:1.2em;font-weight:700;color:#16a34a}
.fc-divider{border:none;border-top:1px solid #e2e8f0;margin:24px 0}

/* Story */
.fc-story{max-width:700px;margin:0 auto;padding:20px}
.fc-story-chapter{font-size:12px;color:#7c3aed;text-transform:uppercase;letter-spacing:2px;font-weight:700;margin-bottom:8px}
.fc-story-scene{line-height:1.8;color:#1e293b;margin-bottom:24px;font-size:1.05em}
.fc-story-choices{display:flex;flex-direction:column;gap:10px}
.fc-story-choice{text-align:left}

/* Tables */
.fc-table{width:100%;border-collapse:collapse;font-size:14px}
.fc-table th{text-align:left;padding:8px 12px;background:#f8fafc;border-bottom:2px solid #e2e8f0;font-weight:600}
.fc-table td{padding:8px 12px;border-bottom:1px solid #f1f5f9}

/* Login prompt */
.fc-login-prompt{text-align:center;padding:40px;background:#f8fafc;border-radius:12px}

/* Accordion */
.fc-accordion{display:flex;flex-direction:column;gap:2px}
.fc-acc-item{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}
.fc-acc-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;padding:16px 20px;background:#fff;border:none;cursor:pointer;font-size:1rem;font-weight:600;color:#1e293b;text-align:left;transition:background .15s}
.fc-acc-toggle:hover{background:#f8fafc}
.fc-acc-icon{font-size:10px;color:#94a3b8;transition:transform .2s}
.fc-acc-body{display:none;padding:0 20px 20px;color:#374151;line-height:1.7;font-size:15px}
.fc-acc-body p{margin:0 0 12px}
.fc-acc-body p:last-child{margin-bottom:0}

@media(max-width:768px){.fc-dash-header{flex-direction:column;text-align:center}.fc-dash-stats{justify-content:center}.fc-paths-grid{grid-template-columns:1fr}.fc-practice-row{flex-direction:column}.fc-practice-row input,.fc-practice-row select{width:100%}}
