/* Admin portal — visually distinct from the student shell (a muted accent instead of --green) so instructors and students never mistake which mode they're in, while still reusing the same design tokens for everything else. */ .wrap { min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--sans); } .loginWrap { height: 100vh; display: flex; align-items: center; justify-content: center; } .loginCard { width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; } .brand { font-family: var(--mono); font-size: 1.2rem; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 0.5rem; } .subtitle { color: var(--text-2); font-size: 0.85rem; margin: 0.4rem 0 1.25rem; } .input, .select { width: 100%; padding: 0.55rem 0.6rem; margin-top: 0.3rem; background: var(--surface2); border: 1px solid var(--border2); border-radius: var(--radius); color: var(--text); font-family: var(--sans); font-size: 0.9rem; } .label { display: block; font-size: 0.8rem; color: var(--text-2); margin-top: 0.9rem; } .btn { padding: 0.55rem 0.9rem; background: var(--blue); color: #04141c; border: none; border-radius: var(--radius); font-weight: 600; font-size: 0.85rem; cursor: pointer; } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btnSecondary { padding: 0.5rem 0.8rem; background: transparent; color: var(--text); border: 1px solid var(--border2); border-radius: var(--radius); font-size: 0.85rem; cursor: pointer; } .btnDanger { padding: 0.5rem 0.8rem; background: transparent; color: var(--red); border: 1px solid var(--red); border-radius: var(--radius); font-size: 0.85rem; cursor: pointer; } .header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; border-bottom: 1px solid var(--border); } .nav { display: flex; gap: 1.25rem; } .navLink { color: var(--text-2); cursor: pointer; font-size: 0.9rem; background: none; border: none; padding: 0.3rem 0; } .navLinkActive { color: var(--blue); border-bottom: 2px solid var(--blue); } .content { max-width: 1000px; margin: 1.5rem auto; padding: 0 1.5rem; } .statGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; } .statCard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; } .statValue { font-size: 1.6rem; font-weight: 700; } .statLabel { color: var(--text-2); font-size: 0.78rem; margin-top: 0.2rem; } .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem; } .card h2, .card h3 { margin-bottom: 0.75rem; font-size: 1rem; } table { width: 100%; border-collapse: collapse; font-size: 0.85rem; } th { text-align: left; color: var(--text-2); font-weight: 600; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--border2); font-size: 0.75rem; text-transform: uppercase; } td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--border); } tr:hover td { background: var(--surface2); } .pill { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-family: var(--mono); } .pillOk { background: var(--green-dim); color: var(--green); } .pillWarn { background: var(--amber-dim); color: var(--amber); } .pillErr { background: var(--red-dim); color: var(--red); } .pillMuted { background: var(--surface3); color: var(--text-2); } .formRow { display: flex; gap: 0.5rem; align-items: end; margin-bottom: 1rem; flex-wrap: wrap; } .formRow > div { flex: 1; min-width: 140px; } .linkBtn { background: none; border: none; color: var(--blue); cursor: pointer; font-size: 0.85rem; padding: 0; text-decoration: underline; } .errorBox { background: var(--red-dim); color: var(--red); border: 1px solid var(--red); border-radius: var(--radius); padding: 0.6rem 0.8rem; font-size: 0.85rem; margin-bottom: 1rem; } .muted { color: var(--text-2); font-size: 0.85rem; }