/* Teaching progress bar and tick boxes (teacher site only) */
.progress-bar-wrap { background:#fff; border-bottom:1px solid #e2e5ee; }
.progress-inner { max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; font-size:13px; color:#1a1a2e; }
.progress-title { font-weight:700; }
.progress-note { color:#6a6a85; }
.progress-class { display:inline-flex; align-items:center; gap:6px; font-weight:600; }
.progress-class select { padding:5px 8px; border:1px solid #cfd3e0; border-radius:8px; font:inherit; background:#fff; }
.progress-count { display:inline-flex; align-items:center; gap:8px; }
.progress-meter { width:120px; height:8px; border-radius:4px; background:#e8ebf2; overflow:hidden; display:inline-block; }
.progress-meter span { display:block; height:100%; background:#2e7d32; transition:width .3s; }
.progress-subject { font-size:12px; border-radius:10px; padding:2px 9px; border:1px solid; white-space:nowrap; }
.progress-subject.subj-biology { color:#1b5e35; background:#d8f3dc; border-color:#b7e4c7; }
.progress-subject.subj-chemistry { color:#7c2f00; background:#fdebd9; border-color:#f8d2b0; }
.progress-subject.subj-physics { color:#0d3d6e; background:#ddeeff; border-color:#bcdcfb; }
.progress-spacer { flex:1; }
.progress-btn { border:1px solid #cfd3e0; background:#fff; color:#1a1a2e; border-radius:8px; padding:5px 11px; font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; }
.progress-btn:hover { background:#f4f6fb; }
.progress-btn.danger { color:#c62828; border-color:#f0c4c4; }
.progress-btn.link { border:0; background:none; text-decoration:underline; padding:5px 2px; }
.progress-pill { display:inline-flex; align-items:center; gap:5px; border-radius:999px; padding:5px 14px; background:#1a1a2e; color:#fff; font-size:12.5px; font-weight:700; text-decoration:none; white-space:nowrap; }
.progress-pill:hover { background:#2d2d4e; color:#fff; }
.progress-user { color:#4a4a68; font-weight:600; max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.taught-tick { display:inline-flex; align-items:center; gap:4px; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.45); color:#fff;
  border-radius:12px; padding:2px 9px 2px 6px; font-size:11px; font-weight:700; cursor:pointer; margin-right:6px; white-space:nowrap; }
.taught-tick input { width:14px; height:14px; margin:0; accent-color:#2e7d32; cursor:pointer; }
.lesson-card.is-taught { box-shadow:0 0 0 3px #43a047; }
.lesson-card.is-taught .taught-tick { background:#2e7d32; border-color:#2e7d32; }

.progress-toast { position:fixed; left:50%; bottom:20px; transform:translateX(-50%); background:#1a1a2e; color:#fff; padding:9px 16px; border-radius:10px;
  font-size:13px; z-index:9999; opacity:0; pointer-events:none; transition:opacity .2s; max-width:90vw; }
.progress-toast.show { opacity:1; }

@media (max-width:768px) {
  .progress-inner { padding:8px 10px; gap:8px; font-size:12px; }
  .progress-spacer { display:none; }
  .progress-meter { width:80px; }
}
