/* Courses & resources page — shares the MentorMitr shell and responsive navigation. */
.resources-page { color:#063b70; background:#eefafd; font-family:Arial,Helvetica,sans-serif; }
.resources-page .topbar { height:90px; }
.resources-page .brand { width:158px; height:58px; margin-left:38px; }
.resources-page .sidebar { top:90px; }
.resources-page main { padding-top:90px; }
.resources-page .sidebar nav { gap:10px; }
.resources-dashboard { width:calc(100% - 58px); max-width:1144px; margin:0 auto; padding:27px 0 30px; }
.page-heading { display:flex; align-items:center; gap:31px; min-height:86px; margin-bottom:28px; }
.heading-icon,.lesson-cap,.folder-icon { display:grid; flex:0 0 auto; place-items:center; border-radius:50%; background:#c8f3f5; }
.heading-icon { width:72px;height:72px; }
.heading-icon svg { width:43px;height:43px;fill:none;stroke:#064777;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round; }
.page-heading h1 { margin:0 0 10px; color:#173f99; font-size:28px; line-height:1.15; font-weight:750; letter-spacing:-.45px; }
.page-heading p { margin:0; color:#4775b9; font-size:13px; font-weight:600; line-height:1.5; }
.top-content { display:grid; grid-template-columns:minmax(0,1.28fr) minmax(360px,1fr); gap:19px; align-items:start; }
.featured-panel { min-height:279px; box-sizing:border-box; border-radius:10px; background:#0d5480; padding:19px 30px 25px; color:white; }
.featured-label { display:inline-flex; align-items:center; justify-content:center; min-width:69px; height:23px; padding:0 12px; box-sizing:border-box; border-radius:20px; background:#00b6b4; font-size:10px; font-weight:700; }
.featured-panel h2 { margin:19px 0 15px; font-size:21px; line-height:1.18; font-weight:750; letter-spacing:-.3px; }
.featured-panel p { margin:0; font-size:13px; line-height:1.5; }
.resource-search { display:flex; align-items:center; width:min(340px,100%); height:42px; box-sizing:border-box; margin-top:41px; border-radius:18px; background:#fff; padding:0 14px; gap:10px; }
.resource-search svg { width:18px;height:18px; flex:0 0 18px; fill:none;stroke:#6592cc;stroke-width:2;stroke-linecap:round; }
.resource-search input { min-width:0; width:100%; border:0; outline:0; color:#164878; background:transparent; font:13px Arial, sans-serif; }
.resource-search input::placeholder { color:#6284ba; opacity:1; }
.resource-search button { display:none; }
.lessons-panel { min-width:0; box-sizing:border-box; border-radius:11px; background:#fff; padding:14px 18px 12px; }
.panel-title { display:flex; align-items:center; gap:16px; margin:0 0 11px; padding-left:2px; }
.lesson-cap { width:54px;height:54px; }
.lesson-cap svg { width:31px;height:31px; fill:#00a9aa;stroke:#00a9aa;stroke-width:1.7;stroke-linejoin:round; }
.panel-title h2 { margin:0; color:#123b95; font-size:17px; font-weight:750; }
.lesson-list { display:grid; gap:6px; }
.lesson-card { display:flex; align-items:center; gap:18px; width:100%; min-height:73px; box-sizing:border-box; border:1px solid #d5e0e5; border-radius:15px; background:#f1fafc; padding:12px 15px 11px 10px; color:#093c94; text-align:left; box-shadow:0 1px 3px #092f501b; transition:border-color .16s,transform .16s,box-shadow .16s; }
.lesson-card:hover { border-color:#74dce1; box-shadow:0 4px 12px #0b65801a; transform:translateY(-1px); }
.lesson-number { display:grid; flex:0 0 34px; width:34px;height:34px;place-items:center;border-radius:50%;background:#d3f3f7;color:#00558a;font-size:16px;font-weight:700; }
.lesson-info { display:flex; min-width:0; flex:1; flex-direction:column; gap:12px; }
.lesson-info strong { overflow:hidden; font-size:13px; line-height:1.1; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.progress-row { display:flex; align-items:center; gap:13px; }
.progress-track { display:block; height:6px; flex:1; overflow:hidden; border-radius:9px; background:#d9f0fa; }
.progress-track span { display:block; height:100%; border-radius:9px; background:#28cfb2; }
.progress-value { color:#23476b; font-size:12px; white-space:nowrap; }
.lesson-arrow { color:#1b5fc1; font-size:31px; font-weight:400; line-height:20px; }
.resume-link { display:flex; align-items:center; gap:7px; margin-top:10px; border:0; background:none; color:#0060d2; padding:0; font-size:10px; font-weight:600; }
.resume-link span { font-size:20px; line-height:14px; }
.study-section { margin-top:33px; border:2px solid #daf5fb; border-radius:11px; background:#f5fcfe; padding:20px 14px 19px; }
.study-heading { display:flex; align-items:center; gap:16px; margin:0 14px 30px; }
.folder-icon { width:46px;height:46px; }
.folder-icon svg { width:28px;height:28px; fill:#075082;stroke:#075082;stroke-width:1.4;stroke-linejoin:round; }
.study-heading h2 { margin:0 0 7px; color:#143e9a; font-size:16px; font-weight:750; }
.study-heading p { margin:0; color:#4775b9; font-size:11px; font-weight:600; }
.resource-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.resource-card { display:flex; min-width:0; min-height:176px; flex-direction:column; align-items:stretch; box-sizing:border-box; border:1px solid #e3edf0; border-radius:12px; background:#fff; padding:16px 17px 14px; color:#073e9a; text-align:left; box-shadow:0 1px 3px #0a41620a; transition:transform .16s,border-color .16s,box-shadow .16s; }
.resource-card:hover,.resource-card:focus-visible { transform:translateY(-2px); border-color:#9ce5e9; box-shadow:0 5px 16px #0c4e6c13; }
.resource-top { display:flex; min-width:0; align-items:center; gap:13px; }
.resource-icon { display:grid; width:44px;height:44px; flex:0 0 44px; place-items:center; border-radius:15px; }
.resource-icon svg { width:23px;height:23px; }
.resource-icon.youtube { background:#ffe5e7; }.resource-icon.youtube svg { fill:#ff0000; }
.resource-icon.pdf { background:#ffe5e7; }.resource-icon.pdf svg { fill:#ff3b4d;stroke:#ff3b4d;stroke-width:1.5;stroke-linejoin:round; }.resource-icon.pdf svg path:last-child { fill:none;stroke:white;stroke-width:1.6; }
.resource-icon.links { background:#dce9ff; }.resource-icon.links svg { fill:none;stroke:#0867ff;stroke-width:2.2;stroke-linecap:round; }
.resource-icon.tests { background:#eee5ff; }.resource-icon.tests svg { fill:#8a4dff;stroke:#8a4dff;stroke-width:1.4; }.resource-icon.tests svg path { fill:white;stroke:white; }
.resource-title { display:flex; min-width:0; flex:1; flex-direction:column; align-items:flex-start; gap:8px; }
.resource-title strong { color:#0a3d98; font-size:11px; line-height:1.2; white-space:nowrap; }
.resource-title small { border-radius:12px; background:#e8f9fa; padding:4px 9px; color:#00a0a8; font-size:10px; line-height:1; }
.resource-arrow { align-self:flex-start; margin-top:4px; color:#103e9d; font-size:29px; line-height:19px; }
.resource-description { margin-top:18px; color:#4775b9; font-size:11px; line-height:1.45; }
.resource-count { display:flex; align-items:center; gap:9px; margin-top:auto; padding-top:15px; color:#4775b9; font-size:10px; }
.resource-count svg { width:18px;height:18px; fill:none;stroke:#063d9d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
.resource-count .mini-video { display:grid; width:18px;height:13px; place-items:center; border-radius:4px; background:#00aaa9; color:white; font-size:9px; }
.empty-state { margin:22px 0 4px; color:#4775b9; font-size:13px; }
.resources-page .selection-toast { z-index:100; }
.resources-page button:focus-visible,.resources-page a:focus-visible { outline:3px solid #39c9d4; outline-offset:3px; }
@media (min-width:1280px) { .resources-page .sidebar { width:240px; } .resources-page main { margin-left:240px; } }
@media (max-width:1279px) { .resources-dashboard { width:calc(100% - 40px); } .top-content { grid-template-columns:minmax(0,1.08fr) minmax(320px,1fr); } .resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .resource-card { min-height:165px; } .study-heading { margin-bottom:20px; } }
@media (max-width:900px) { .resources-page .topbar { height:70px; } .resources-page .brand { width:140px;height:auto;margin-left:13px;margin-right:auto; } .resources-page .sidebar { top:70px; } .resources-page main { padding-top:70px; } .resources-dashboard { width:calc(100% - 32px);padding-top:22px; } .page-heading { gap:18px; margin-bottom:23px; } .heading-icon { width:60px;height:60px; } .page-heading h1 { font-size:25px; } .top-content { grid-template-columns:1fr; } .featured-panel { min-height:260px; } .resource-search { margin-top:30px; } .lessons-panel { padding:16px; } .study-section { margin-top:22px; } }
@media (max-width:560px) { .resources-page .brand { width:118px; } .resources-page .header-actions { gap:9px;margin-right:12px; } .resources-page .avatar { width:38px;height:38px;flex-basis:38px;font-size:25px; } .resources-page .chevron { display:none; } .resources-dashboard { width:calc(100% - 22px);padding-top:16px; } .page-heading { align-items:flex-start; gap:13px; margin-bottom:19px; } .heading-icon { width:48px;height:48px; } .heading-icon svg { width:30px;height:30px; } .page-heading h1 { margin:1px 0 8px;font-size:21px;line-height:1.2; } .page-heading p { font-size:11px; } .featured-panel { min-height:250px;padding:18px 18px 20px; } .featured-panel h2 { font-size:20px; } .featured-panel p { font-size:12px; } .wide-only { display:none; } .resource-search { margin-top:26px; } .resource-search input { font-size:12px; } .panel-title { gap:12px; } .lesson-cap { width:46px;height:46px; } .panel-title h2 { font-size:16px; } .lesson-card { gap:10px;padding:10px 10px;min-height:68px; } .lesson-number { flex-basis:31px;width:31px;height:31px; } .lesson-info strong { font-size:12px; } .progress-row { gap:8px; } .progress-value { font-size:11px; } .study-section { padding:15px 10px; } .study-heading { margin:0 3px 17px;gap:12px; } .study-heading h2 { font-size:14px; } .resource-grid { grid-template-columns:1fr; gap:10px; } .resource-card { min-height:150px;padding:14px; } .resource-top { gap:12px; } .resource-description { margin-top:13px; } .resource-count { padding-top:12px; } }
@media (prefers-reduced-motion:reduce) { .resources-page *, .resources-page *::before,.resources-page *::after { scroll-behavior:auto!important;transition:none!important; } }
