/* Halaman login AIS. Terisolasi dari layout aplikasi dan pemilihan cabang. */
:root { color-scheme:light; --login-ink:#172d43; --login-muted:#788595; --login-blue:#1668b2; --login-border:#dfe6ed; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
html,body { height:100%; overflow:hidden; }
body { margin:0; background:#f0f3f7; color:var(--login-ink); font-size:14px; -webkit-font-smoothing:antialiased; }
button,input { font:inherit; }
button,a,input { -webkit-tap-highlight-color:transparent; }
a { color:inherit; }
button { cursor:pointer; }
.login-shell { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:minmax(0,1fr); width:100%; height:100vh; height:100dvh; min-height:0; margin:0; background:#fff; overflow:hidden; }
.login-main { min-width:0; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; display:flex; flex-direction:column; padding:40px clamp(28px,5vw,80px) 26px; }
.login-brand { flex-shrink:0; display:inline-flex; align-items:center; gap:18px; align-self:flex-start; text-decoration:none; }
.login-brand img { object-fit:contain; width:145px; height:auto; }
.login-brand-divider { width:1px; height:32px; background:var(--login-border); }
.login-brand-label { font-size:22px; font-weight:700; letter-spacing:-.7px; }
.login-brand-label>span { display:block; color:var(--login-muted); font-size:8px; letter-spacing:1.3px; font-weight:500; margin-top:2px; }
.login-form-wrap { flex-shrink:0; width:100%; max-width:400px; margin:auto; padding:64px 0 52px; }
.login-eyebrow { color:var(--login-blue); font-size:10px; letter-spacing:1.9px; font-weight:700; margin-bottom:18px; }
h1 { margin:0; font-size:clamp(28px,2.7vw,38px); line-height:1.25; letter-spacing:-1.25px; font-weight:700; }
.login-intro { color:#69798a; margin:16px 0 32px; line-height:1.7; }
.login-field { margin-bottom:22px; }
.login-field label { display:block; font-size:13px; font-weight:600; margin-bottom:9px; }
.login-input-wrap { display:flex; align-items:center; position:relative; border:1px solid var(--login-border); border-radius:10px; background:#fff; transition:border-color .15s,box-shadow .15s; }
.login-input-wrap:focus-within { border-color:var(--login-blue); box-shadow:0 0 0 3px #1668b212; }
.login-input-icon { color:#8a98a8; font-size:19px; flex:none; margin-left:15px; }
.login-input-wrap input { width:100%; min-width:0; height:52px; color:var(--login-ink); border:0; outline:none; background:transparent; padding:12px; border-radius:10px; font-size:14px; }
.login-input-wrap input::placeholder { color:#96a1af; opacity:1; }
.login-password-toggle { display:grid; place-items:center; flex:none; width:44px; height:44px; margin-right:4px; border:0; border-radius:8px; background:transparent; color:#7e8d9e; font-size:19px; }
.login-password-toggle:hover { color:var(--login-blue); background:#eef5fb; }
.login-submit { display:flex; width:100%; align-items:center; justify-content:center; gap:14px; min-height:52px; margin-top:28px; border:1px solid #125b9d; border-radius:10px; background:var(--login-blue); color:#fff; font-size:14px; font-weight:600; box-shadow:0 5px 12px #1668b21a; transition:background .15s,transform .15s; }
.login-submit:hover { background:#125b9d; transform:translateY(-1px); }
.login-submit i { font-size:18px; }
.login-help { display:flex; align-items:center; gap:12px; margin-top:30px; padding-top:24px; border-top:1px solid #edf0f4; }
.login-help-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:#f2f5f8; color:#6d8196; font-size:19px; flex:none; }
.login-help p { margin:0; font-size:12px; line-height:1.8; font-weight:600; }
.login-help p span { color:var(--login-muted); font-weight:400; font-size:11px; }
.login-footer { flex-shrink:0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:9px; color:#8c98a5; line-height:1.6; }
.login-alert { display:flex; align-items:start; gap:10px; padding:13px 15px; border:1px solid; border-radius:10px; line-height:1.6; font-size:12px; margin-bottom:24px; }
.login-alert i { font-size:18px; padding-top:1px; }
.login-alert-error { background:#fff4f3; color:#a83f3b; border-color:#f1d2cf; }
.login-alert-success { background:#f0faf5; color:#27784f; border-color:#cce8da; }
.login-story { min-width:0; min-height:0; position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; color:#fff; padding:36px clamp(28px,4vw,64px) 28px; background:radial-gradient(ellipse at 95% 20%,#1a5066 0,transparent 50%),radial-gradient(ellipse at 10% 100%,#264a76 0,transparent 55%),#102f4e; }
.story-grid { position:absolute; z-index:-1; inset:0; background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(0deg,#000,transparent); }
.story-top,.story-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.story-wordmark { display:flex; align-items:center; gap:8px; font-weight:600; font-size:21px; letter-spacing:-.5px; }
.story-wordmark i { color:#8acddd; font-size:28px; }
.story-wordmark>span { font-size:10px; color:#8daabd; font-weight:400; letter-spacing:1px; margin-top:4px; }
.story-caption { color:#8cabbf; font-size:8px; letter-spacing:1.7px; text-align:right; }
.story-content { padding:52px 0 38px; }
.story-eyebrow { display:flex; align-items:center; gap:8px; color:#acd2de; font-size:9px; letter-spacing:1.8px; font-weight:500; margin-bottom:22px; }
.story-eyebrow>span { width:6px; height:6px; border-radius:50%; background:#7fc9c3; box-shadow:0 0 0 4px #7fc9c312; }
.story-content h2 { font-size:clamp(30px,3vw,44px); line-height:1.23; font-weight:600; letter-spacing:-1.5px; margin:0; }
.story-content h2 em { color:#91cedc; font-style:normal; }
.story-content>p { color:#a8becf; line-height:1.85; font-size:12px; margin:20px 0 34px; }
.workspace-visual { border:1px solid #ffffff20; border-radius:16px; padding:16px; background:linear-gradient(140deg,#ffffff0e,#ffffff03); box-shadow:0 12px 38px #071b321f; }
.workspace-head { display:flex; align-items:center; gap:10px; color:#b5cada; font-size:9px; padding-bottom:14px; border-bottom:1px solid #ffffff12; }
.workspace-head>i { margin-left:auto; font-size:15px; color:#85a7be; }
.workspace-dots { display:flex; gap:4px; }
.workspace-dots b { display:block; width:5px; height:5px; border-radius:50%; background:#638399; }
.workspace-dots b:first-child { background:#80acb6; }
.workspace-center { display:flex; flex-direction:column; align-items:center; padding:25px 0 8px; }
.workspace-icon { display:grid; place-items:center; width:54px; height:54px; border-radius:16px; border:1px solid #8ecbdb46; color:#a8e2eb; background:linear-gradient(140deg,#4494ad5c,#4494ad12); font-size:31px; margin-bottom:12px; box-shadow:0 0 30px #6ec9da0d; }
.workspace-center strong { font-size:12px; font-weight:500; }
.workspace-center>span { color:#89a8bf; font-size:9px; margin-top:6px; }
.workspace-connectors { height:29px; position:relative; display:flex; justify-content:space-around; margin:0 16%; border-top:1px solid #638da240; margin-top:17px; }
.workspace-connectors::before { content:""; position:absolute; top:-17px; left:50%; height:17px; border-left:1px solid #638da240; }
.workspace-connectors span { height:100%; border-left:1px solid #638da240; }
.workspace-modules { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.workspace-modules>div { display:flex; flex-direction:column; align-items:center; padding:15px 3px 13px; border:1px solid #ffffff14; border-radius:10px; background:#ffffff04; }
.module-icon { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; font-size:16px; margin-bottom:10px; }
.module-blue { color:#91c5f7; background:#80b8f214; }.module-teal { color:#90d6cb; background:#80d4c014; }.module-violet { color:#c6b6f4; background:#b49bef14; }
.workspace-modules strong { font-size:10px; font-weight:500; }
.workspace-modules small { font-size:8px; color:#8eabbe; margin-top:5px; text-align:center; }
.story-bottom { color:#8aa9be; font-size:9px; }
.story-bottom>span:first-child { display:flex; align-items:center; gap:7px; }
.story-bottom i { font-size:16px; }
.story-page { font-size:8px; letter-spacing:1px; white-space:nowrap; }
:focus-visible { outline:3px solid #62a8d5; outline-offset:4px; }
@media(max-width:1100px) { .login-main { padding:32px; } .login-story { padding:30px; } .story-caption { display:none; } .login-footer>span:last-child { display:none; } }
@media(max-width:800px) { body { background:#fff; } .login-shell { grid-template-columns:minmax(0,1fr); } .login-story { display:none; } .login-main { padding:30px clamp(24px,8vw,90px) 24px; } .login-form-wrap { padding:54px 0; } .login-input-wrap input { font-size:16px; } .login-brand img { width:135px; } h1 { font-size:34px; } .login-footer { max-width:400px; width:100%; margin:0 auto; } .login-footer>span:last-child { display:block; } }
@media(max-width:380px) { .login-main { padding:24px 20px; } h1 { font-size:29px; } .login-brand { gap:13px; } .login-brand img { width:125px; } .login-footer>span:last-child { display:none; } }
/* Padatkan jarak pada laptop pendek; layar sangat kecil/keyboard memakai scroll panel form. */
@media(max-height:850px) {
  .login-main { padding-top:24px; padding-bottom:20px; }
  .login-form-wrap { padding:20px 0; }
  h1 { font-size:32px; line-height:1.2; }
  .login-eyebrow { margin-bottom:12px; }
  .login-intro { margin:12px 0 22px; }
  .login-field { margin-bottom:16px; }
  .login-submit { margin-top:20px; }
  .login-help { margin-top:22px; padding-top:18px; }
  .login-story { padding-top:24px; padding-bottom:22px; }
  .story-content { padding:22px 0; }
  .story-content h2 { font-size:36px; }
  .story-content>p { margin:16px 0 22px; }
  .story-eyebrow { margin-bottom:16px; }
  .workspace-center { padding-top:16px; }
  .workspace-icon { width:44px; height:44px; font-size:26px; margin-bottom:10px; }
  .workspace-modules>div { padding-top:11px; padding-bottom:10px; }
}
@media(max-height:700px) {
  .login-main { padding-top:16px; padding-bottom:16px; }
  .login-form-wrap { padding:12px 0; }
  h1 { font-size:28px; }
  .login-brand img { width:125px; }
  .login-intro { margin:10px 0 18px; }
  .login-field { margin-bottom:14px; }
  .login-field label { margin-bottom:6px; }
  .login-input-wrap input { height:44px; }
  .login-submit { min-height:46px; margin-top:16px; }
  .login-help { margin-top:16px; padding-top:14px; }
  .login-alert { padding:10px 12px; margin-bottom:14px; }
  .workspace-visual { display:none; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; } }
