body.dashboard-page{background:#f5f8f9}.dashboard-shell{padding:30px 0 60px}.student-dashboard{display:grid;grid-template-columns:250px minmax(0,1fr);gap:26px}.student-sidebar{background:#1E4527;color:#fff;border-radius:18px;padding:22px;align-self:start;position:sticky;top:96px;box-shadow:0 18px 40px rgba(39,90,51,.12)}
.student-profile-mini{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.14);margin-bottom:14px}.student-profile-mini img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#fff}.student-profile-mini strong{display:block}.student-profile-mini small{color:#B5CDAA}.student-sidebar nav{display:grid;gap:5px}.student-sidebar nav a{padding:12px 13px;border-radius:9px;color:#E3F0DE;font-weight:700;font-size:14px}.student-sidebar nav a:hover,.student-sidebar nav a.active{background:rgba(255,255,255,.11);color:#fff}.student-sidebar .logout-link{margin-top:12px;border-top:1px solid rgba(255,255,255,.14);padding-top:16px;color:#ffdddd}
.dashboard-main{min-width:0}.dashboard-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.dashboard-welcome h1{font-size:34px;margin:0 0 6px}.dashboard-welcome p{margin:0;color:var(--muted)}.dashboard-status{margin-bottom:18px;padding:13px 16px;border-radius:10px;font-weight:700}.dashboard-status[hidden]{display:none}.dashboard-status.is-info{background:#eaf4ff;color:#205a88}.dashboard-status.is-warning{background:#fff7df;color:#7b5c0c}.dashboard-status.is-error{background:#fff0f0;color:#8b2626}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}.dashboard-metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 8px 24px rgba(11,34,57,.04)}.dashboard-metric strong{display:block;color:var(--green);font-size:30px;line-height:1}.dashboard-metric span{display:block;margin-top:9px;color:var(--muted);font-size:13px}.dashboard-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 10px 28px rgba(11,34,57,.04)}.dashboard-panel[hidden]{display:none}.dashboard-panel-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:18px}.dashboard-panel-head h2{margin:0}.dashboard-panel-head p{margin:5px 0 0;color:var(--muted)}
.student-course-list{display:grid;gap:14px}.student-course-card{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:14px}.student-course-thumb{height:96px;border-radius:10px;overflow:hidden;background:#E7F2E2;display:grid;place-items:center;color:#55744A;font-weight:900}.student-course-thumb img{width:100%;height:100%;object-fit:cover}.student-course-copy h3{font-size:17px;margin:8px 0 4px}.student-course-copy p{margin:0;color:var(--muted);font-size:13px}.course-progress-row{display:flex;justify-content:space-between;color:var(--muted)}.student-continue{white-space:nowrap}.dashboard-empty{border:1px dashed #bfd0d6;border-radius:14px;padding:34px;text-align:center;background:#F9FCF8}.dashboard-empty h3{margin-top:0}.dashboard-empty p{color:var(--muted)}
.order-list{display:grid;gap:10px}.order-row{display:grid;grid-template-columns:150px minmax(0,1fr) 90px 110px;gap:16px;align-items:center;padding:15px 0;border-bottom:1px solid #edf1f3}.order-row:last-child{border-bottom:0}.order-row small{display:block;color:var(--muted);margin-top:3px}.order-items{color:#465d70;font-size:14px;overflow:hidden;text-overflow:ellipsis}.order-status{display:inline-flex;justify-content:center;padding:6px 9px;border-radius:99px;background:#f2f4f6;color:#566778;font-size:12px;font-weight:800}.order-status.is-paid{background:#EBF5E7;color:#275A33}.certificate-list{display:grid;gap:12px}.certificate-row{display:flex;gap:14px;padding:18px;border:1px solid var(--line);border-radius:12px}.certificate-row p{margin:6px 0 0;color:var(--muted);font-size:13px}.certificate-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#EBF5E7;color:var(--green);font-weight:900;flex:0 0 auto}
.profile-real{display:grid;grid-template-columns:110px 1fr;gap:24px;align-items:start}.profile-real img{width:100px;height:100px;border-radius:50%;object-fit:cover;background:#EBF5E7}.profile-data{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-field{border:1px solid var(--line);border-radius:10px;padding:14px}.profile-field small{display:block;color:var(--muted);margin-bottom:5px}.profile-field strong{overflow-wrap:anywhere}.dashboard-support{display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;background:#F4F9F2;border-radius:12px;padding:22px}.dashboard-support p{margin:5px 0 0;color:var(--muted)}
@media(max-width:960px){.student-dashboard{grid-template-columns:1fr}.student-sidebar{position:static}.student-sidebar nav{grid-template-columns:repeat(3,1fr)}.student-sidebar .logout-link{grid-column:1/-1}.dashboard-metrics{grid-template-columns:repeat(2,1fr)}.student-course-card{grid-template-columns:120px 1fr}.student-course-card .student-continue{grid-column:1/-1;justify-self:start}.order-row{grid-template-columns:1fr 1fr}.order-items{grid-column:1/-1;grid-row:2}.profile-real{grid-template-columns:1fr}.profile-real img{width:80px;height:80px}}
@media(max-width:620px){.dashboard-shell{padding-top:18px}.student-sidebar nav{grid-template-columns:1fr 1fr}.dashboard-welcome{align-items:flex-start;flex-direction:column}.dashboard-welcome h1{font-size:28px}.dashboard-metrics{grid-template-columns:1fr 1fr}.dashboard-panel{padding:18px}.student-course-card{grid-template-columns:1fr}.student-course-thumb{height:160px}.student-course-card .student-continue{grid-column:auto;width:100%;justify-content:center}.order-row{grid-template-columns:1fr}.order-items{grid-column:auto;grid-row:auto}.profile-data{grid-template-columns:1fr}.dashboard-support{grid-template-columns:1fr}}

/* STAYVER microinteractions */
.student-sidebar nav a,.logout-link,.certificate-row{transition:transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
@media(hover:hover) and (pointer:fine){.student-sidebar nav a:hover{transform:translateX(2px)}.certificate-row:hover{border-color:rgba(101,181,70,.45);box-shadow:0 6px 15px rgba(11,34,57,.05)}}
.student-sidebar nav a:active,.logout-link:active{transform:scale(.985)}
.student-sidebar nav a:focus-visible,.logout-link:focus-visible{outline:3px solid rgba(101,181,70,.3);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.student-sidebar nav a,.logout-link,.certificate-row{transition-duration:.01ms!important}}
