/* Login-only shape and motion. The native POST and server own authentication. */
.desainku-auth.auth-curve{padding:0;min-height:100svh;overflow-x:clip;background:var(--dui-canvas)}
.desainku-auth.auth-curve .auth-card{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px));animation:none;opacity:1;transform:none}
.desainku-auth.auth-curve .auth-brand{position:relative;isolation:isolate;display:block;min-height:clamp(212px,30svh,274px);height:auto;padding:0;overflow:hidden;border-radius:0;background:transparent;text-align:left}
.auth-curve .auth-brand-shape{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;transform-origin:50% 0}
.auth-curve .auth-curve-start{stop-color:var(--dui-hero-start)}
.auth-curve .auth-curve-end{stop-color:var(--dui-hero-middle)}
.auth-curve .auth-brand-copy{position:relative;z-index:1;width:calc(100% - 48px);max-width:560px;margin-inline:auto;padding:48px 0 100px}
.desainku-auth.auth-curve .auth-brand h1{max-width:100%;font-size:38px;line-height:1.25;overflow-wrap:anywhere}
.desainku-auth.auth-curve .auth-brand p{max-width:100%;margin-top:10px;line-height:1.6;color:var(--dui-rail-muted)}
.desainku-auth.auth-curve .auth-form{padding-top:12px;animation:none;opacity:1;transform:none}
.desainku-auth.auth-curve .auth-form h2{margin-bottom:24px;font-size:26px}
.desainku-auth.auth-curve .input-icon-wrap input{background:var(--dui-surface);border-color:var(--dui-line);box-shadow:none;caret-color:var(--dui-focus)}
.desainku-auth.auth-curve .input-icon-wrap input:focus{border-color:var(--dui-focus)}
.desainku-auth.auth-curve .input-icon-wrap.has-error input{border-color:var(--color-danger)}
.desainku-auth.auth-curve #btnMasuk{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:8px;height:52px;min-height:52px;padding:0 20px;overflow:visible;border:0;background:transparent;box-shadow:none;transform:none;transition:none}
.auth-curve #btnMasuk::before{content:'';position:absolute;z-index:-1;inset:0;border-radius:999px;background:var(--dui-action);clip-path:inset(0 0 round 999px);transition:clip-path 320ms cubic-bezier(.16,1,.3,1),filter 120ms ease}
.auth-curve #btnMasuk:hover::before{filter:brightness(.94)}
.auth-curve #btnMasuk:active::before{filter:brightness(.88)}
.auth-curve #btnMasuk:disabled{cursor:not-allowed;opacity:.6}
.auth-curve #btnMasuk>svg,.auth-curve #labelBtnMasuk{transition:opacity 100ms ease}
.auth-curve .auth-submit-spinner{display:none;position:absolute;width:20px;height:20px;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;pointer-events:none}
.auth-curve .auth-submit-status{display:block;min-height:20px;margin-top:10px;color:var(--dui-muted);font-size:12px;line-height:1.6;text-align:center}
.desainku-auth.auth-curve .auth-help-text{margin-top:8px;text-align:center}
.auth-curve .auth-is-submitting #btnMasuk{cursor:progress}
.auth-curve .auth-is-submitting #btnMasuk::before{clip-path:inset(0 calc(50% - 30px) round 999px)}
.auth-curve .auth-is-submitting #btnMasuk>svg,.auth-curve .auth-is-submitting #labelBtnMasuk{opacity:0}
.auth-curve .auth-is-submitting .auth-submit-spinner{display:block;animation:auth-pending-spin 760ms linear infinite}
.desainku-auth.auth-curve .auth-card>.alert-success{background:var(--color-success-soft);color:var(--color-success)}
.desainku-auth.auth-curve .auth-alert-error{margin-top:8px;animation:none}
.auth-curve.auth-enter .auth-brand-shape{animation:auth-curve-open 620ms cubic-bezier(.16,1,.3,1)}
.auth-curve.auth-enter .auth-brand-copy{animation:auth-copy-in 460ms cubic-bezier(.16,1,.3,1)}
.auth-curve.auth-enter .auth-form{animation:auth-form-in 460ms cubic-bezier(.16,1,.3,1)}
@keyframes auth-curve-open{from{transform:translateY(-8px) scaleY(1.28)}to{transform:translateY(0) scaleY(1)}}
@keyframes auth-copy-in{from{opacity:.8;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@keyframes auth-form-in{from{opacity:.82;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes auth-pending-spin{to{transform:rotate(360deg)}}
@media(max-width:599px){
  .desainku-auth.auth-curve .auth-brand{min-height:clamp(206px,28svh,242px)}
  .auth-curve .auth-brand-copy{width:calc(100% - 40px);padding:42px 0 90px}
  .desainku-auth.auth-curve .auth-brand h1{font-size:32px}
  .desainku-auth.auth-curve :is(.auth-form,.auth-alert-error,.auth-card>.alert){width:calc(100% - 40px)}
  .desainku-auth.auth-curve .auth-form{padding-top:8px}
  .desainku-auth.auth-curve .auth-form h2{font-size:24px}
}
@media(max-height:650px){
  .desainku-auth.auth-curve .auth-brand{min-height:152px}
  .auth-curve .auth-brand-copy{padding-block:24px 62px}
  .desainku-auth.auth-curve .auth-brand h1{font-size:28px}
  .desainku-auth.auth-curve .auth-form h2{font-size:22px;margin-bottom:18px}
  .desainku-auth.auth-curve .auth-brand p{margin-top:6px}
}
@media(max-height:440px){
  .desainku-auth.auth-curve .auth-brand{min-height:106px}
  .auth-curve .auth-brand-copy{padding-block:12px 36px}
  .desainku-auth.auth-curve .auth-brand h1{font-size:24px}
  .desainku-auth.auth-curve .auth-brand p{margin-top:4px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .auth-curve.auth-enter :is(.auth-brand-shape,.auth-brand-copy,.auth-form){animation:none}
  .auth-curve #btnMasuk::before,.auth-curve #btnMasuk>svg,.auth-curve #labelBtnMasuk{transition:none}
  .auth-curve .auth-is-submitting .auth-submit-spinner{animation:none;border-color:#ffffff70;border-top-color:#fff}
}
