/* CBT EXAMO — halaman login.
   Seluruh aturan dibatasi di bawah .login-layout agar tidak memengaruhi halaman lain. */

@font-face{font-family:"Plus Jakarta Sans";src:url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Caveat";src:url("fonts/caveat-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

.login-layout{
    --lg-ink:#0e1c34;
    --lg-muted:#5d6a85;
    --lg-line:#e3e6f1;
    --lg-indigo:#3b36e8;
    --lg-ease:cubic-bezier(.2,.75,.25,1);
    position:relative;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
    min-height:100vh;min-height:100svh;overflow:hidden;background:#f4f7ff;
    font-family:"Plus Jakarta Sans","DM Sans",Arial,sans-serif;
    -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;
}

/* Halaman login memenuhi layar penuh. Tanpa aturan ini, app.css menambahkan margin 220px
   dan padding pada .main-content di lebar 761–1100px sehingga layout bergeser. */
.app-shell .main-content.main-auth{margin:0;padding:0}

/* ───────── Panel kiri ───────── */
.login-layout .login-visual{
    position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-start;
    min-height:100vh;min-height:100svh;overflow:hidden;color:#fff;
    padding:clamp(44px,14vh,128px) clamp(36px,5.2vw,92px) 40px;
    background:linear-gradient(125deg,#1c2ba6 0%,#3944d8 48%,#6558ee 100%);
}
body[data-color-theme="violet"] .login-layout .login-visual{
    background:linear-gradient(125deg,#1c2ba6 0%,#3944d8 48%,#6558ee 100%);
}
.login-layout .login-visual::before{
    position:absolute;z-index:-3;top:0;right:0;bottom:0;left:0;content:"";
    background:radial-gradient(ellipse at 84% 34%,rgba(168,142,255,.40),transparent 44%),radial-gradient(ellipse at 20% 96%,rgba(45,78,255,.50),transparent 44%);
}
.login-layout .visual-roof{
    position:absolute;z-index:-2;right:-6%;bottom:0;width:70%;height:64%;pointer-events:none;
    background:linear-gradient(165deg,rgba(18,30,150,.34),rgba(18,30,150,0) 80%);
    clip-path:polygon(0 42%,58% 0,100% 16%,100% 100%,0 100%);
}
.login-layout .visual-orb{position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.login-layout .visual-orb-top{top:-190px;right:0;width:300px;height:300px;background:rgba(148,128,255,.22);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);animation:lg-orb-breathe 9s ease-in-out infinite}
.login-layout .visual-orb-ring{top:-250px;right:-80px;width:400px;height:400px;border:42px solid rgba(177,158,255,.12);animation:lg-orb-breathe 11s -3s ease-in-out infinite}
.login-layout .visual-orb-bottom{bottom:-180px;left:-150px;width:320px;height:320px;background:linear-gradient(145deg,rgba(84,92,255,.62),rgba(61,84,247,.08));animation:lg-orb-drift 10s ease-in-out infinite}
.login-layout .visual-orb-corner{bottom:-175px;right:-30px;width:270px;height:270px;background:linear-gradient(200deg,rgba(150,140,255,.5),rgba(120,110,250,.14));animation:lg-orb-drift 12s -4s ease-in-out infinite reverse}
.login-layout .visual-dots,.login-layout .panel-dots{
    position:absolute;background-image:radial-gradient(circle,currentColor 2.2px,transparent 2.8px);background-size:24px 19px;opacity:.6;pointer-events:none;
}
.login-layout .visual-dots{top:50px;left:clamp(36px,4.4vw,78px);width:96px;height:57px;color:#9d97ff;opacity:.75}
.login-layout .visual-dots::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:inherit;animation:lg-dots-twinkle 4.8s ease-in-out infinite;mix-blend-mode:screen}

.login-layout .visual-content{position:relative;z-index:2;width:min(100%,600px);max-width:600px}

.login-layout .visual-content .eyebrow{
    display:inline-flex;align-items:center;gap:10px;margin:0 0 clamp(18px,2.6vh,26px);padding:clamp(9px,1.2vh,12px) 17px clamp(9px,1.2vh,12px) 14px;
    border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.1);
    font-size:clamp(11px,.8vw,14px);font-weight:700;letter-spacing:.11em;color:#fff;
    backdrop-filter:blur(6px);animation:lg-rise .7s .05s var(--lg-ease) both;
}
.login-layout .eyebrow-cap{display:grid;place-items:center;width:20px;height:20px}
.login-layout .eyebrow-cap svg{width:20px;height:20px;fill:currentColor;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}

.login-layout .visual-content h1{
    max-width:600px;margin:0;color:#fff;font-size:clamp(36px,3.5vw,62px);font-weight:800;line-height:1.02;letter-spacing:-.03em;
}
.login-layout .visual-content h1,.login-layout .login-heading-copy h2{font-family:inherit}
.login-layout .h1-line{display:block;overflow:hidden;padding-bottom:.16em;margin-bottom:-.16em}
.login-layout .h1-line>span,.login-layout .h1-line>em{display:block;animation:lg-line-up .85s var(--lg-ease) both}
.login-layout .h1-line:nth-child(1)>span{animation-delay:.14s}
.login-layout .h1-line:nth-child(2)>em{animation-delay:.28s}
.login-layout .visual-content h1 em{font-style:normal;color:#b0acff}
body[data-color-theme="violet"] .login-layout .visual-content h1 em{color:#aeaaff}

.login-layout .visual-content p{
    max-width:540px;margin:clamp(14px,2.2vh,22px) 0 0;color:rgba(255,255,255,.84);font-size:clamp(14px,1vw,17px);line-height:1.65;
    animation:lg-rise .8s .42s var(--lg-ease) both;
}
body[data-color-theme] .login-layout .visual-content p{color:rgba(255,255,255,.84)}

.login-layout .visual-points{display:grid;gap:clamp(13px,2.1vh,20px);margin-top:clamp(22px,3.6vh,36px)}
.login-layout .visual-point{display:flex;align-items:center;gap:15px;color:#fff;animation:lg-rise .8s var(--lg-ease) both}
.login-layout .visual-point:nth-child(1){animation-delay:.54s}
.login-layout .visual-point:nth-child(2){animation-delay:.66s}
.login-layout .visual-point:nth-child(3){animation-delay:.78s}
.login-layout .point-icon{display:grid;place-items:center;width:clamp(40px,2.9vw,50px);height:clamp(40px,2.9vw,50px);flex:0 0 auto;border-radius:50%;color:#fff;box-shadow:0 10px 22px rgba(12,20,100,.22)}
.login-layout .point-icon svg{width:46%;height:46%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.login-layout .point-icon-violet{background:linear-gradient(145deg,#a86bff,#6650ed)}
.login-layout .point-icon-blue{background:linear-gradient(145deg,#3aa8ff,#2760e8)}
.login-layout .point-icon-green{background:linear-gradient(145deg,#34d6ae,#13a98b)}
.login-layout .visual-point>span{display:grid;gap:3px}
.login-layout .visual-point strong{font-size:clamp(13px,.95vw,16px);font-weight:700;letter-spacing:0;word-spacing:.04em}
.login-layout .visual-point small{color:rgba(232,236,255,.78);font-size:clamp(11.5px,.8vw,14px)}

/* Ilustrasi (SVG vektor, tajam di semua kepadatan layar) */
.login-layout .visual-illustration{
    position:absolute;z-index:1;right:-3.2%;bottom:clamp(60px,17vh,190px);width:min(60%,680px);min-width:320px;pointer-events:none;
    animation:lg-float 7s ease-in-out infinite;
}
.login-layout .visual-illustration .ill{display:block;width:100%;height:auto;overflow:visible;animation:lg-ill-in 1s .2s var(--lg-ease) both;shape-rendering:geometricPrecision}
.login-layout .il-par{transition:none}
.login-layout .il-par-back{transform:translate(calc(var(--px,0)*-5px),calc(var(--py,0)*-3px))}
.login-layout .il-par-left{transform:translate(calc(var(--px,0)*-8px),calc(var(--py,0)*-5px))}
.login-layout .il-par-lap{transform:translate(calc(var(--px,0)*-2px),calc(var(--py,0)*-1.5px))}
.login-layout .il-par-cap{transform:translate(calc(var(--px,0)*9px),calc(var(--py,0)*6px))}
.login-layout .il-drop{animation:lg-cap-drop 1.05s .95s cubic-bezier(.3,1.5,.5,1) both}
.login-layout .il-cap{transform-box:fill-box;transform-origin:50% 100%;animation:lg-cap-bob 5.2s 2s ease-in-out infinite}
.login-layout .il-tassel{transform-box:fill-box;transform-origin:50% 0;animation:lg-tassel 3.6s 2s ease-in-out infinite}
.login-layout .il-leaf{transform-box:fill-box;transform-origin:50% 100%}
.login-layout .il-leaf-l{animation:lg-leaf 6s ease-in-out infinite}
.login-layout .il-leaf-c{animation:lg-leaf 7s -2s ease-in-out infinite reverse}
.login-layout .il-leaf-r{animation:lg-leaf 6.5s -4s ease-in-out infinite}
.login-layout .il-shadow{transform-box:fill-box;transform-origin:center;animation:lg-shadow 7s ease-in-out infinite}
.login-layout .il-pick{transform-box:fill-box;transform-origin:center;animation:lg-pick 9s ease-in-out infinite both}
.login-layout .il-pick-1{animation-delay:1.4s}
.login-layout .il-pick-2{animation-delay:2.9s}
.login-layout .il-pick-3{animation-delay:4.4s}
.login-layout .il-knob{animation:lg-knob 9s 1.4s ease-in-out infinite}
.login-layout .il-bar-line{transform-box:fill-box;transform-origin:left center;animation:lg-bar 9s 1.4s ease-in-out infinite}

/* Tagline tulisan tangan */
.login-layout .visual-tagline{
    position:absolute;z-index:2;left:clamp(36px,5.2vw,92px);bottom:clamp(30px,6.5vh,72px);
    transform:rotate(-8deg);transform-origin:left bottom;color:rgba(204,208,255,.9);pointer-events:none;
}
.login-layout .tagline-text{display:block;font-family:"Caveat","Segoe Script","Brush Script MT",cursive;font-weight:700;font-size:clamp(30px,2.3vw,42px);line-height:.98;letter-spacing:.005em}
.login-layout .tagline-text span{display:block;animation:lg-tag-reveal 1s var(--lg-ease) both}
.login-layout .tagline-text span:nth-child(1){animation-delay:1.3s}
.login-layout .tagline-text span:nth-child(2){padding-left:.5em;animation-delay:1.55s}
.login-layout .tagline-swoosh{display:block;width:clamp(112px,8.6vw,156px);height:auto;margin:2px 0 0 .35em;overflow:visible}
.login-layout .tagline-swoosh path{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:lg-draw 1.1s 1.95s var(--lg-ease) forwards}

/* ───────── Panel kanan ───────── */
.login-layout .login-panel{
    position:relative;isolation:isolate;display:grid;place-items:center;min-width:0;min-height:100vh;min-height:100svh;overflow:hidden;
    padding:56px clamp(24px,5vw,90px) 70px clamp(24px,5vw,90px);
    background:radial-gradient(ellipse at 50% 45%,#fff 0%,#f8faff 58%,#f1f5ff 100%);
}
.login-layout .login-panel::before,.login-layout .login-panel::after{position:absolute;z-index:-1;content:"";pointer-events:none}
.login-layout .login-panel::before{top:-16%;right:-14%;width:52%;height:36%;transform:rotate(-42deg);background:linear-gradient(90deg,rgba(220,228,255,.05),rgba(190,201,255,.38))}
.login-layout .login-panel::after{bottom:-21%;left:-10%;width:46%;height:38%;transform:rotate(-42deg);background:linear-gradient(90deg,rgba(224,231,255,.1),rgba(200,212,255,.3))}
.login-layout .panel-ribbon{position:absolute;top:-70px;right:11%;width:170px;height:170px;border-radius:0 0 0 100%;border-top:12px solid #7564ff;transform:rotate(8deg);opacity:.9;animation:lg-ribbon 9s ease-in-out infinite}
.login-layout .panel-dots{right:44px;bottom:36px;width:116px;height:60px;color:#9fa6f7;background-size:23px 19px;opacity:.55}

.login-layout .login-card{
    position:relative;width:min(100%,clamp(420px,32.5vw,580px));padding:clamp(28px,2.7vw,44px);overflow:hidden;
    border:1px solid rgba(255,255,255,.95);border-radius:clamp(22px,1.9vw,30px);background:rgba(255,255,255,.96);
    box-shadow:0 34px 80px rgba(41,57,140,.13),0 2px 8px rgba(41,57,140,.05);
    animation:lg-card-in .9s .12s var(--lg-ease) both;
}
.login-layout .login-card::before{position:absolute;z-index:0;top:-56px;right:-72px;width:230px;height:150px;border-radius:0 0 0 100%;background:linear-gradient(135deg,#4560f3,#8c62ff);content:"";animation:lg-corner 1s .5s var(--lg-ease) both}
.login-layout .login-heading{position:relative;z-index:1;display:flex;align-items:center;gap:clamp(14px,1.3vw,22px);margin-bottom:clamp(24px,3.6vh,34px)}
.login-layout .login-logo{
    display:block;width:clamp(78px,6vw,108px);height:auto;aspect-ratio:1/1.04;flex:0 0 auto;object-fit:contain;
    padding:clamp(8px,.72vw,13px);border:1px solid #eceaff;border-radius:clamp(20px,1.7vw,28px);
    background:linear-gradient(160deg,#f6f5ff,#ebe9ff);box-shadow:0 10px 24px rgba(91,80,230,.12);
    animation:lg-logo-in .9s .3s cubic-bezier(.3,1.4,.5,1) both;
}
.login-layout .login-heading-copy{display:grid;align-content:center;gap:clamp(4px,.5vw,8px);min-width:0}
.login-layout .login-heading-copy .eyebrow{margin:0;color:var(--lg-indigo);font-size:clamp(12.5px,.9vw,16px);font-weight:800;letter-spacing:.07em;overflow-wrap:anywhere}
.login-layout .login-heading-copy h2{margin:0;color:var(--lg-ink);font-size:clamp(27px,2.25vw,40px);font-weight:800;line-height:1.06;letter-spacing:-.025em}
.login-layout .login-heading-copy .muted{margin:2px 0 0;color:var(--lg-muted);font-size:clamp(12.5px,.88vw,15px);line-height:1.5}

.login-layout .login-card .form-stack{position:relative;z-index:1;gap:0}
.login-layout .login-card .field{display:grid;gap:clamp(8px,.8vw,11px);margin-bottom:clamp(16px,2.2vh,22px);animation:lg-rise .7s var(--lg-ease) both}
.login-layout .login-card .field:nth-of-type(1){animation-delay:.5s}
.login-layout .login-card .field:nth-of-type(2){animation-delay:.62s}
.login-layout .login-card .form-stack label{display:flex;align-items:center;gap:9px;margin:0;color:var(--lg-ink);font-size:clamp(13px,.95vw,16px);font-weight:700}
.login-layout .login-card .form-stack label svg{width:1.15em;height:1.15em;fill:currentColor;flex:0 0 auto}
.login-layout .login-input-wrap,.login-layout .login-card .password-field{position:relative;width:100%}
.login-layout .login-input-wrap>svg,.login-layout .input-leading-icon{
    position:absolute;top:50%;left:clamp(15px,1.15vw,20px);width:clamp(17px,1.25vw,22px);height:clamp(17px,1.25vw,22px);transform:translateY(-50%);
    fill:currentColor;stroke:none;color:#a4aec4;pointer-events:none;transition:color .2s ease;
}
.login-layout .login-card .form-stack .login-input-wrap input,
.login-layout .login-card .form-stack .password-field input{
    width:100%;min-height:clamp(50px,3.25vw,58px)!important;padding:0 52px 0 clamp(46px,3.5vw,58px);
    border:1.5px solid var(--lg-line);border-radius:clamp(12px,.95vw,16px);background:#fff;color:var(--lg-ink);font-size:clamp(14px,.95vw,16px)!important;font-weight:500;
    box-shadow:0 2px 6px rgba(34,52,95,.03);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.login-layout .login-card .form-stack .login-input-wrap input:hover,
.login-layout .login-card .form-stack .password-field input:hover{border-color:#cdd3e8}
.login-layout .login-card .form-stack .login-input-wrap input:focus,
.login-layout .login-card .form-stack .password-field input:focus{border-color:#6f66f0;box-shadow:0 0 0 4px rgba(104,94,235,.14),0 6px 16px rgba(80,72,220,.08);outline:none}
.login-layout .login-input-wrap:focus-within>svg,.login-layout .password-field:focus-within .input-leading-icon{color:#6258ec}
.login-layout .login-card .form-stack input::placeholder{color:#9aa5bd;font-weight:500}
.login-layout .login-card .form-stack input:-webkit-autofill{-webkit-text-fill-color:var(--lg-ink);box-shadow:0 0 0 40px #fff inset,0 2px 6px rgba(34,52,95,.03)}
.login-layout .password-toggle{
    position:absolute;top:50%;right:9px;display:grid;place-items:center;width:38px;height:38px;padding:0;transform:translateY(-50%);
    border:0;border-radius:10px;background:transparent;color:#6f7d99;cursor:pointer;transition:background-color .2s ease,color .2s ease;
}
.login-layout .password-toggle:hover{background:#f0efff;color:#5148db}
.login-layout .password-toggle[aria-pressed="true"]{background:#eeecff;color:#4338a5}
.login-layout .password-toggle:focus-visible{outline:2px solid #6255c7;outline-offset:1px}
.login-layout .password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-layout .password-toggle[aria-pressed="true"] .password-toggle-eye{fill:currentColor}
.login-layout .password-toggle-slash{stroke-dasharray:24;stroke-dashoffset:0;transition:stroke-dashoffset .25s ease}
.login-layout .password-toggle[aria-pressed="true"] .password-toggle-slash{stroke-dashoffset:24}

.login-layout .login-card .button{
    position:relative;isolation:isolate;overflow:hidden;gap:12px;width:100%;min-height:clamp(52px,3.45vw,62px);margin-top:clamp(2px,.6vh,6px);border:0;border-radius:clamp(13px,1vw,17px);
    background:linear-gradient(100deg,#4663ee 0%,#6b57ef 100%);color:#fff;font-size:clamp(14px,1.02vw,17px);font-weight:800;letter-spacing:.005em;
    box-shadow:0 14px 28px rgba(88,84,236,.30);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
    animation:lg-rise .7s .74s var(--lg-ease) both;
}
.login-layout .login-card .button::after{position:absolute;z-index:-1;top:0;left:-60%;width:40%;height:100%;content:"";background:linear-gradient(100deg,transparent,rgba(255,255,255,.34),transparent);transform:skewX(-20deg)}
.login-layout .login-card .button:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(88,84,236,.36);filter:saturate(1.1)}
.login-layout .login-card .button:hover::after{animation:lg-sheen .9s ease}
.login-layout .login-card .button:active{transform:translateY(0);box-shadow:0 8px 18px rgba(88,84,236,.3)}
.login-layout .login-card .button:focus-visible{outline:3px solid #b9b3ff;outline-offset:3px}
.login-layout .login-card .button .btn-arrow{display:inline-grid;width:1.25em;height:1.25em;transition:transform .22s ease}
.login-layout .login-card .button .btn-arrow svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.login-layout .login-card .button:hover .btn-arrow{transform:translateX(5px)}
.login-layout .login-card .button .btn-spinner{display:none;width:1.2em;height:1.2em;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:lg-spin .7s linear infinite}
.login-layout .login-card .button.is-loading{pointer-events:none;filter:saturate(.9) brightness(.97)}
.login-layout .login-card .button.is-loading .btn-arrow{display:none}
.login-layout .login-card .button.is-loading .btn-spinner{display:inline-block}

.login-layout .login-help{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;margin:clamp(20px,3vh,28px) 0 0;color:#6b7893;font-size:clamp(11.5px,.85vw,14.5px);line-height:1.5;text-align:center;animation:lg-rise .7s .86s var(--lg-ease) both}
.login-layout .login-help svg{width:1.35em;height:1.35em;flex:0 0 auto;fill:#7c8cb4}
.login-layout .login-copyright{position:absolute;right:20px;bottom:clamp(22px,4.5vh,44px);left:20px;color:#8794b0;font-size:clamp(11px,.78vw,13px);text-align:center;animation:lg-fade 1s 1s ease both}

/* ───────── Keyframes ───────── */
@keyframes lg-rise{from{opacity:0;transform:translate3d(0,16px,0)}to{opacity:1;transform:none}}
@keyframes lg-fade{from{opacity:0}to{opacity:1}}
@keyframes lg-line-up{from{transform:translate3d(0,105%,0)}to{transform:none}}
@keyframes lg-card-in{from{opacity:0;transform:translate3d(0,26px,0) scale(.985)}to{opacity:1;transform:none}}
@keyframes lg-corner{from{transform:translate(38px,-26px) scale(.8);opacity:0}to{transform:none;opacity:1}}
@keyframes lg-logo-in{0%{opacity:0;transform:scale(.7) rotate(-8deg)}100%{opacity:1;transform:none}}
@keyframes lg-ill-in{from{opacity:0;transform:translate3d(46px,22px,0) scale(.96)}to{opacity:1;transform:none}}
@keyframes lg-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes lg-shadow{0%,100%{transform:scaleX(1);opacity:.42}50%{transform:scaleX(.93);opacity:.3}}
@keyframes lg-cap-drop{0%{opacity:0;transform:translate3d(10px,-60px,0) rotate(-9deg)}60%{opacity:1}100%{opacity:1;transform:none}}
@keyframes lg-cap-bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(-1.4deg)}}
@keyframes lg-tassel{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@keyframes lg-leaf{0%,100%{transform:rotate(-2.2deg)}50%{transform:rotate(2.6deg)}}
@keyframes lg-pick{0%,6%{transform:scale(0);opacity:0}12%{transform:scale(1.3);opacity:1}16%,70%{transform:scale(1);opacity:1}78%,100%{transform:scale(0);opacity:0}}
@keyframes lg-knob{0%,100%{transform:translateX(0)}18%,70%{transform:translateX(15px)}}
@keyframes lg-bar{0%,100%{transform:scaleX(1)}20%{transform:scaleX(.55)}40%,60%{transform:scaleX(1.25)}}
@keyframes lg-tag-reveal{from{opacity:0;transform:translate3d(-16px,6px,0);clip-path:inset(0 100% 0 0)}to{opacity:1;transform:none;clip-path:inset(0 -4% 0 -4%)}}
@keyframes lg-draw{to{stroke-dashoffset:0}}
@keyframes lg-orb-breathe{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.07);opacity:.7}}
@keyframes lg-orb-drift{0%,100%{transform:translate(0,0)}50%{transform:translate(20px,-14px)}}
@keyframes lg-dots-twinkle{0%,100%{opacity:0}50%{opacity:.8}}
@keyframes lg-ribbon{0%,100%{transform:rotate(8deg)}50%{transform:rotate(11deg) translateY(4px)}}
@keyframes lg-sheen{from{left:-60%}to{left:130%}}
@keyframes lg-spin{to{transform:rotate(360deg)}}

/* ───────── Responsif ───────── */
@media (max-width:1500px){
    .login-layout .visual-illustration{right:-5%;width:min(56%,620px)}
}
@media (max-width:1120px){
    .login-layout{grid-template-columns:minmax(0,1fr) minmax(0,.92fr)}
    .login-layout .login-visual{padding-right:30px}
    .login-layout .visual-illustration{right:-9%;bottom:clamp(48px,8vh,90px);width:56%;min-width:0}
    .login-layout .panel-dots{display:none}
    .login-layout .visual-content p{max-width:420px}
    .login-layout .login-panel{padding-right:clamp(20px,3vw,40px);padding-left:clamp(20px,3vw,40px)}
    .login-layout .login-card{width:min(100%,460px)}
}
@media (max-width:900px){
    .login-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
    .login-layout .login-visual{padding:44px 28px 36px}
    .login-layout .visual-content p{font-size:13px}
    .login-layout .visual-illustration{right:-24%;bottom:70px;width:84%;min-width:260px;opacity:.5}
    .login-layout .visual-tagline{display:none}
    .login-layout .login-card{padding:26px 22px}
    .login-layout .login-heading{gap:13px}
}
@media (max-width:680px){
    .login-layout{grid-template-columns:1fr}
    .login-layout .login-visual{display:none}
    .login-layout .login-panel{padding:28px 18px 76px;background:radial-gradient(ellipse at 50% 0%,#e9ecff 0%,#f5f7ff 55%,#fff 100%)}
    .login-layout .login-card{width:min(100%,460px);padding:clamp(22px,6.5vw,32px);border-radius:22px}
    .login-layout .login-card::before{top:-40px;right:-52px;width:136px;height:88px}
    .login-layout .login-logo{width:70px;padding:9px;border-radius:18px}
    .login-layout .login-help{align-items:flex-start;text-align:left}
    .login-layout .login-help svg{margin-top:.08em}
    .login-layout .login-heading-copy h2{font-size:clamp(24px,6.6vw,30px)}
    .login-layout .panel-ribbon{right:6%;width:110px;height:110px}
    .login-layout .panel-dots{right:16px;bottom:16px;width:80px;height:44px}
    .login-layout .login-copyright{bottom:22px}
}
@media (max-width:380px){
    .login-layout .login-panel{padding-right:12px;padding-left:12px}
    .login-layout .login-card{padding:22px 16px}
    .login-layout .login-heading{gap:11px}
    .login-layout .login-logo{width:58px;padding:7px;border-radius:15px}
    .login-layout .login-heading-copy h2{font-size:22px}
}
@media (max-height:760px) and (min-width:901px){
    .login-layout .login-visual{padding-top:clamp(36px,8vh,70px)}
    .login-layout .visual-illustration{width:min(58%,560px);bottom:clamp(40px,8vh,90px)}
    .login-layout .visual-tagline{bottom:24px}
    .login-layout .visual-points{gap:11px;margin-top:20px}
}
@media (max-height:640px) and (min-width:901px){
    .login-layout .visual-illustration{opacity:.35}
    .login-layout .visual-tagline{display:none}
}

@media (prefers-reduced-motion:reduce){
    .login-layout *,.login-layout *::before,.login-layout *::after{animation:none!important;transition:none!important}
    .login-layout .tagline-swoosh path{stroke-dashoffset:0}
    .login-layout .il-pick{transform:scale(1);opacity:1}
    .login-layout .il-pick-2,.login-layout .il-pick-3{opacity:0}
}
