@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#17243b;--muted:#738098;--primary:#4d63e8;--primary-dark:#3449c9;--line:#e8edf5;--soft:#f5f7fc;--navy:#17243d;--green:#16a477}*{box-sizing:border-box}body{background:#f6f8fc;color:var(--ink);font-family:'DM Sans',sans-serif;min-height:100vh}.app-nav{background:linear-gradient(105deg,#182641,#263d65);padding:15px 0;box-shadow:0 5px 22px #17243b18}.navbar-brand{font-family:Manrope,sans-serif;letter-spacing:-.5px}.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#ffffff20;color:white;margin-right:5px}.site-footer{color:#8b96a9}.panel,.exam-card{background:white;border:1px solid var(--line);border-radius:19px;box-shadow:0 8px 28px #1b2b4910}.btn{border-radius:10px;font-weight:600}.btn-primary{background:var(--primary);border-color:var(--primary)}.btn-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark)}.form-control,.form-select{border-color:#dfe5ef;border-radius:10px;padding:11px 13px}.form-control:focus,.form-select:focus{border-color:#9aa8ff;box-shadow:0 0 0 .2rem #4d63e81c}.portal-hero{min-height:270px;border-radius:25px;overflow:hidden;position:relative;background:linear-gradient(112deg,#172641 0%,#263e70 55%,#5365d9 100%);color:#fff;padding:38px 44px;display:flex;align-items:center;justify-content:space-between}.hero-copy{position:relative;z-index:2}.eyebrow,.section-kicker{font-size:.72rem;font-weight:800;letter-spacing:1.6px;color:#8997ff}.portal-hero .eyebrow{color:#c1caff}.portal-hero h1{font:800 clamp(2rem,4vw,3.1rem)/1.08 Manrope,sans-serif;letter-spacing:-1.5px;margin:13px 0}.portal-hero p{color:#d5dcf1;margin:0}.hero-pills{display:flex;gap:22px;margin-top:23px;color:#dce4ff;font-size:.85rem}.hero-pills i{margin-right:7px}.hero-art{position:relative;width:300px;height:210px;display:grid;place-items:center}.hero-orbit{position:absolute;border:1px solid #ffffff32;border-radius:50%;transform:rotate(-25deg)}.orbit-one{width:270px;height:140px}.orbit-two{width:220px;height:190px}.hero-icon{width:110px;height:110px;border-radius:32px;background:linear-gradient(145deg,#ffffff,#dbe2ff);display:grid;place-items:center;color:#465bdd;font-size:3rem;box-shadow:0 20px 50px #101d4b55;transform:rotate(-8deg)}.floating-chip{position:absolute;background:white;color:#26385f;border-radius:12px;padding:9px 13px;font-size:.75rem;font-weight:700;box-shadow:0 8px 22px #101d4b33}.chip-one{top:24px;right:4px}.chip-one i{color:var(--green);margin-right:5px}.chip-two{bottom:20px;left:2px}.section-kicker{color:var(--primary);margin-bottom:7px}.section-title{font:800 1.65rem Manrope,sans-serif;letter-spacing:-.7px}.count-pill{background:#fff;border:1px solid var(--line);border-radius:30px;padding:10px 15px;color:#66738a;font-size:.85rem}.exam-card{overflow:hidden;transition:transform .22s,box-shadow .22s}.exam-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px #26365b18}.exam-image-wrap{height:185px;display:block;position:relative;overflow:hidden;background:#e9edfa}.exam-thumb{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.exam-card:hover .exam-thumb{transform:scale(1.035)}.exam-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#e6eaff,#d9e4f8);color:#6678df;font-size:3rem}.image-badge{position:absolute;top:14px;left:14px;background:#fff;color:#1b9b76;border-radius:20px;padding:6px 10px;font-size:.64rem;font-weight:800;letter-spacing:.8px}.exam-card-body{padding:21px}.exam-type{font-size:.66rem;letter-spacing:1.2px;color:var(--primary);font-weight:800}.attempt-note{font-size:.7rem;color:#77839a}.exam-card h3{font:800 1.18rem Manrope,sans-serif;margin:8px 0}.exam-description{color:#7c879a;font-size:.86rem;line-height:1.55;min-height:42px;margin-bottom:18px}.exam-meta{display:flex;flex-wrap:wrap;gap:12px;color:#65728a;font-size:.76rem;border-top:1px solid #eef1f6;padding-top:14px}.exam-meta i{color:#6879e8;margin-right:5px}.exam-start{margin-top:18px;width:100%;padding:11px}.empty-state{text-align:center;padding:70px 20px;background:#fff;border:1px dashed #d7deea;border-radius:20px}.empty-icon{width:70px;height:70px;display:grid;place-items:center;background:#eef1ff;color:#6474e8;border-radius:22px;margin:0 auto 17px;font-size:1.7rem}.empty-state h3{font:800 1.2rem Manrope}.empty-state p{color:#8390a4;max-width:440px;margin:8px auto 0}.exam-detail-hero,.exam-running-banner{height:300px;border-radius:22px;overflow:hidden;position:relative;background:linear-gradient(120deg,#192846,#5265d9)}.exam-detail-hero>img,.exam-running-banner>img{width:100%;height:100%;object-fit:cover}.detail-placeholder{height:100%;display:grid;place-items:center;color:#fff;font-size:5rem}.detail-overlay,.banner-shade{position:absolute;inset:0;background:linear-gradient(90deg,#101d38d9,#101d3820)}.detail-title,.banner-heading{position:absolute;left:5%;bottom:35px;color:#fff;max-width:80%}.detail-title h1,.banner-heading h1{font:800 clamp(1.7rem,4vw,2.7rem) Manrope;margin-top:8px}.instruction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.instruction-grid>div{background:#f6f8fd;border:1px solid #edf0f6;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:4px}.instruction-grid i{color:var(--primary);font-size:1.1rem}.instruction-grid strong{font:800 1.3rem Manrope}.instruction-grid span{font-size:.78rem;color:#7c8799}.instruction-list{color:#66738a;padding-left:20px;line-height:2}.detail-row{display:flex;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid var(--line);font-size:.84rem}.detail-row span{color:#8792a4}.detail-row strong{text-align:right}.exam-running-banner{height:220px;margin-bottom:22px}.banner-heading{bottom:25px}.running-heading h1{font:800 2rem Manrope}.exam-topline{display:flex;justify-content:space-between;align-items:center;color:#748098;font-weight:600}.timer-pill{background:#fff0f0;color:#dc4c57;border:1px solid #ffd9dc;padding:9px 14px;border-radius:11px;font-weight:800;font-variant-numeric:tabular-nums}.question-panel{padding:30px}.question-counter{font-size:.75rem;letter-spacing:1.2px;color:var(--primary);font-weight:800}.question-counter span{color:#9aa4b5}.question-section h2{font:700 clamp(1.2rem,2vw,1.55rem)/1.5 Manrope;margin-bottom:24px}.answer-list{display:grid;gap:12px}.answer-option{display:flex;align-items:center;gap:13px;padding:14px 16px;border:1px solid #e1e7f0;border-radius:13px;cursor:pointer;transition:.18s;background:#fff}.answer-option:hover{border-color:#aab5ff;background:#fafaff}.answer-option input{position:absolute;opacity:0}.answer-letter{width:34px;height:34px;border-radius:10px;background:#f1f3f9;display:grid;place-items:center;font-weight:800;color:#68758d;flex-shrink:0}.answer-text{flex:1;color:#34425b}.answer-check{color:var(--primary);opacity:0}.answer-option:has(input:checked){border-color:var(--primary);background:#f3f4ff;box-shadow:0 0 0 2px #4d63e815}.answer-option:has(input:checked) .answer-letter{background:var(--primary);color:#fff}.answer-option:has(input:checked) .answer-check{opacity:1}.navigator-panel{padding:22px;position:sticky;top:18px}.question-nav-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:20px 0}.qnav{height:42px;border:1px solid #e1e6ef;background:#fff;border-radius:10px;font-weight:700;color:#69768d}.qnav.answered{background:#e4f8f0;border-color:#a7e4ce;color:#14865f}.qnav.current{outline:3px solid #dfe3ff;border-color:var(--primary);color:var(--primary)}.nav-legend{display:flex;gap:15px;font-size:.7rem;color:#7e899b;margin-bottom:16px}.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#e1e6ef;margin-right:5px}.answered-dot{background:#45bd91}.exam-progress{height:6px;background:#edf0f7;margin-bottom:9px}.exam-progress .progress-bar{background:var(--primary)}.admin-body{background:#f5f7fb}.admin-topbar{background:#fff;border-bottom:1px solid var(--line);padding:13px 0}.admin-shell{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start}.admin-sidebar{background:#192944;border-radius:18px;padding:20px 13px;min-height:calc(100vh - 130px);position:sticky;top:18px}.sidebar-caption{font-size:.65rem;letter-spacing:1.5px;color:#8493b0;font-weight:800;padding:7px 12px 14px}.sidebar-link{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:11px;color:#c1cbe0;text-decoration:none;font-weight:600;font-size:.88rem;margin:3px 0}.sidebar-link i{width:18px;text-align:center}.sidebar-link:hover,.sidebar-link.active{background:#334a75;color:#fff}.sidebar-bottom{border-top:1px solid #ffffff20;margin-top:25px;padding:18px 10px 4px;color:#8fa0bf;font-size:.72rem}.admin-content{min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.page-heading h1{font:800 1.8rem Manrope;letter-spacing:-.7px;margin:0}.page-heading p{color:#8590a3;margin:5px 0 0}.table-panel{overflow:hidden}.table thead th{font-size:.72rem;text-transform:uppercase;letter-spacing:.8px;color:#8994a6;background:#fafbfe;padding:15px 17px;border-bottom:1px solid var(--line)}.table tbody td{padding:14px 17px;border-color:#f0f2f6}.table-thumb{width:56px;height:42px;border-radius:8px;object-fit:cover}.thumb-empty{display:grid;place-items:center;background:#eef1fa;color:#8b96b0}.status-pill{font-size:.7rem;font-weight:800;padding:6px 10px;border-radius:30px}.status-published{background:#e3f8ef;color:#15865e}.status-draft{background:#fff5df;color:#a87919}.status-inactive,.status-deleted{background:#f0f1f4;color:#7b8493}.upload-panel{background:#f8f9fd;border:1px solid var(--line);padding:18px;border-radius:15px}.image-preview{height:170px;background:#edf0f7;border:1px dashed #cbd3e2;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#8793a9;gap:8px;overflow:hidden;font-size:1.6rem}.image-preview span{font-size:.78rem}.image-preview img{width:100%;height:100%;object-fit:cover}.stat{padding:20px}.stat strong{font:800 2rem Manrope}.stat-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#eef0ff;color:var(--primary)}@media(max-width:991px){.hero-art{width:220px}.admin-shell{grid-template-columns:1fr}.admin-sidebar{min-height:0;position:static;display:flex;flex-wrap:wrap;gap:4px}.sidebar-caption,.sidebar-bottom{display:none}.sidebar-link{padding:9px 10px;margin:0}.navigator-panel{position:static}}@media(max-width:767px){.portal-hero{padding:28px 23px;min-height:250px}.hero-art{display:none}.portal-hero h1{font-size:2.1rem}.exam-image-wrap{height:175px}.exam-detail-hero{height:220px}.exam-running-banner{height:170px}.question-panel{padding:19px}.instruction-grid{gap:7px}.instruction-grid>div{padding:11px}.instruction-grid strong{font-size:1.1rem}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:1.5rem}.exam-topline{font-size:.85rem}}
