*{box-sizing:border-box}.auth-page{background:radial-gradient(circle at 0 0,#6366f129,#0000 30%),radial-gradient(circle at 100% 100%,#a855f724,#0000 28%),linear-gradient(135deg,#0b1120 0%,#111827 45%,#172554 100%);justify-content:center;align-items:center;min-height:100vh;padding:2rem;display:flex;position:relative;overflow:hidden}.auth-background{pointer-events:none;position:absolute;inset:0}.auth-orb{filter:blur(40px);opacity:.55;border-radius:999px;position:absolute}.auth-orb-1{background:#6366f147;width:260px;height:260px;top:8%;left:10%}.auth-orb-2{background:#a855f738;width:320px;height:320px;bottom:8%;right:8%}.auth-shell{z-index:1;grid-template-columns:1fr 460px;align-items:center;gap:2rem;width:100%;max-width:1120px;display:grid;position:relative}.auth-brand{color:#f8fafc;padding:1rem}.auth-badge{color:#cbd5e1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff0f;border:1px solid #ffffff24;border-radius:999px;margin-bottom:1rem;padding:.45rem .85rem;font-size:.85rem;display:inline-block}.auth-brand h1{margin:0 0 .75rem;font-size:clamp(2.5rem,5vw,4rem);line-height:1.05}.auth-brand p{color:#cbd5e1;max-width:560px;margin:0;font-size:1.05rem;line-height:1.7}.auth-card{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border:1px solid #ffffff2e;border-radius:28px;padding:2rem;box-shadow:0 30px 80px #0f172a47}.auth-card-header h2{color:#0f172a;margin:0 0 .35rem;font-size:1.7rem}.auth-card-header p{color:#64748b;margin:0 0 1.5rem}.auth-form{gap:1rem;display:grid}.auth-field{gap:.45rem;display:grid}.auth-field label{color:#334155;font-size:.92rem;font-weight:600}.auth-field input{color:#0f172a;background:#fff;border:1px solid #dbe4f0;border-radius:14px;outline:none;width:100%;padding:.95rem 1rem;font-size:.98rem;transition:border-color .2s,box-shadow .2s,transform .2s}.auth-field input:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f11f}.auth-button{cursor:pointer;color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border:none;border-radius:14px;margin-top:.5rem;padding:.95rem 1rem;font-size:1rem;font-weight:600;transition:transform .2s,opacity .2s,box-shadow .2s;box-shadow:0 14px 30px #4f46e547}.auth-button:hover{transform:translateY(-1px)}.auth-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.auth-error{color:#b91c1c;background:#fef2f2;border-radius:12px;margin:0;padding:.8rem .95rem;font-size:.92rem}.auth-footer{color:#64748b;margin:1.25rem 0 0;font-size:.95rem}.auth-footer a{color:#4f46e5;font-weight:600;text-decoration:none}.auth-footer a:hover{text-decoration:underline}@media (width<=900px){.auth-shell{grid-template-columns:1fr}.auth-brand{text-align:center;padding:0}.auth-brand p{margin:0 auto}}@media (width<=560px){.auth-page{padding:1rem}.auth-card{border-radius:22px;padding:1.35rem}}.admin-filter-row{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.admin-sort{font:inherit;background:#fff;border:1px solid #dbe4f0;border-radius:14px;outline:none;padding:.9rem 1rem}.admin-sort:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f11f}.admin-page{color:#f8fafc;background:radial-gradient(circle at 0 0,#6366f11f,#0000 28%),radial-gradient(circle at 100% 100%,#a855f71a,#0000 24%),linear-gradient(135deg,#0b1120 0%,#111827 45%,#172554 100%);min-height:100vh;padding:2rem}.admin-shell{max-width:1280px;margin:0 auto}.admin-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.admin-title h1{margin:0 0 .35rem;font-size:2rem}.admin-title p{color:#cbd5e1;margin:0}.admin-actions{align-items:center;gap:.75rem;display:flex}.admin-profile-chip{color:#e2e8f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff14;border:1px solid #ffffff1f;border-radius:16px;padding:.8rem 1rem}.admin-profile-chip strong{color:#fff;font-size:.95rem;display:block}.admin-logout-btn{cursor:pointer;color:#fff;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:none;border-radius:14px;padding:.85rem 1rem;font-weight:600;box-shadow:0 12px 24px #ef444440}.admin-tabs{flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem;display:flex}.admin-tab-btn{color:#e2e8f0;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0f;border:1px solid #ffffff24;border-radius:14px;padding:.85rem 1rem;transition:all .2s}.admin-tab-btn.active{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border-color:#0000;box-shadow:0 12px 24px #4f46e547}.admin-card{color:#0f172a;background:#fffffff5;border-radius:24px;padding:1.5rem;box-shadow:0 30px 60px #0f172a3d}.admin-section-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.admin-section-header h2{margin:0}.admin-section-header p{color:#64748b;margin:.35rem 0 0}.admin-primary-btn{cursor:pointer;color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);border:none;border-radius:14px;padding:.9rem 1rem;font-weight:600;box-shadow:0 12px 24px #4f46e53d}.admin-loading,.admin-empty{color:#475569;background:#f8fafc;border-radius:16px;padding:1.25rem}.admin-table-wrap{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%}.admin-table th,.admin-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:1rem .9rem}.admin-table th{color:#334155;font-size:.92rem}.admin-table td{color:#0f172a}.admin-table-actions{flex-wrap:wrap;gap:.5rem;display:flex}.admin-action-btn{cursor:pointer;border:none;border-radius:12px;padding:.65rem .85rem;font-weight:600}.admin-action-btn.soft{color:#92400e;background:#fef3c7}.admin-action-btn.restore{color:#166534;background:#dcfce7}.admin-action-btn.danger{color:#b91c1c;background:#fee2e2}.role-badge{border-radius:999px;align-items:center;padding:.4rem .75rem;font-size:.84rem;font-weight:700;display:inline-flex}.role-badge.admin{color:#b91c1c;background:#fee2e2}.role-badge.professor{color:#6d28d9;background:#ede9fe}.role-badge.student{color:#166534;background:#dcfce7}.admin-modal-backdrop{z-index:50;background:#02061799;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.admin-modal{color:#0f172a;background:#fff;border-radius:24px;width:100%;max-width:560px;padding:1.5rem;box-shadow:0 30px 60px #0f172a47}.admin-modal-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.admin-modal-header h3{margin:0}.admin-close-btn{cursor:pointer;background:0 0;border:none;font-size:1.2rem}.admin-form{gap:.9rem;display:grid}.admin-form input,.admin-form textarea,.admin-form select{width:100%;font:inherit;border:1px solid #dbe4f0;border-radius:14px;outline:none;padding:.95rem 1rem}.admin-form textarea{resize:vertical;min-height:100px;max-height:160px;overflow-y:auto}.admin-modal{max-height:90vh;overflow-y:auto}.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f11f}.admin-success{color:#166534;background:#dcfce7;border-radius:12px;padding:.8rem .95rem}.admin-error{color:#b91c1c;background:#fee2e2;border-radius:12px;padding:.8rem .95rem}.admin-profile-card{gap:1rem;display:grid}.admin-profile-row{background:#f8fafc;border-radius:16px;padding:1rem}.admin-profile-row span{color:#64748b;margin-bottom:.3rem;font-size:.88rem;display:block}@media (width<=780px){.admin-page{padding:1rem}.admin-header{flex-direction:column}.admin-actions{justify-content:space-between;width:100%}.admin-section-header{flex-direction:column;align-items:flex-start}}.toast-container{z-index:100;gap:.75rem;display:grid;position:fixed;top:1.25rem;right:1.25rem}.toast{border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;min-width:280px;max-width:420px;padding:.95rem 1rem;font-weight:600;display:flex;box-shadow:0 18px 40px #0f172a38}.toast-success{color:#166534;background:#dcfce7}.toast-error{color:#b91c1c;background:#fee2e2}.toast-close{cursor:pointer;color:inherit;background:0 0;border:none;font-size:1rem}.admin-filter-row{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.admin-search{min-width:0;font:inherit;background:#fff;border:1px solid #dbe4f0;border-radius:14px;outline:none;flex:1;padding:.9rem 1rem;transition:all .2s}.admin-search:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f11f}.admin-sort-btn{cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dbe4f0;border-radius:14px;flex-shrink:0;padding:.85rem 1rem;font-weight:600;transition:all .2s}.admin-sort-btn:hover{color:#4338ca;border-color:#6366f1;box-shadow:0 6px 16px #6366f126}.admin-sort-btn:active{transform:scale(.97)}@media (width<=600px){.admin-filter-row{flex-direction:column;align-items:stretch}.admin-sort-btn{width:100%}}.admin-action-btn.gray{color:#334155;background:#f1f5f9;border:1px solid #e2e8f0}.professor-page{min-height:100vh}.professor-section{flex-direction:column;gap:1rem;display:flex}.student-page{min-height:100vh}.student-section{flex-direction:column;gap:1rem;display:flex}.student-status{border-radius:999px;align-items:center;padding:.4rem .75rem;font-size:.84rem;font-weight:700;display:inline-flex}.student-status.active{color:#166534;background:#dcfce7}.student-status.dropped{color:#b91c1c;background:#fee2e2}.student-status.completed{color:#1d4ed8;background:#dbeafe}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{background:#0b1120;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font-family:inherit}
