:root { color-scheme: dark; --ink:#08111f; --surface:rgba(17,31,53,.82); --surface-2:#13233b; --line:rgba(125,161,205,.26); --text:#f4f8ff; --muted:#9bafd0; --cyan:#35c5ff; --violet:#8b5cf6; --green:#34d399; --red:#fb7185; }
* { box-sizing:border-box; }
body { background:var(--ink); color:var(--text); font:16px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; margin:0; min-height:100vh; }
body::before { background:radial-gradient(circle at 20% 15%,rgba(53,197,255,.18),transparent 26rem),radial-gradient(circle at 85% 85%,rgba(139,92,246,.18),transparent 28rem),linear-gradient(rgba(82,117,158,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(82,117,158,.08) 1px,transparent 1px); background-size:auto,auto,42px 42px,42px 42px; content:""; inset:0; pointer-events:none; position:fixed; }
.auth-layout { align-items:center; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr); gap:56px; margin:0 auto; max-width:1180px; min-height:100vh; padding:36px; position:relative; }
.brand-kicker { color:var(--cyan); font-size:.75rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
.brand h1 { font-size:clamp(2.5rem,5vw,4.6rem); letter-spacing:-.055em; line-height:.96; margin:14px 0 20px; max-width:620px; }
.brand h1 span { background:linear-gradient(90deg,var(--cyan),#a78bfa); -webkit-background-clip:text; background-clip:text; color:transparent; }
.brand p { color:var(--muted); font-size:1.08rem; max-width:510px; }
.signal-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.signal { align-items:center; background:rgba(11,24,43,.58); border:1px solid var(--line); border-radius:999px; color:#c9daf5; display:flex; font-size:.84rem; gap:8px; padding:8px 12px; }
.signal::before { background:var(--green); border-radius:50%; box-shadow:0 0 14px var(--green); content:""; height:7px; width:7px; }
.module-preview { margin-top:30px; }.module-preview>p { color:#d8e5f8; font-size:.82rem; font-weight:800; letter-spacing:.12em; margin:0 0 12px; text-transform:uppercase; }.module-preview-group+.module-preview-group { margin-top:14px; }.module-preview-label { color:var(--muted); display:block; font-size:.72rem; font-weight:800; letter-spacing:.1em; margin-bottom:8px; text-transform:uppercase; }.module-chip-row { display:flex; flex-wrap:wrap; gap:10px; }.module-chip { background:rgba(10,27,48,.72); border:1px solid rgba(53,197,255,.35); border-radius:10px; color:#bcecff; font-size:.86rem; font-weight:750; padding:10px 12px; }
.auth-card,.admin-card { backdrop-filter:blur(20px); background:var(--surface); border:1px solid var(--line); border-radius:22px; box-shadow:0 24px 70px rgba(0,0,0,.3); padding:34px; }
.auth-card::before { background:linear-gradient(90deg,var(--cyan),var(--violet)); border-radius:22px 22px 0 0; content:""; height:2px; left:0; position:absolute; right:0; top:0; }
.auth-card { position:relative; }
.auth-card h2,.admin-card h1 { font-size:1.6rem; letter-spacing:-.025em; margin:0 0 6px; }
.subcopy { color:var(--muted); margin:0 0 28px; }
label { color:#d8e5f8; display:block; font-size:.85rem; font-weight:750; margin:0 0 7px; }
.field { margin-bottom:18px; }
input,select,textarea { background:rgba(5,14,28,.7); border:1px solid var(--line); border-radius:10px; color:var(--text); font:inherit; outline:0; padding:13px 14px; width:100%; }
textarea { min-height:92px; resize:vertical; }
input:focus,select:focus,textarea:focus { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(53,197,255,.13); }
.primary,.secondary,.danger { border:0; border-radius:10px; cursor:pointer; font:700 .95rem inherit; padding:13px 16px; text-decoration:none; }
.primary { background:linear-gradient(105deg,#1ca9ed,#7565f1); box-shadow:0 10px 24px rgba(38,139,230,.25); color:white; width:100%; }
.primary:hover { filter:brightness(1.12); transform:translateY(-1px); }
.secondary { background:transparent; border:1px solid var(--line); color:var(--text); }
.danger { background:transparent; border:1px solid var(--red); color:#fecdd3; }
.flash { border:1px solid; border-radius:10px; margin:0 0 20px; padding:11px 13px; }
.flash.error { background:rgba(190,24,93,.14); border-color:rgba(251,113,133,.45); color:#fecdd3; }
.flash.success { background:rgba(5,150,105,.13); border-color:rgba(52,211,153,.4); color:#bbf7d0; }
.auth-note { color:var(--muted); font-size:.82rem; margin:18px 0 0; text-align:center; }
.auth-note a,.flash a { color:#8bddff; font-weight:700; }
.admin-layout { margin:0 auto; max-width:1180px; padding:34px; position:relative; }
.admin-header { align-items:center; display:flex; justify-content:space-between; margin-bottom:28px; }
.admin-header h1 { font-size:1.7rem; margin:0; }
.admin-nav { border-bottom:1px solid var(--line); display:flex; gap:8px; margin:-8px 0 26px; overflow-x:auto; padding-bottom:10px; }
.admin-nav a { border:1px solid transparent; border-radius:10px; color:var(--muted); flex:0 0 auto; font-size:.86rem; font-weight:750; padding:9px 12px; text-decoration:none; }
.admin-nav a:hover { background:rgba(53,197,255,.07); color:var(--text); }
.admin-nav a.active { background:rgba(53,197,255,.12); border-color:rgba(53,197,255,.35); color:#bcecff; }
.admin-grid { display:grid; gap:24px; grid-template-columns:minmax(320px,.75fr) minmax(0,1.25fr); }
.admin-card { padding:26px; }
.admin-card h2 { font-size:1.1rem; margin:0 0 20px; }
.dashboard-grid { display:grid; gap:20px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.dashboard-card { background:var(--surface); border:1px solid var(--line); border-radius:20px; color:var(--text); display:flex; flex-direction:column; min-height:245px; padding:26px; text-decoration:none; transition:border-color .18s ease,transform .18s ease; }
.dashboard-card:hover { border-color:rgba(53,197,255,.62); transform:translateY(-2px); }
.dashboard-value { color:var(--cyan); font-size:2.6rem; font-weight:850; letter-spacing:-.05em; line-height:1; }
.dashboard-card h2 { font-size:1.15rem; margin:20px 0 8px; }
.dashboard-card p { color:var(--muted); font-size:.9rem; margin:0 0 20px; }
.dashboard-link { color:#8bddff; font-size:.86rem; font-weight:750; margin-top:auto; }
.dashboard-secondary { align-items:center; display:flex; justify-content:space-between; margin-top:22px; }
.dashboard-secondary h2,.section-heading h2 { margin-bottom:5px; }
.dashboard-secondary .subcopy,.section-heading .subcopy { margin-bottom:0; }
.section-heading { align-items:flex-start; display:flex; gap:18px; justify-content:space-between; margin-bottom:18px; }
.count-pill { align-items:center; background:rgba(53,197,255,.12); border:1px solid rgba(53,197,255,.35); border-radius:999px; color:#bcecff; display:inline-flex; font-size:.82rem; font-weight:800; justify-content:center; min-width:36px; padding:5px 10px; }
.empty-state { border:1px dashed var(--line); border-radius:14px; color:var(--muted); padding:36px 22px; text-align:center; }
.empty-state h3 { color:var(--text); margin:0 0 5px; }.empty-state p { margin:0; }
.table-scroll { overflow:auto; }.note-cell { max-width:360px; white-space:pre-wrap; }.module-activity { min-width:420px; }.credential-card { margin-bottom:24px; }.users-grid { align-items:start; grid-template-columns:minmax(280px,.55fr) minmax(0,1.45fr); }
.expiry-settings { align-items:center; display:flex; gap:24px; justify-content:space-between; margin-bottom:24px; }.expiry-settings h2 { margin-bottom:5px; }.expiry-settings .subcopy { margin:0; }.expiry-form { align-items:end; display:grid; flex:0 0 auto; gap:8px; grid-template-columns:90px auto; }.expiry-form label { grid-column:1/-1; margin:0; }.expiry-form input { padding:9px 10px; }.expiry-form button { padding:10px 14px; }
.activity-groups { align-items:start; display:grid; gap:24px; grid-template-columns:minmax(0,1fr); }.inactive-list { display:grid; gap:10px; }.inactive-person { align-items:center; background:rgba(5,14,28,.44); border:1px solid var(--line); border-radius:12px; display:flex; gap:12px; justify-content:space-between; padding:12px 14px; }
.delivery-note { background:rgba(245,158,11,.09); border:1px solid rgba(245,158,11,.35); border-radius:12px; color:#fde68a; display:grid; font-size:.84rem; gap:3px; margin-top:18px; padding:12px 14px; }.delivery-note span { color:#d8cda9; }
.actions { display:flex; flex-wrap:wrap; gap:10px; }
.temporary-pass { background:rgba(10,24,44,.82); border:1px dashed var(--cyan); border-radius:10px; color:#c8f2ff; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:1.15rem; letter-spacing:.05em; margin-top:12px; padding:13px; }
table { border-collapse:collapse; width:100%; }
th,td { border-bottom:1px solid var(--line); padding:12px 8px; text-align:left; vertical-align:middle; }
th { color:var(--muted); font-size:.74rem; letter-spacing:.08em; text-transform:uppercase; }
td { font-size:.9rem; }
.badge { border:1px solid var(--line); border-radius:999px; color:#c8d8f0; display:inline-block; font-size:.72rem; padding:3px 8px; }
.badge.invited { border-color:rgba(251,191,36,.5); color:#fde68a; }.badge.active { border-color:rgba(52,211,153,.5); color:#bbf7d0; }.badge.disabled { border-color:rgba(251,113,133,.5); color:#fecdd3; }
.inline-form { display:inline; }.inline-form button { font-size:.78rem; padding:7px 9px; }
.user-name { font-weight:700; }.user-email { color:var(--muted); font-size:.8rem; }
.site-credit-link { bottom:18px; color:var(--muted); font-size:.8rem; left:50%; position:fixed; text-decoration:none; transform:translateX(-50%); z-index:2; }
.site-credit-link:hover { color:var(--cyan); }
.credits-layout { margin:0 auto; max-width:1180px; padding:54px 34px; position:relative; }
.credits-header { align-items:flex-start; display:flex; gap:28px; justify-content:space-between; margin-bottom:28px; }
.credits-header h1 { font-size:clamp(2.2rem,5vw,4rem); letter-spacing:-.05em; line-height:1; margin:12px 0 14px; }
.credits-header p { color:var(--muted); margin:0; max-width:680px; }
.credits-intro { background:linear-gradient(110deg,rgba(53,197,255,.11),rgba(139,92,246,.1)); border:1px solid var(--line); border-radius:18px; color:#d7e5f8; margin-bottom:38px; padding:22px 24px; }
.credits-intro p,.credits-footer p { margin:0; }
.credits-section { margin-top:38px; }
.credits-section h2 { font-size:1rem; letter-spacing:.1em; margin:0 0 16px; text-transform:uppercase; }
.credits-grid { display:grid; gap:16px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.credit-card { background:var(--surface); border:1px solid var(--line); border-radius:16px; display:flex; flex-direction:column; min-height:230px; padding:22px; }
.credit-source { color:var(--cyan); font-size:.7rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.credit-card h3 { font-size:1.08rem; line-height:1.3; margin:10px 0 4px; }
.credit-card p { color:var(--muted); font-size:.9rem; margin:10px 0 18px; }
.credit-card .credit-author { color:#d7e5f8; font-size:.8rem; margin:0; }
.credit-card a { color:#8bddff; font-size:.86rem; font-weight:750; margin-top:auto; text-decoration:none; }
.credit-card a:hover { color:white; }
.credits-footer { border-top:1px solid var(--line); color:var(--muted); font-size:.8rem; margin-top:42px; padding-top:20px; }
@media (max-width:820px) { .auth-layout,.admin-grid,.dashboard-grid,.activity-groups { grid-template-columns:1fr; }.auth-layout { gap:24px; padding:22px; }.brand h1 { font-size:2.7rem; }.admin-layout { padding:20px; }.admin-header { align-items:flex-start; flex-direction:column; gap:14px; }.auth-card,.admin-card { padding:24px; }.dashboard-card { min-height:190px; }.dashboard-secondary,.expiry-settings { align-items:flex-start; flex-direction:column; gap:16px; } }
@media (max-width:900px) { .credits-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px) { .credits-layout { padding:32px 20px; }.credits-header { flex-direction:column; }.credits-grid { grid-template-columns:1fr; }.credit-card { min-height:0; } }
.catalog-layout,.module-layout { margin:0 auto; max-width:1240px; padding:34px; position:relative; }.catalog-header,.module-page-header { align-items:flex-start; display:flex; gap:28px; justify-content:space-between; margin-bottom:28px; }.catalog-header h1,.module-page-header h1 { font-size:clamp(2rem,4vw,3.4rem); letter-spacing:-.045em; margin:5px 0 8px; }.catalog-header p,.module-page-header p { color:var(--muted); margin:0; max-width:700px; }.exam-callout { align-items:center; background:linear-gradient(110deg,rgba(53,197,255,.15),rgba(139,92,246,.16)); border:1px solid var(--line); border-radius:22px; display:flex; gap:30px; justify-content:space-between; margin-bottom:38px; padding:28px; }.exam-callout h2 { margin:6px 0; }.exam-callout p { color:var(--muted); margin:0; }.catalog-action { display:inline-block; flex:0 0 auto; width:auto; }.catalog-section { margin:34px 0; }.catalog-section>h2 { font-size:.85rem; letter-spacing:.13em; text-transform:uppercase; }.catalog-grid { display:grid; gap:16px; grid-template-columns:repeat(3,minmax(0,1fr)); }.module-card { background:var(--surface); border:1px solid var(--line); border-radius:17px; color:var(--text); display:flex; flex-direction:column; min-height:210px; padding:22px; text-decoration:none; transition:.18s ease; }.module-card:hover { border-color:var(--cyan); transform:translateY(-2px); }.module-card>span { color:var(--cyan); font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }.module-card h3 { margin:12px 0 7px; }.module-card p { color:var(--muted); font-size:.9rem; margin:0 0 18px; }.module-card strong { color:#8bddff; font-size:.86rem; margin-top:auto; }.module-frame-shell { background:var(--surface); border:1px solid var(--line); border-radius:20px; overflow:hidden; }.module-frame-shell iframe { background:#0f172a; border:0; display:block; min-height:620px; width:100%; }@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.catalog-layout,.module-layout{padding:20px}.catalog-header,.module-page-header,.exam-callout{flex-direction:column}.catalog-grid{grid-template-columns:1fr}}
