@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--ink:#172033;--muted:#788399;--line:#e9edf3;--blue:#4169e1;--bg:#f6f8fc}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:14px}
.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);padding:27px 18px;display:flex;flex-direction:column;z-index:2}
.brand{display:flex;align-items:center;gap:11px;padding:0 9px 45px}.brand-mark{width:38px;height:38px;background:#4169e1;color:white;border-radius:11px;display:grid;place-items:center;font:800 21px Manrope}.brand strong{display:block;font:800 16px Manrope}.brand small,.sidebar-bottom small{display:block;color:#929bad;font-size:11px;margin-top:3px}
nav{display:grid;gap:8px}nav a{color:#758096;text-decoration:none;padding:13px 14px;border-radius:9px;font-weight:600;display:flex;gap:13px;align-items:center}nav a.active{background:#edf2ff;color:#4169e1}
.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 7px 0;display:flex;align-items:center;gap:11px}.avatar{width:36px;height:36px;border-radius:50%;background:#e8edff;color:#4169e1;display:grid;place-items:center;font-weight:700}.sidebar-bottom strong{font-size:13px}
.main{margin-left:244px;padding:38px 4.2%;max-width:1600px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#8c97aa;font-weight:700;margin:0 0 8px}.topbar h1{font:800 27px Manrope;margin:0}.subheading,.panel-heading p{color:var(--muted);margin:7px 0 0}
button{font:600 13px 'DM Sans';cursor:pointer;border:0}.primary{background:var(--blue);color:white;padding:11px 17px;border-radius:8px;box-shadow:0 4px 10px #4169e126}.primary:hover{background:#3158ce}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;gap:15px;align-items:center;min-height:115px}.stat-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-size:20px}.blue{background:#edf2ff;color:#4169e1}.green{background:#e9f8f0;color:#24a36a}.purple{background:#f2edff;color:#8a63d2}.orange{background:#fff3e7;color:#e89a42}.stat-card span{display:block;color:#788399;font-size:12px}.stat-card strong{display:block;font:800 24px Manrope;margin:3px 0}.stat-card small{font-size:10px;color:#a0a8b6}
.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px}.panel-heading{display:flex;justify-content:space-between;align-items:center}.panel-heading h2{font:800 18px Manrope;margin:0}.panel-heading p{font-size:12px}.toolbar{display:flex;gap:11px;margin:23px 0 17px}.search{border:1px solid var(--line);border-radius:8px;padding:0 12px;display:flex;align-items:center;gap:9px;flex:1;color:#8c97aa}.search input{border:0;outline:0;width:100%;height:39px;font:13px 'DM Sans'}.toolbar select{border:1px solid var(--line);border-radius:8px;padding:0 12px;color:#667187;background:white;min-width:145px;font:12px 'DM Sans';outline:0}
.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{text-align:left;color:#929bad;font-size:10px;letter-spacing:.7px;font-weight:700;padding:13px 12px;border-bottom:1px solid var(--line)}td{padding:15px 12px;border-bottom:1px solid #f0f2f6;font-size:12px;color:#5e687b}tbody tr:last-child td{border-bottom:0}.student-name{font-weight:700;color:#273249;font-size:12px}.student-email{font-size:10px;color:#9aa3b2;margin-top:4px}.student-cell{display:flex;align-items:center;gap:10px}.student-avatar{width:33px;height:33px;border-radius:50%;background:#edf1ff;color:#526fe0;display:grid;place-items:center;font-weight:700}.status{display:inline-block;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:700}.status.Active{background:#e8f7ef;color:#25945f}.status.Inactive{background:#f1f2f5;color:#7d8797}.actions{display:flex;gap:7px}.action{background:#f4f6fa;color:#657087;border-radius:6px;padding:6px 9px;font-size:11px}.action.delete{color:#d45d5d}.empty{text-align:center;padding:38px;color:#929bad}.table-footer{border-top:1px solid var(--line);padding-top:15px;color:#8d97a8;font-size:11px;display:flex;justify-content:space-between}.text-button{background:none;color:#4169e1;font-size:11px}footer{text-align:center;color:#a2aaba;font-size:10px;padding:25px}
.modal-backdrop{display:none;position:fixed;inset:0;background:#17203380;z-index:5;align-items:center;justify-content:center;padding:18px}.modal-backdrop.show{display:flex}.modal{background:white;width:min(560px,100%);border-radius:14px;padding:25px;box-shadow:0 20px 60px #0002}.modal-header{display:flex;justify-content:space-between;margin-bottom:23px}.modal-header h2{font:800 19px Manrope;margin:0}.modal-header p{color:var(--muted);font-size:12px;margin:6px 0 0}.close{background:none;font-size:25px;color:#8490a3;align-self:flex-start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid label{font-size:11px;font-weight:700;color:#58647a}.form-grid input,.form-grid select{display:block;width:100%;margin-top:7px;height:39px;border:1px solid var(--line);border-radius:7px;padding:0 10px;font:12px 'DM Sans';outline-color:#9aafff;background:#fff}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.secondary{padding:10px 16px;border-radius:8px;background:#f1f3f7;color:#667187}.toast{position:fixed;bottom:24px;right:25px;background:#172033;color:white;padding:12px 18px;border-radius:8px;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.main{padding:28px 3%}}@media(max-width:700px){.sidebar{width:66px;padding:20px 9px}.brand{padding:0 4px 35px}.brand>div,nav a span,.sidebar-bottom>div:last-child{display:none}.brand-mark{width:39px}.sidebar-bottom{padding:15px 4px}.main{margin-left:66px;padding:24px 15px}.topbar{align-items:flex-start;gap:12px}.topbar h1{font-size:21px}.topbar .primary{font-size:11px;padding:10px}.stats{gap:9px}.stat-card{padding:13px;gap:9px;min-height:100px}.stat-icon{width:34px;height:34px}.stat-card strong{font-size:20px}.stat-card small{display:none}.panel{padding:16px}.panel-heading{gap:10px}.panel-heading p{max-width:220px;line-height:1.5}.panel-heading .primary{font-size:11px;padding:9px}.toolbar{flex-wrap:wrap}.search{flex-basis:100%}.toolbar select{flex:1;min-width:0}.form-grid{grid-template-columns:1fr}.modal{max-height:90vh;overflow:auto}}
