/* Student courses (student-courses.js): course switcher, course messages, "My courses" and the request dialog. */
.sc-bar{display:grid;gap:10px;margin:0 0 16px}
.sc-switch{display:inline-flex;align-items:center;gap:8px;justify-self:start;padding:6px 8px 6px 14px;border:1px solid #e5dcfa;border-radius:999px;background:#fff;color:#50356c;font-weight:700;box-shadow:0 4px 14px rgba(80,40,160,.06)}
.sc-switch select{min-height:34px;padding:0 10px;border:0;border-radius:999px;background:#f3edff;color:#3b2463;font:inherit;font-weight:800}
.sc-note{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid #e5dcfa;border-radius:18px;background:linear-gradient(110deg,#fff,#f6f1ff)}
.sc-note>span{display:grid;flex:0 0 44px;place-items:center;width:44px;height:44px;border-radius:14px;background:#efe9ff;font-size:22px}
.sc-note>div{flex:1;min-width:0}
.sc-note b{display:block;color:#291744;font-size:16px}
.sc-note p{margin:3px 0 0;color:#6f6585;font-size:13px;line-height:1.6}
.sc-note--done{border-color:#9be0c5;background:linear-gradient(110deg,#fff,#effaf5)}
.sc-cta{min-height:40px;padding:0 18px;border:0!important;border-radius:12px;background:linear-gradient(90deg,#7c3aed,#0ea5e9)!important;color:#fff!important;-webkit-text-fill-color:#fff;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}
.sc-ghost{min-height:40px;padding:0 14px;border:1px solid #e5dcfa!important;border-radius:12px;background:#fff!important;color:#5b3aa5!important;font:inherit;font-weight:700;cursor:pointer}
.sc-page{display:grid;gap:26px}
.sc-page h2{margin:0 0 12px;color:#291744;font-size:20px}
.sc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.sc-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #ece6f8;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(60,30,120,.07)}
.sc-card img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#f3edff}
.sc-card.is-done img{filter:saturate(.75)}
.sc-card-body{display:grid;gap:6px;padding:14px 16px 16px}
.sc-card-body b{color:#22163a;font-size:18px}
.sc-card-body small{color:#6f6585;font-size:13px}
.sc-state{justify-self:start;padding:2px 10px;border-radius:999px;background:#e3f7ef;color:#0c6e52;font-size:12px;font-weight:800}
.sc-card.is-done .sc-state{background:#fff3dc;color:#8a5a00}
.sc-progress{display:block;height:7px;overflow:hidden;border-radius:999px;background:#f1edf9}
.sc-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c3aed,#0ea5e9)}
.sc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.sc-empty{margin:0;padding:16px;border:1px dashed #e5dcfa;border-radius:16px;color:#6f6585;text-align:center}
.sc-waiting{margin:0;padding:12px 18px;border:1px solid #9be0c5;border-radius:16px;background:#effaf5;color:#2f5d4d;list-style:none}
.sr-dialog h2{margin:0 0 4px}
.sr-plans{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;border:0}
.sr-plans legend{margin-bottom:6px;font-weight:700}
.sr-plans label{display:grid!important;gap:2px;padding:12px;border:1px solid #e5dcfa;border-radius:12px;cursor:pointer}
.sr-plans label.is-on{border-color:#7c3aed;background:#f6f1ff;box-shadow:0 0 0 3px #ece4fd}
.sr-plans input{position:absolute;opacity:0;pointer-events:none}
.sr-plans small{color:#6f6585}
.sr-plans a{color:#6732bc;font-size:12px;font-weight:700}
.sr-code{display:flex;gap:8px}
.sr-code input{flex:1;text-transform:uppercase;font-weight:700;letter-spacing:.04em}
.sr-total{margin:0;padding:10px 14px;border-radius:12px;background:#f6f1ff;color:#50356c}
.sr-total b{color:#6732bc;font-size:18px}
@media (max-width:600px){.sc-note{flex-wrap:wrap}.sc-note .sc-cta{flex:1 1 100%}.sr-plans{grid-template-columns:1fr}.sc-switch{justify-self:stretch}}
body:not(.sc-show-courses) .nav [onclick="portalGo('courses')"]{display:none}
