@font-face{font-family:Cairo;src:url(../../../assets/fonts/cairo/cairo-arabic-wght-normal.woff2) format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
.courses-student{--ink:#182338;--muted:#607088;--accent:#c52f91;--accent-dark:#8e1e68;--line:#dce0e8;box-sizing:border-box;margin:0;min-height:100vh;background:linear-gradient(180deg,#f7f2f8,#fff 48%);color:var(--ink);font-family:Cairo,Tahoma,sans-serif;line-height:1.7}.courses-student *{box-sizing:border-box}.courses-student a{color:var(--accent)}.student-shell{width:min(1140px,calc(100% - 40px));margin-inline:auto}.student-skip{position:absolute;top:-100px;right:12px;background:#fff;padding:8px;z-index:10}.student-skip:focus{top:8px}.student-header{background:#182338;color:#fff}.student-header__inner{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:82px}.student-brand img{display:block;width:auto;max-width:145px;height:58px;object-fit:contain}.student-header nav{display:flex;gap:24px;flex-wrap:wrap}.student-header nav a{color:#fff;text-decoration:none;font-weight:700}.student-header nav a:hover{text-decoration:underline}.student-main{min-height:calc(100vh - 160px);padding-block:clamp(34px,6vw,70px)}.student-footer{border-top:1px solid var(--line);padding:18px 0;color:var(--muted);font-size:.9rem}.student-eyebrow{margin:0 0 8px;color:var(--accent);font-size:.85rem;font-weight:900;letter-spacing:.05em}.student-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}.student-intro h1,.student-panel h1{margin:0 0 8px;font-size:clamp(2rem,5vw,3.5rem);line-height:1.2}.student-intro p,.student-lead{color:var(--muted)}.student-panel{padding:clamp(24px,5vw,48px);border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 15px 38px rgba(33,25,45,.07)}.student-login{max-width:600px;margin-inline:auto}.student-login form{display:grid;gap:12px;margin-top:28px}.student-login label{font-weight:800}.student-login input[type=email]{width:100%;min-height:50px;padding:10px 14px;border:1px solid #9aa6b5;border-radius:10px;font:inherit;direction:ltr;text-align:left}.student-login input:focus-visible,.student-button:focus-visible,.student-link-button:focus-visible,.student-header a:focus-visible{outline:3px solid #f1b84b;outline-offset:3px}.student-button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 18px;border:0;border-radius:11px;background:var(--accent);color:#fff!important;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.student-button:hover{background:var(--accent-dark)}.student-button:disabled{background:#9ca4b1;cursor:not-allowed}.student-link-button{padding:8px 0;border:0;background:none;color:var(--accent);font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}.student-hint{font-size:.9rem;color:var(--muted)}.student-notice,.student-error{padding:14px 18px;border-radius:12px;margin-block:20px;background:#eef8f4;border:1px solid #80b89c;color:#174c37}.student-error{background:#fff1f1;border-color:#d99;color:#842929}.student-error[hidden]{display:none}.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.student-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}.student-card__poster{aspect-ratio:16/9;display:grid;place-items:center;background:linear-gradient(135deg,#182338,#8e1e68);color:#fff;font-size:3rem;font-weight:900}.student-card__poster img{width:100%;height:100%;object-fit:cover}.student-card__body{padding:20px}.student-card h2{margin:0 0 8px;font-size:1.35rem;overflow-wrap:anywhere}.student-card p{color:var(--muted)}.student-empty{text-align:center}.student-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);margin-bottom:25px}.student-lessons{display:grid;gap:13px;list-style:none;padding:0}.student-lessons li{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:18px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.student-lesson-number{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f7e9f2;color:var(--accent);font-weight:900}.student-lessons h2{margin:0;font-size:1.15rem;overflow-wrap:anywhere}.student-lessons p{margin:4px 0;color:var(--muted);overflow-wrap:anywhere}.student-locked{font-size:.85rem;color:var(--muted)}.student-video{aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:#111}.student-video iframe{display:block;width:100%;height:100%;border:0}.student-back{display:inline-block;margin-top:24px;font-weight:800}.student-status{max-width:720px;margin-inline:auto;text-align:center}
@media(max-width:900px){.student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.student-shell{width:min(100% - 28px,1140px)}.student-header__inner{min-height:74px;gap:12px}.student-brand img{max-width:90px;height:46px}.student-header nav{gap:12px;font-size:.9rem}.student-intro{flex-direction:column}.student-grid{grid-template-columns:1fr}.student-lessons li{grid-template-columns:38px minmax(0,1fr)}.student-lessons .student-button,.student-locked{grid-column:2;justify-self:start}.student-panel{border-radius:16px}.student-video{border-radius:10px}}

/* COURSES-UX-01-R2: visual alignment and space efficiency; authorization is unchanged. */
.student-header { background: linear-gradient(110deg,#172d38,#30213d); border-bottom: 1px solid rgba(103,216,235,.24); }
.student-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.student-main { padding-block: clamp(28px,4vw,46px); }
.student-intro { margin-bottom: 22px; }
.student-intro h1,
.student-panel h1 { font-size: clamp(1.9rem,4vw,3rem); line-height: 1.3; }
.student-panel { padding: clamp(22px,3.5vw,36px); border-radius: 18px; box-shadow: 0 10px 28px rgba(33,25,45,.055); }
.student-login form { margin-top: 22px; }
.student-grid { grid-template-columns: repeat(auto-fit,minmax(280px,360px)); }
.student-card__body { display: flex; min-height: 210px; flex-direction: column; padding: 18px; }
.student-card__body .student-button { align-self: flex-start; margin-top: auto; }
.student-lessons li { padding: 16px; }
.student-link-button { min-height: 44px; }
.student-video { width: min(100%,1040px); margin-inline: auto; }
@media(max-width:680px) {
  .student-main { padding-block: 24px 30px; }
  .student-header nav a { min-height: 42px; }
  .student-intro { gap: 14px; margin-bottom: 18px; }
  .student-intro h1,
  .student-panel h1 { font-size: clamp(1.8rem,8vw,2.35rem); }
  .student-panel { padding: 20px 18px; }
  .student-card__body { min-height: 0; }
  .student-lessons li { gap: 12px; padding: 16px 14px; }
}

/* Password authentication and compact Courses navigation. */
.student-header nav{align-items:center;gap:8px}.student-header nav a,.student-header nav button{display:inline-flex;min-height:44px;align-items:center;padding:6px 9px;border:0;border-radius:8px;background:transparent;color:#fff;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}.student-header nav a:hover,.student-header nav button:hover{background:rgba(255,255,255,.1);text-decoration:none}.student-header nav form{margin:0}.student-login input[type=email],.student-login input[type=password],.student-login input[type=text],.student-account input[type=password],.student-account input[type=text]{width:100%;min-height:50px;padding:10px 14px;border:1px solid #9aa6b5;border-radius:10px;background:#fff;color:var(--ink);font:inherit}.student-password-field{display:grid;grid-template-columns:minmax(0,1fr) auto;direction:ltr}.student-password-field input{border-radius:10px 0 0 10px!important}.student-password-toggle{min-width:72px;border:1px solid #9aa6b5;border-left:0;border-radius:0 10px 10px 0;background:#f3f7fa;color:#23404d;font:inherit;font-weight:800;cursor:pointer}.student-password-toggle:focus-visible,.student-text-button:focus-visible,.student-header button:focus-visible{outline:3px solid #f1b84b;outline-offset:3px}.student-form-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.student-form-row .student-check{display:inline-flex;align-items:center;gap:8px;font-weight:600}.student-form-row .student-check input{width:20px;height:20px}.student-auth-alternative{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.student-auth-alternative summary{min-height:44px;align-content:center;color:var(--accent);font-weight:900;cursor:pointer}.student-auth-alternative form{margin-top:14px}.student-button--secondary{border:1px solid var(--accent);background:#fff;color:var(--accent)!important}.student-button--secondary:hover{background:#fff1f9;color:var(--accent-dark)!important}.student-skip-password,.student-logout-form{margin-top:14px!important}.student-text-button{min-height:44px;border:0;background:transparent;color:var(--accent);font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}.student-account{max-width:760px;margin-inline:auto}.student-account form{display:grid;gap:12px}.student-account-data{display:grid;gap:10px;margin-block:20px}.student-account-data div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:12px;border-radius:10px;background:#f5f8fa}.student-account-data dt{font-weight:900}.student-account-data dd{margin:0;overflow-wrap:anywhere}.student-account h2{margin-top:28px}
@media(max-width:680px){.student-header__inner{align-items:flex-start;flex-direction:column;padding-block:10px}.student-header nav{width:100%;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap}.student-header nav a,.student-header nav button{min-height:44px}.student-form-row{align-items:flex-start;flex-direction:column}.student-account-data div{grid-template-columns:1fr;gap:3px}}
