*{box-sizing:border-box}body{margin:0;background:#f5f7fc;color:#17233b;font:14px Arial,sans-serif}header{height:72px;background:#fff;border-bottom:1px solid #e0e6f0;display:flex;align-items:center;justify-content:space-between;padding:0 3%;gap:20px}.brand{display:flex;align-items:center;gap:10px}.brand b{font-size:21px}.brand b span{color:#2854ed}.brand small,.profile small{display:block;color:#75829a;font-size:10px;margin-top:4px}.logo{background:#5365ef;color:white;border-radius:13px;padding:12px;font-size:20px}nav{display:flex;gap:25px}a{color:#3156e8;text-decoration:none;font-weight:600}.profile{text-align:right;font-size:12px}.profile a{margin-left:8px;font-size:11px}main{max-width:1500px;margin:30px auto;padding:0 16px}.card{background:#fff;border:1px solid #dfe5ef;border-radius:14px;padding:24px;margin-bottom:20px;box-shadow:0 2px 7px #24395b08}h1,h2,h3{margin-top:0}h2{font-size:21px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.btn,button{display:inline-block;background:#2d55ed;color:#fff;border:0;border-radius:10px;padding:12px 18px;font-weight:bold;cursor:pointer}.secondary{background:#fff;color:#334766;border:1px solid #cbd5e5}.finish{background:#16834a}.exam-head{background:#fff;border:1px solid #e0e6f0;border-radius:12px;padding:18px 26px;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.exam-head p{color:#71809a;margin-bottom:0}.timer{background:#fff2e5;color:#d86a12;padding:14px;border-radius:10px;font-size:20px;font-weight:bold}.exam-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(290px,.9fr);gap:22px}.eyebrow{color:#2854ed;font-weight:bold;margin-bottom:16px}.question h2{line-height:1.45}.zh{color:#65738a}.choice{display:flex;align-items:center;gap:14px;border:1px solid #d6deeb;border-radius:11px;padding:14px;margin:10px 0;cursor:pointer}.choice:has(input:checked){border-color:#3156ed;background:#f3f6ff}.choice input{accent-color:#3156ed}.choice b{border:1px solid #b8c5d9;border-radius:50%;padding:5px 8px}.choice span{flex:1}.choice small{display:block;margin-top:5px}.actions{display:flex;justify-content:space-between;margin-top:26px}.nav-card{height:max-content}.nav-card p{color:#71809a;font-size:12px}.dot{display:inline-block;width:9px;height:9px;background:#dfe4ed;border-radius:3px;margin:0 5px}.dot.blue{background:#3156ed}.numbers{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.num{background:#eef1f6;color:#50617e;padding:12px 4px}.num.current{background:#3156ed;color:#fff}.num.answered{background:#dce7ff;color:#2449c9}.num.current.answered{background:#3156ed;color:#fff}.login{max-width:420px;margin:70px auto}.login input,form input,textarea,select{width:100%;padding:11px;border:1px solid #d4dce9;border-radius:8px;margin:6px 0 14px;font:inherit}label{display:block;font-weight:600;margin-top:8px}form button{margin-top:8px}.result{text-align:center;max-width:520px;margin:60px auto}.score{font-size:54px;font-weight:bold;color:#3156ed;margin:20px}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:12px;border-bottom:1px solid #e5eaf1}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wide{grid-column:1/-1}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.inline{display:inline}.flash{background:#fff2d9;padding:12px;text-align:center}.zh{font-size:13px}@media(max-width:850px){header{height:auto;padding:14px;flex-wrap:wrap}nav{order:3;width:100%;justify-content:center;gap:14px}.exam-layout,.admin-grid{grid-template-columns:1fr}.wide{grid-column:auto}.profile{margin-left:auto}.exam-head{padding:14px}.actions{gap:8px}.actions button{padding:11px}.option-grid{grid-template-columns:1fr}}

/* SCZB TRYOUT update */
.filter{max-width:360px;margin:0 0 18px}.filter select{margin-top:6px}.tag,.qtype{display:inline-block;background:#eef2ff;color:#3049b8;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:700;margin-bottom:12px}.muted,.exam-row p{color:#71809a}.exam-row{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #e5eaf1;padding:12px 0}.exam-row p{margin:6px 0}.exam-row form{margin:0}.exam-row button{margin:0}.qtype{background:#f0f4fa;color:#53647d}.question{min-height:280px}.question h2{white-space:pre-line}.question-card .choice span{white-space:pre-line}small{line-height:1.5}


/* FIX: tata letak pilihan jawaban ujian */
.question-card .choice{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-width:0;padding:14px 16px;text-align:left;}
.question-card .choice input[type="radio"],
.question-card .choice input[type="checkbox"]{appearance:auto;-webkit-appearance:auto;width:18px;height:18px;min-width:18px;max-width:18px;flex:0 0 18px;margin:0;padding:0;accent-color:#3156ed;}
.question-card .choice b{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid #b8c5d9;border-radius:50%;font-size:14px;}
.question-card .choice span{display:block;flex:1 1 auto;min-width:0;white-space:pre-line;overflow-wrap:anywhere;line-height:1.5;text-align:left;}
.question-card .choice small{display:block;margin-top:5px;line-height:1.45;}
.question-card form input[type="radio"],.question-card form input[type="checkbox"]{width:18px;margin:0;padding:0;}
@media(max-width:600px){.question-card{padding:16px}.question-card .choice{gap:10px;padding:12px}.question-card .choice b{flex-basis:30px;width:30px;height:30px}}

/* Navigasi ujian: biru jelas untuk soal yang sudah dijawab */
.numbers .num.answered{background:#3156ed!important;color:#fff!important;border:1px solid #3156ed!important}
.numbers .num.current{background:#1738b8!important;color:#fff!important;outline:2px solid #9db2ff;outline-offset:1px}
.numbers .num.current.answered{background:#1738b8!important;color:#fff!important}

/* Mode terang dan malam SCZB TRYOUT */
.theme-toggle{background:#eef2ff;color:#263d9b;border:1px solid #d5defa;border-radius:9px;padding:8px 11px;font-size:12px;margin-right:8px;white-space:nowrap}
html[data-theme="dark"] body{background:#101827;color:#e7edf8}
html[data-theme="dark"] header,html[data-theme="dark"] .card,html[data-theme="dark"] .exam-head,html[data-theme="dark"] .timer{background:#1b2638;color:#e7edf8;border-color:#344258}
html[data-theme="dark"] .brand small,html[data-theme="dark"] .profile small,html[data-theme="dark"] .zh,html[data-theme="dark"] .muted,html[data-theme="dark"] .exam-row p,html[data-theme="dark"] .nav-card p{color:#a8b6cc}
html[data-theme="dark"] a{color:#91aaff}
html[data-theme="dark"] .theme-toggle{background:#344258;color:#f5d77b;border-color:#52627a}
html[data-theme="dark"] .secondary{background:#263449;color:#e7edf8;border-color:#52627a}
html[data-theme="dark"] .choice{background:#202d41;border-color:#46566e;color:#e7edf8}
html[data-theme="dark"] .choice:has(input:checked){background:#263d68;border-color:#7192ff}
html[data-theme="dark"] .choice b{border-color:#70819b}
html[data-theme="dark"] .numbers .num{background:#2a374b;color:#dbe5f5}
html[data-theme="dark"] .numbers .num.answered,html[data-theme="dark"] .numbers .num.current,html[data-theme="dark"] .numbers .num.current.answered{background:#3156ed!important;color:#fff!important;border-color:#6685ff!important}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#202d41;color:#e7edf8;border-color:#52627a}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#a8b6cc}
html[data-theme="dark"] td,html[data-theme="dark"] th{border-color:#344258;color:#e7edf8}
html[data-theme="dark"] .tag,html[data-theme="dark"] .qtype{background:#293b61;color:#c8d6ff}
html[data-theme="dark"] .flash{background:#59451f;color:#ffe4a3}
html[data-theme="dark"] .timer{background:#49351f;color:#ffc27c}
html[data-theme="dark"] .dot{background:#52627a}
html[data-theme="dark"] .dot.blue{background:#6685ff}
@media(max-width:600px){.theme-toggle{margin:0 0 6px 6px}.profile{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:5px}}


/* Registrasi karyawan dan aktivasi admin */
.register-wrap{max-width:760px;margin:24px auto 50px}
.register-heading{margin:0 0 20px}
.register-eyebrow{color:#3156ed;font-size:12px;font-weight:800;letter-spacing:1.5px;margin-bottom:12px}
.register-heading h1{font-size:32px;letter-spacing:-1px;margin:0 0 8px;color:#172b50}
.register-heading h1 span{color:#3156ed}
.register-heading p{color:#71809a;font-size:15px;line-height:1.5;margin:0}
.register-form{display:grid;gap:14px}
.register-section{background:#fff;border:1px solid #e0e7f2;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px #29436b08;padding:0 16px 12px}
.section-head{display:flex;align-items:center;gap:11px;background:#f8f9ff;margin:0 -16px 12px;padding:12px}
.section-icon{width:36px;height:36px;border-radius:11px;background:#edf0ff;color:#3156ed;display:grid;place-items:center;font-size:20px}
.section-head b{display:block;color:#203451;font-size:13px}
.section-head small{display:block;color:#8492aa;font-size:10px;margin-top:4px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.field-grid.one{grid-template-columns:1fr}
.register-section label{font-size:12px;color:#263b5b;margin-top:4px}
.register-section label em{color:#ef4444;font-style:normal}
.register-section input{height:47px;border:1px solid #cbd8ed;border-radius:10px;padding:0 13px;margin:7px 0 8px;box-shadow:0 1px 2px #1c376008}
.register-section input:focus{outline:2px solid #dce5ff;border-color:#6384ff}
.register-section input::placeholder{color:#8b9bb5}
.register-submit{width:100%;height:52px;border-radius:11px;background:#315cf4;box-shadow:0 9px 18px #315cf43b;font-size:15px;margin-top:4px}
.register-submit span{font-size:24px;vertical-align:-2px;margin-left:8px}
.register-note{background:#effcf8;color:#28735f;border-radius:12px;padding:13px 15px;font-size:12px;font-weight:700}
.register-note small{display:block;color:#62877e;font-weight:400;margin:5px 0 0 18px}
.register-hint{text-align:center;color:#71809a;font-size:13px}
.login .full-btn{width:100%}
.approval-actions{white-space:nowrap}
.approval-actions form{display:inline-block;margin:0 4px 0 0}
.approve-btn{background:#16834a;padding:9px 12px}
@media(max-width:600px){
 .register-wrap{margin:14px auto 30px}
 .register-heading h1{font-size:27px}
 .field-grid{grid-template-columns:1fr}
 .register-section{padding:0 12px 10px}
 .section-head{margin:0 -12px 10px}
 .approval-actions{white-space:normal}
}
html[data-theme="dark"] .register-heading h1{color:#e7edf8}
html[data-theme="dark"] .register-heading p,html[data-theme="dark"] .register-hint{color:#a8b6cc}
html[data-theme="dark"] .register-section{background:#1b2638;border-color:#344258}
html[data-theme="dark"] .section-head{background:#202d41}
html[data-theme="dark"] .section-head b,html[data-theme="dark"] .register-section label{color:#e7edf8}
html[data-theme="dark"] .register-section small{color:#a8b6cc}
html[data-theme="dark"] .register-note{background:#173b36;color:#a8ead6}
html[data-theme="dark"] .register-note small{color:#b5d8ce}

/* Tombol hapus file bank soal */
.danger-btn{background:#c62828!important;color:#fff!important;border:0!important;padding:8px 14px!important;border-radius:8px!important;font-weight:700;cursor:pointer}
.danger-btn:hover{background:#a61f1f!important}

/* Halaman login modern SCZB TRYOUT */
body:has(.auth-shell){background:linear-gradient(135deg,#edf3ff 0%,#f7f9ff 55%,#eaf0ff 100%);min-height:100vh}
body:has(.auth-shell) main{max-width:none;margin:0;padding:4px 12px 14px}
.auth-shell{max-width:920px;margin:0 auto;min-height:calc(100vh - 18px);display:flex;align-items:center;justify-content:center}
.auth-card{width:100%;background:rgba(255,255,255,.96);border:1px solid #dce5f5;border-radius:24px;padding:32px 36px 30px;box-shadow:0 18px 50px rgba(35,68,130,.10)}
.auth-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}
.auth-brand{display:flex;align-items:center;gap:13px;color:#142849;text-decoration:none}
.auth-logo {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.10);
}

.auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.auth-brand-copy strong{font-size:25px;letter-spacing:-1.1px;white-space:nowrap}.auth-brand-copy strong span{color:#315cf4}
.auth-brand-copy small{display:block;color:#7d8da8;font-size:11px;font-weight:700;margin-top:3px}
.auth-tools{display:flex;align-items:center;gap:12px}
.auth-theme{width:42px;height:42px;padding:0;border-radius:50%;background:#f8faff;color:#667895;border:1px solid #e0e8f6;font-size:24px;box-shadow:0 3px 10px #29436b0a}
.language-switch{display:flex;align-items:center;gap:4px;background:#eef2fb;border:1px solid #e0e7f5;border-radius:24px;padding:4px}
.language-switch a{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#62728c;font-size:12px;font-weight:800}
.language-switch a.active{background:#5a5be9;color:#fff;box-shadow:0 3px 8px #5a5be944}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f0f3f9;border-radius:15px;padding:3px;margin-bottom:28px}
.auth-tabs a{height:52px;display:grid;place-items:center;border-radius:12px;color:#697890;font-size:16px;font-weight:800}
.auth-tabs a.selected{background:#fff;color:#315cf4;border:2px solid #315cf4;box-shadow:0 1px 4px #315cf41c}
.auth-heading{margin-bottom:24px}.auth-eyebrow{color:#315cf4;font-size:12px;letter-spacing:1.7px;font-weight:900;margin-bottom:10px}
.auth-heading h1{font-size:34px;letter-spacing:-1.5px;line-height:1.15;color:#172b50;margin:0 0 8px}
.auth-heading h1 span{color:#244fc4}.auth-heading p{font-size:15px;line-height:1.5;color:#74839d;margin:0}
.auth-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.auth-field label{font-size:13px;font-weight:800;color:#203452;margin:0 0 8px;display:block}
.auth-input-wrap{height:54px;display:flex;align-items:center;gap:11px;border:1px solid #cbd8ed;border-radius:11px;background:#fff;padding:0 13px;box-shadow:0 2px 5px #23436b08}
.auth-input-wrap:focus-within{border-color:#6484ff;box-shadow:0 0 0 3px #dfe7ff}
.auth-input-wrap .field-icon{font-size:18px;color:#8293b0;flex:0 0 auto}
.auth-input-wrap input{height:100%;min-width:0;flex:1;border:0!important;outline:0!important;box-shadow:none!important;padding:0!important;margin:0!important;background:transparent!important;font-size:14px;color:#203452}
.auth-input-wrap input::placeholder{color:#8b9bb5}
.auth-input-wrap .show-password{background:transparent;color:#7183a1;padding:4px;font-size:18px;margin:0;line-height:1}
.auth-forgot{text-align:right;margin:12px 0 42px}.auth-forgot a{font-size:12px;font-weight:800}
.auth-submit{height:54px;width:100%;border-radius:11px;background:linear-gradient(100deg,#2855f4,#315ff1);box-shadow:0 10px 20px #315cf43b;font-size:16px;font-weight:900}
.auth-submit span{font-size:27px;line-height:0;vertical-align:-2px;margin-left:9px}
.auth-note{margin-top:15px;padding:16px 14px;border-radius:11px;background:#effcf8;color:#397766;font-size:12px;display:flex;align-items:center;gap:10px}
.auth-note span{color:#24b99a;font-size:17px}
html[data-theme="dark"] body:has(.auth-shell){background:linear-gradient(135deg,#101827,#17243a)}
html[data-theme="dark"] .auth-card{background:#1b2638;border-color:#344258;box-shadow:0 18px 50px #0004}
html[data-theme="dark"] .auth-brand,html[data-theme="dark"] .auth-heading h1,html[data-theme="dark"] .auth-field label{color:#e7edf8}
html[data-theme="dark"] .auth-brand-copy small,html[data-theme="dark"] .auth-heading p{color:#a8b6cc}
html[data-theme="dark"] .auth-tabs,html[data-theme="dark"] .language-switch{background:#263449;border-color:#40516b}
html[data-theme="dark"] .auth-tabs a{color:#b7c4d8}html[data-theme="dark"] .auth-tabs a.selected{background:#1b2638;color:#91aaff;border-color:#6685ff}
html[data-theme="dark"] .auth-theme{background:#263449;color:#f5d77b;border-color:#40516b}
html[data-theme="dark"] .auth-input-wrap{background:#202d41;border-color:#52627a}
html[data-theme="dark"] .auth-input-wrap input{color:#e7edf8}
html[data-theme="dark"] .auth-note{background:#173b36;color:#b5e8d8}
@media(max-width:650px){body:has(.auth-shell) main{padding:4px 10px}.auth-shell{min-height:calc(100vh - 18px);align-items:flex-start;padding:8px 0}.auth-card{padding:22px 18px;border-radius:20px}.auth-top{margin-bottom:22px}.auth-logo{width:46px;height:46px;border-radius:14px}.auth-brand-copy strong{font-size:21px}.auth-theme{width:38px;height:38px}.auth-tools{gap:7px}.auth-fields{grid-template-columns:1fr;gap:15px}.auth-heading h1{font-size:29px}.auth-forgot{margin-bottom:30px}.auth-tabs a{height:48px}}
.brand .logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 10px;
}

.brand .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}