/* =========================================
   ACADARIA PLUGIN STYLES
   ========================================= */

/* Academy cards */
.ac-card { transition: transform .25s, box-shadow .25s; }
.ac-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12) !important; }

/* Progress bars */
.ac-progress { height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.ac-progress-bar { height: 100%; background: var(--im-gold, #C8960C); border-radius: 3px; transition: width .4s; }

/* Certificate preview border */
.ac-cert-border { border: 2px solid #C8960C; }

/* Status badges */
.ac-badge-valid     { background: #d1fae5; color: #065f46; }
.ac-badge-revoked   { background: #fee2e2; color: #991b1b; }
.ac-badge-suspended { background: #fef3c7; color: #92400e; }
.ac-badge-expired   { background: #f3f4f6; color: #374151; }

/* Quiz/Exam question cards */
.ac-question { background: #fff; border: 1.5px solid #e5e7eb; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.ac-question.answered { border-color: #C8960C; background: rgba(200,150,12,.02); }
.ac-answer-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid #e5e7eb; border-radius: 6px; margin-bottom: 8px; cursor: pointer; transition: all .2s; }
.ac-answer-option:hover { border-color: #C8960C; background: rgba(200,150,12,.04); }
.ac-answer-option.selected { border-color: #C8960C; background: rgba(200,150,12,.08); }
.ac-answer-option.correct { border-color: #10B981; background: rgba(16,185,129,.08); }
.ac-answer-option.wrong   { border-color: #EF4444; background: rgba(239,68,68,.06); }

/* Lesson sidebar */
.ac-lesson-nav { max-height: 65vh; overflow-y: auto; }
.ac-lesson-item { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: background .2s; display: flex; align-items: center; gap: 10px; }
.ac-lesson-item:hover { background: rgba(200,150,12,.04); }
.ac-lesson-item.active { background: rgba(200,150,12,.1); border-left: 3px solid #C8960C; }
.ac-lesson-item.completed .ac-lesson-check { color: #10B981; }
.ac-lesson-check { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Timer */
.ac-timer { font-family: 'Courier New', monospace; font-size: 1.1rem; font-weight: 700; color: #0A1628; background: #FEF3C7; padding: 6px 14px; border-radius: 6px; border: 1px solid #FCD34D; }
.ac-timer.warning { color: #EF4444; background: #FEE2E2; border-color: #FCA5A5; animation: ac-pulse .8s infinite; }
@keyframes ac-pulse { 0%,100%{opacity:1} 50%{opacity:.6} }
