*{box-sizing:border-box;margin:0;padding:0}
:root{
    --blue:#2563eb;--blue2:#1d4ed8;--sky:#38bdf8;--ink:#050a16;--panel:#080d19;--soft:#f6f8fc;--line:#d9e1ee;--text:#0f172a;--muted:#64748b;
}
html,body{min-height:100%;font-family:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;background:#eef3fb;color:var(--text);overflow-x:hidden}
body{min-height:100dvh;display:grid;place-items:center;padding:0}
.page{width:100%;min-height:100dvh;display:grid;grid-template-columns:minmax(410px,41%) 1fr;background:#fff;position:relative;isolation:isolate}
.brand-corner{position:fixed;top:18px;left:24px;z-index:20;display:flex;align-items:center;gap:10px;color:#f8fbff;font-weight:900;letter-spacing:-.03em;font-size:18px;text-shadow:0 10px 25px rgba(0,0,0,.24)}
.brand-corner .bolt{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#1d4ed8,#38bdf8);box-shadow:0 12px 25px rgba(37,99,235,.35)}
.left{position:relative;display:flex;align-items:center;justify-content:center;padding:88px 48px 44px;background:linear-gradient(180deg,#fff 0%,#f7faff 100%)}
.left::before{content:"";position:absolute;inset:auto 0 0 0;height:180px;background:radial-gradient(circle at 20% 100%,rgba(37,99,235,.09),transparent 42%),radial-gradient(circle at 85% 100%,rgba(56,189,248,.12),transparent 36%);pointer-events:none}.login-wrap{width:min(100%,430px);position:relative;z-index:2}.logo{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;margin-bottom:26px;background:linear-gradient(135deg,#eaf3ff,#fff);box-shadow:0 18px 35px rgba(37,99,235,.18),inset 0 0 0 1px rgba(37,99,235,.09)}.logo i{font-size:28px;background:linear-gradient(135deg,#1d4ed8,#38bdf8);-webkit-background-clip:text;color:transparent}.title{font-size:38px;line-height:1.05;font-weight:900;letter-spacing:-.045em;color:#050816;margin-bottom:8px}.subtitle{font-size:14px;color:#64748b;line-height:1.65;margin-bottom:30px}.subtitle b{color:#0f172a}.field{margin-bottom:17px}.field label{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:12px;font-weight:900;color:#0f172a;letter-spacing:.01em}.input{position:relative}.input input{width:100%;height:54px;border:1px solid #d8e0eb;background:#fff;border-radius:13px;padding:0 48px 0 15px;font-size:14px;font-weight:600;color:#0f172a;outline:none;box-shadow:0 1px 0 rgba(15,23,42,.02);transition:.18s ease}.input input::placeholder{font-weight:500;color:#96a3b6}.input input:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12),0 14px 30px rgba(15,23,42,.06)}.input i{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#64748b;cursor:pointer}.meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 22px}.check{display:flex;align-items:center;gap:9px;color:#334155;font-size:13px;font-weight:600}.check input{width:18px;height:18px;accent-color:#2563eb}.meta-row a{font-size:13px;font-weight:800;color:#0f172a;text-decoration:underline;text-underline-offset:3px}.btn{width:100%;height:56px;border:0;border-radius:13px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-size:14px;font-weight:900;cursor:pointer;letter-spacing:.01em;box-shadow:0 18px 35px rgba(37,99,235,.30);transition:.2s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 22px 42px rgba(37,99,235,.36)}.btn:disabled{opacity:.75;cursor:not-allowed;transform:none}.divider{display:flex;align-items:center;gap:14px;margin:28px 0 20px;color:#7a8aa0;font-size:13px}.divider::before,.divider::after{content:"";height:1px;flex:1;background:#dbe3ef}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick button{height:45px;border:1px solid #d8e0eb;border-radius:10px;background:#fff;font-size:13px;font-weight:900;color:#0f172a}.notice{margin-top:26px;padding:17px 18px;border-radius:13px;background:linear-gradient(135deg,#eef5ff,#f7f9fd);border:1px solid #e0e8f5;color:#42526a;font-size:13px;line-height:1.55}.ip{margin-top:14px;padding:12px;border-radius:13px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:13px;text-align:center;word-break:break-word}.right{position:relative;overflow:hidden;display:flex;align-items:center;padding:90px min(9vw,130px);background:#050a16;color:#fff}.right::before{content:"";position:absolute;width:680px;height:680px;border:110px solid rgba(148,163,184,.08);border-radius:50%;left:-170px;top:-350px}.right::after{content:"";position:absolute;width:660px;height:660px;border:120px solid rgba(148,163,184,.075);border-radius:50%;right:-220px;bottom:-240px}.dots{position:absolute;top:78px;right:58px;width:170px;height:110px;background-image:radial-gradient(rgba(125,148,178,.48) 2px,transparent 2px);background-size:21px 21px;opacity:.75}.glow{position:absolute;inset:0;background:radial-gradient(circle at 70% 30%,rgba(37,99,235,.18),transparent 34%),radial-gradient(circle at 35% 78%,rgba(56,189,248,.12),transparent 28%);filter:blur(6px)}.hero{position:relative;z-index:2;max-width:720px}.badge{display:inline-flex;align-items:center;gap:10px;padding:9px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.045);color:#bfd2ef;font-size:12px;font-weight:800;margin-bottom:28px}.badge span{width:9px;height:9px;border-radius:50%;background:#38bdf8;box-shadow:0 0 18px #38bdf8}.hero h1{font-size:clamp(42px,4vw,68px);line-height:1.02;letter-spacing:-.055em;margin-bottom:24px;text-shadow:0 14px 45px rgba(0,0,0,.34)}.hero p{font-size:17px;line-height:1.72;color:#8fa1bd;max-width:690px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:42px}.stat{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);border-radius:18px;padding:18px;backdrop-filter:blur(10px)}.stat .num{font-size:24px;font-weight:900;color:#fff}.stat .txt{font-size:12px;color:#91a3bd;margin-top:4px;font-weight:700}.avatars{display:flex;align-items:center;gap:18px;margin-top:34px;color:#98aac5;font-size:13px;font-weight:700}.avatar-stack{display:flex}.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin-left:-9px;border:3px solid #050a16;background:linear-gradient(135deg,#dbeafe,#60a5fa);color:#0f172a;font-weight:900}.avatar:first-child{margin-left:0}.foot{position:absolute;left:24px;bottom:18px;font-size:12px;color:#94a3b8;font-weight:700}.mobile-brand{display:none}
@media(max-width:960px){.page{grid-template-columns:1fr}.right{display:none}.brand-corner{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;margin-bottom:20px;color:#0f172a;font-size:15px;font-weight:900}.mobile-brand .bolt{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,#1d4ed8,#38bdf8);color:#fff}.left{min-height:100dvh;padding:30px 18px}.login-wrap{max-width:430px}.title{font-size:34px}.quick{grid-template-columns:1fr}.notice{display:none}}
@media(max-width:480px){.left{padding:20px 15px}.title{font-size:31px}.login-wrap{width:100%}.meta-row{align-items:flex-start;flex-direction:column}.input input,.btn{height:52px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ==========================================================
   SWEETALERT PREMIUM UI
========================================================== */
.swal2-container{padding:20px!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.swal2-backdrop-show{background:rgba(2,6,23,.64)!important}
.swal2-popup.portal-alert{width:min(92vw,440px)!important;padding:0!important;border-radius:26px!important;overflow:hidden!important;background:rgba(255,255,255,.98)!important;border:1px solid rgba(255,255,255,.72)!important;box-shadow:0 32px 90px rgba(2,6,23,.34),0 8px 30px rgba(37,99,235,.12)!important;font-family:'Inter',sans-serif!important}
.swal2-popup.portal-alert::before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,#2563eb,#38bdf8,#8b5cf6)}
.swal2-popup.portal-alert .swal2-html-container{margin:0!important;padding:0!important}
.portal-alert-body{padding:34px 32px 30px;text-align:center}
.portal-alert-icon{width:82px;height:82px;margin:0 auto 20px;border-radius:24px;display:grid;place-items:center;font-size:34px;position:relative}
.portal-alert-icon::after{content:"";position:absolute;inset:-9px;border-radius:29px;border:1px solid currentColor;opacity:.12}
.portal-alert-icon.warning{color:#f59e0b;background:linear-gradient(145deg,#fff7dd,#fff)}
.portal-alert-icon.error{color:#ef4444;background:linear-gradient(145deg,#fee2e2,#fff)}
.portal-alert-icon.info{color:#2563eb;background:linear-gradient(145deg,#dbeafe,#fff)}
.portal-alert-icon.success{color:#16a34a;background:linear-gradient(145deg,#dcfce7,#fff)}
.portal-alert-title{font-size:25px;line-height:1.15;font-weight:900;letter-spacing:-.035em;color:#0f172a;margin-bottom:10px}
.portal-alert-text{font-size:14px;line-height:1.7;color:#64748b;max-width:340px;margin:0 auto}
.portal-alert-text b{color:#0f172a}
.portal-alert-actions{display:flex;gap:11px;padding:0 32px 30px}
.swal2-popup.portal-alert .swal2-actions{width:100%!important;margin:0!important;padding:0 32px 30px!important;gap:11px!important}
.swal2-popup.portal-alert .swal2-confirm,.swal2-popup.portal-alert .swal2-cancel{min-width:132px;height:48px;border-radius:13px!important;font-size:14px!important;font-weight:800!important;box-shadow:none!important;margin:0!important;padding:0 22px!important}
.swal2-popup.portal-alert .swal2-confirm{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;box-shadow:0 14px 28px rgba(37,99,235,.27)!important}
.swal2-popup.portal-alert .swal2-confirm:hover{transform:translateY(-1px)}
.swal2-popup.portal-alert .swal2-cancel{background:#eef2f7!important;color:#334155!important}
.swal2-popup.portal-alert .swal2-close{top:14px!important;right:14px!important;width:36px!important;height:36px!important;border-radius:11px!important;color:#64748b!important;background:#f1f5f9!important;font-size:24px!important}
.swal2-popup.portal-alert.swal2-show{animation:portalAlertIn .28s cubic-bezier(.2,.85,.25,1) both!important}
@keyframes portalAlertIn{from{opacity:0;transform:translateY(18px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:480px){.swal2-popup.portal-alert{width:calc(100vw - 28px)!important;border-radius:22px!important}.portal-alert-body{padding:30px 22px 25px}.swal2-popup.portal-alert .swal2-actions{padding:0 22px 24px!important}.swal2-popup.portal-alert .swal2-confirm,.swal2-popup.portal-alert .swal2-cancel{flex:1;min-width:0}.portal-alert-title{font-size:22px}}


/* SELF REGISTRATION UI */
.btn-register-open{margin-top:12px;background:#fff;color:#1d4ed8;border:1px solid #bfdbfe;box-shadow:0 12px 28px rgba(37,99,235,.12)}
.btn-register-open:hover{background:#eff6ff;box-shadow:0 16px 34px rgba(37,99,235,.18)}
.register-overlay{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(3,8,20,.62);backdrop-filter:blur(16px)}
.register-overlay.show{display:flex;animation:regFade .2s ease}
.register-card{width:min(100%,540px);max-height:calc(100dvh - 36px);overflow:auto;border-radius:28px;background:linear-gradient(180deg,#fff,#f7faff);border:1px solid rgba(255,255,255,.75);box-shadow:0 36px 100px rgba(2,8,23,.38);position:relative;animation:regUp .28s ease}
.register-head{padding:28px 30px 20px;display:flex;gap:16px;align-items:flex-start;border-bottom:1px solid #e5edf8}
.register-icon{width:52px;height:52px;flex:0 0 52px;border-radius:17px;display:grid;place-items:center;color:#fff;font-size:21px;background:linear-gradient(135deg,#2563eb,#38bdf8);box-shadow:0 14px 30px rgba(37,99,235,.3)}
.register-head h2{font-size:23px;letter-spacing:-.035em;margin:2px 0 6px}.register-head p{font-size:13px;color:#64748b;line-height:1.55}
.register-close{margin-left:auto;width:40px;height:40px;border:0;border-radius:12px;background:#eef2f7;color:#475569;cursor:pointer;font-size:16px}
.register-body{padding:24px 30px 30px}.register-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.register-grid .full{grid-column:1/-1}
.register-info{display:flex;gap:11px;margin:4px 0 20px;padding:13px 14px;border-radius:14px;background:#eff6ff;border:1px solid #dbeafe;color:#334155;font-size:12px;line-height:1.5}.register-info i{color:#2563eb;margin-top:2px}
.password-strength{height:5px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin-top:8px}.password-strength span{display:block;height:100%;width:0;background:#ef4444;transition:.2s}
.password-hint{font-size:11px;color:#64748b;margin-top:7px}.register-actions{display:flex;gap:12px;margin-top:22px}.register-actions .btn{box-shadow:none}.btn-cancel-reg{background:#eef2f7;color:#334155}
@keyframes regFade{from{opacity:0}to{opacity:1}}@keyframes regUp{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:620px){.register-card{border-radius:22px}.register-head,.register-body{padding-left:20px;padding-right:20px}.register-grid{grid-template-columns:1fr}.register-grid .full{grid-column:auto}.register-actions{flex-direction:column-reverse}}

/* Divider dibuat lebih lega agar garis tidak berhimpitan dengan teks. */
.divider{gap:22px;margin-top:30px;margin-bottom:22px;white-space:nowrap}
@media(max-width:480px){.divider{gap:18px}}

/* Fast mobile login: layout ringan, stabil, dan langsung responsif */
@media(max-width:600px){
    html,body{background:#f4f7fb;overscroll-behavior:none}
    .page,.left{min-height:100dvh}.left{align-items:center;padding:18px 15px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#f8fbff,#eef4fb)}
    .left::before{height:120px}.login-wrap{max-width:400px;padding:20px 16px;border:1px solid #e2e8f0;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 18px 50px rgba(15,23,42,.10)}
    .mobile-brand{margin-bottom:15px}.logo{width:50px;height:50px;margin-bottom:16px;border-radius:15px}.logo i{font-size:23px}.title{font-size:29px;margin-bottom:6px}.subtitle{font-size:12px;line-height:1.55;margin-bottom:20px}
    .field{margin-bottom:13px}.field label{margin-bottom:7px;font-size:11px}.input input{height:50px;border-radius:12px;font-size:13px}.meta-row{flex-direction:row;align-items:center;margin:2px 0 17px}.meta-row,.meta-row a,.check{font-size:11px}.check input{width:16px;height:16px}
    .btn{height:51px;border-radius:12px;box-shadow:0 12px 25px rgba(37,99,235,.22)}.btn-register-open{margin-top:9px}.divider{margin:18px 0 14px}.quick{grid-template-columns:repeat(3,1fr);gap:7px}.quick button{height:38px;font-size:10px}.notice{display:none}
    .register-overlay{padding:10px;backdrop-filter:none}.register-card{max-height:calc(100dvh - 20px);border-radius:20px}.register-head{padding:18px 16px 14px}.register-body{padding:16px}.register-icon{width:44px;height:44px;flex-basis:44px}.register-head h2{font-size:19px}.register-head p{font-size:11px}.register-grid{gap:11px}.register-info{margin-bottom:13px}
    .swal2-container{backdrop-filter:none!important}.swal2-popup.portal-alert{box-shadow:0 20px 55px rgba(2,6,23,.25)!important}
}
@media(max-width:360px){
    .left{padding:10px}.login-wrap{padding:17px 13px;border-radius:20px}.mobile-brand{margin-bottom:12px}.logo{margin-bottom:12px}.title{font-size:26px}.subtitle{margin-bottom:16px}.quick{display:none}.divider{display:none}.btn-register-open{margin-bottom:0}
}
