/* MW Video Library — My Classes */

.mw-vl { font-family: inherit; }
.mw-vl__programme { display: block; }

/* Folder */
.mw-vl__folder { margin-bottom: 20px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.mw-vl__folder-hd { background: #383153; padding: 16px 20px; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.mw-vl__folder-title { font-size: 16px; font-weight: 600; color: #fff; flex: 1; }
.mw-vl__folder-meta { font-size: 12px; color: rgba(255,255,255,0.5); }

/* Welcome */
.mw-vl__welcome { background: #f0eef8; padding: 20px 24px; border-bottom: 1px solid #ddd; }
.mw-vl__welcome h3 { font-size: 15px; font-weight: 600; color: #383153; margin: 0 0 10px; }
.mw-vl__welcome p { font-size: 13px; color: #555; line-height: 1.6; margin: 0 0 8px; }
.mw-vl__welcome ul { margin: 8px 0 10px 18px; padding: 0; }
.mw-vl__welcome li { font-size: 13px; color: #555; line-height: 1.6; margin-bottom: 6px; }
.mw-vl__welcome a { color: #383153; text-decoration: underline; }

/* Folder body */
.mw-vl__folder-body { background: #fff; }

/* Week */
.mw-vl__week { border-bottom: 1px solid #f0f0f0; }
.mw-vl__week:last-child { border-bottom: none; }
.mw-vl__week-hd { width: 100%; background: none; border: none; padding: 14px 20px; display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left; font-family: inherit; }
.mw-vl__week-hd:hover { background: #fafafa; }
.mw-vl__week-name { flex: 1; font-size: 14px; font-weight: 500; color: #221f20; }
.mw-vl__week.is-locked .mw-vl__week-name { color: #aaa; }
.mw-vl__week-count { font-size: 12px; color: #999; }
.mw-vl__lock-label { font-size: 12px; color: #bbb; }
.mw-vl__chevron { font-size: 18px; color: #ccc; transition: transform 0.2s; }
.mw-vl__week-hd[aria-expanded="true"] .mw-vl__chevron { transform: rotate(90deg); }

/* Week body */
.mw-vl__week-body { padding: 4px 20px 12px; }
.mw-vl__locked-msg { font-size: 13px; color: #aaa; font-style: italic; padding: 8px 0; }

/* Lesson list */
.mw-vl__lessons { list-style: none; padding: 0; margin: 0; }
.mw-vl__lesson { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; }
.mw-vl__lesson:last-child { border-bottom: none; }
.mw-vl__lesson:hover { opacity: 0.8; }
.mw-vl__thumb { width: 64px; height: 42px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.mw-vl__thumb--blank { width: 64px; height: 42px; background: #e8e6ef; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; color: #9fa5d4; }
.mw-vl__lesson-title { flex: 1; font-size: 13px; color: #221f20; }
.mw-vl__play { background: #ec5f53; border: none; border-radius: 50%; width: 30px; height: 30px; color: #fff; cursor: pointer; flex-shrink: 0; font-size: 12px; }
.mw-vl__play:hover { background: #531036; }

/* Modal */
.mwvl-player { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 99999; align-items: center; justify-content: center; padding: 20px; }
.mwvl-player.is-open { display: flex; }
.mwvl-player__inner { background: #000; border-radius: 8px; overflow: hidden; max-width: 900px; width: 100%; position: relative; }
.mwvl-player__close { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.2); border: none; border-radius: 50%; width: 30px; height: 30px; color: #fff; font-size: 16px; cursor: pointer; z-index: 1; }
.mwvl-player__video { position: relative; padding-bottom: 56.25%; }
.mwvl-player__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
