/* =========================================================
  PANDU - LOGIN CSS
  Lokasi file: ./css/login.css

  UPDATE FINAL PRESISI:
  - CSS disesuaikan dengan struktur login.html terbaru.
  - Badge PANDU Mobile Apps kiri atas dihapus dari tampilan.
  - Card kiri memakai .login-visual-card.
  - Card kanan memakai .login-card-shell.
  - Tinggi card kiri dan kanan dibuat presisi sama pada desktop.
  - .login-visual-bg mengikuti tinggi penuh .login-visual-card.
  - CSS lama .visual-card dan style lama .container tidak dipakai lagi.

  UPDATE POPUP LOGIN PROCESS:
  - Ditambahkan modal proses login.
  - Modal hanya tampil saat login.js membuka #loginProcessModal.
  - Tampilan mengikuti popup validasi akses dashboard:
    biru formal, neumorphism, orbit/dot loading.
  - Spinner kecil tombol login tidak lagi menjadi tampilan utama.
========================================================= */

/* =========================================================
  FONT FORMAL PANDU
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700;750;800&display=swap');

/* =========================================================
  ROOT VARIABLES
========================================================= */
:root {
  --bg: #EEF2F7;
  --surface: #F7FAFF;
  --surface2: #FFFFFF;

  --primary: #0B63FF;
  --primary2: #3C9CFF;
  --blue: #0B63FF;
  --cyan: #38D5FF;

  --ink: #102033;
  --muted: #607188;
  --muted2: #8392A8;
  --line: rgba(148, 163, 184, .22);

  --danger: #EF4444;
  --success: #10B981;

  --primaryGrad: linear-gradient(135deg, #3C9CFF 0%, #0B63FF 58%, #0047D9 100%);
  --softGrad: linear-gradient(145deg, #F9FCFF 0%, #EAF0F8 100%);
  --cardGrad: linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(238, 242, 247, .96));

  --neu-out:
    12px 12px 26px rgba(163, 177, 198, .34),
    -12px -12px 26px rgba(255, 255, 255, .86);

  --neu-out-sm:
    7px 7px 16px rgba(163, 177, 198, .28),
    -7px -7px 16px rgba(255, 255, 255, .82);

  --neu-in:
    inset 8px 8px 16px rgba(163, 177, 198, .24),
    inset -8px -8px 16px rgba(255, 255, 255, .80);

  --neu-in-sm:
    inset 4px 4px 10px rgba(163, 177, 198, .20),
    inset -4px -4px 10px rgba(255, 255, 255, .74);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;

  --login-card-w: 450px;

  /*
    Tinggi presisi untuk card kiri dan card kanan.
    Jika nanti ingin sedikit lebih pendek/panjang, cukup ubah angka ini.
  */
  --login-panel-h: 650px;
}

/* =========================================================
  RESET
========================================================= */
* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(60, 156, 255, .18), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(56, 213, 255, .13), transparent 26%),
    linear-gradient(145deg, #F7FAFF 0%, #EEF2F7 45%, #E8EEF6 100%);
  overflow-x: hidden;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.login-process-open {
  overflow: hidden;
}

button,
input {
  font-family: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

/* =========================================================
  PAGE LAYOUT
========================================================= */
.layout {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100vw - 72px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(720px, 1.42fr) minmax(390px, .58fr);
  gap: 30px;
  align-items: center;
}

/* =========================================================
  VISUAL KIRI - KHUSUS LOGIN
========================================================= */
.side-visual {
  min-width: 0;
  align-self: center;
}

.login-visual-card {
  position: relative;
  width: 100%;
  min-height: var(--login-panel-h);
  height: var(--login-panel-h);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(235, 241, 249, .96));
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: var(--neu-out);
}

.login-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at 16% 18%, rgba(60, 156, 255, .22), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(56, 213, 255, .18), transparent 24%),
    radial-gradient(circle at 76% 86%, rgba(11, 99, 255, .11), transparent 30%),
    linear-gradient(145deg, #F9FCFF 0%, #EEF4FB 100%);
}

.login-visual-bg::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 28px;
  border: 1px dashed rgba(11, 99, 255, .18);
  pointer-events: none;
}

.login-visual-bg::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -86px;
  bottom: -105px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(11, 99, 255, .18), rgba(60, 156, 255, .06) 52%, transparent 70%);
}

.login-visual-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: var(--login-panel-h);
  height: var(--login-panel-h);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-visual-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(238, 242, 247, .86));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--neu-out-sm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

.login-visual-kicker-icon {
  width: 22px;
  height: 22px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--primaryGrad);
  box-shadow: 0 9px 18px rgba(11, 99, 255, .18);
}

.login-svg-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-visual-title {
  margin: 16px 0 0;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(30px, 3.45vw, 44px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.055em;
}

.login-visual-desc {
  margin: 15px 0 0;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(13px, 1.7vw, 16px);
  line-height: 1.65;
  font-weight: 500;
}

.login-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
}

.login-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(238, 242, 247, .92));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--neu-out-sm);
}

.login-feature-list i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .10);
}

/* =========================================================
  INFORMASI LOGIN
========================================================= */
.login-access-guide {
  margin-top: 24px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .70), rgba(238, 242, 247, .90));
  border: 1px solid rgba(255, 255, 255, .76);
  box-shadow:
    inset 4px 4px 12px rgba(163, 177, 198, .15),
    inset -4px -4px 12px rgba(255, 255, 255, .76);
}

.login-access-guide-head {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}

.login-info-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: var(--primaryGrad);
  box-shadow: 0 0 0 5px rgba(11, 99, 255, .10);
}

.login-info-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.login-info-panel-card {
  min-height: 168px;
  padding: 15px 13px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(235, 241, 249, .94));
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow:
    7px 7px 16px rgba(163, 177, 198, .22),
    -7px -7px 16px rgba(255, 255, 255, .78);
}

.login-info-panel-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background:
    linear-gradient(145deg, #FFFFFF, #EAF0F8);
  box-shadow: var(--neu-out-sm);
}

.login-info-panel-icon .login-svg-icon {
  width: 19px;
  height: 19px;
}

.login-info-panel-body {
  min-width: 0;
}

.login-info-panel-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.login-info-panel-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 500;
}

.login-security-note {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .70), rgba(238, 242, 247, .88));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--neu-in-sm);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 550;
}

.login-security-note-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--primaryGrad);
  box-shadow: 0 10px 18px rgba(11, 99, 255, .18);
}

.login-security-note-icon .login-svg-icon {
  width: 16px;
  height: 16px;
}

/* =========================================================
  FORM LOGIN KANAN
========================================================= */
.container {
  width: 100%;
  max-width: var(--login-card-w);
  justify-self: end;
  align-self: center;
}

.login-card-shell {
  width: 100%;
  min-height: var(--login-panel-h);
  height: var(--login-panel-h);
  padding: 28px 26px 24px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(235, 241, 249, .96));
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: var(--neu-out);
}

.header {
  text-align: left;
  margin-bottom: 16px;
}

.login-card-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(238, 242, 247, .92));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--neu-out-sm);
  font-size: 12px;
  font-weight: 800;
}

.login-card-badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--primaryGrad);
}

.title {
  margin: 15px 0 0;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.045em;
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

/* =========================================================
  FORM ELEMENTS
========================================================= */
form {
  display: grid;
  gap: 0;
}

label {
  display: block;
  margin-top: 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.01em;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="search"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  outline: none;
  padding: 0 15px;
  margin-top: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 560;
  background:
    linear-gradient(145deg, #F9FCFF, #EAF0F8);
  box-shadow: var(--neu-in-sm);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

input::placeholder {
  color: rgba(96, 113, 136, .70);
}

input:focus {
  border-color: rgba(11, 99, 255, .38);
  box-shadow:
    var(--neu-in-sm),
    0 0 0 4px rgba(11, 99, 255, .09);
}

.input-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 500;
}

/* =========================================================
  PASSWORD WRAP
========================================================= */
.pw-wrap {
  position: relative;
}

.pw-wrap input {
  padding-right: 50px;
}

.toggle-visibility {
  position: absolute;
  top: calc(50% + 4px);
  right: 9px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted2);
  background: transparent;
  transform: translateY(-50%);
  transition:
    color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.toggle-visibility:hover,
.toggle-visibility:focus-visible {
  outline: none;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .70), rgba(238, 242, 247, .88));
  box-shadow: var(--neu-out-sm);
}

.toggle-visibility svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
}

.toggle-visibility .icon-eye-off {
  display: none;
}

.toggle-visibility[data-state="show"] .icon-eye {
  display: none;
}

.toggle-visibility[data-state="show"] .icon-eye-off {
  display: block;
}

/* =========================================================
  BUTTON LOGIN
========================================================= */
.btn {
  position: relative;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  background: var(--primaryGrad);
  box-shadow:
    0 18px 30px rgba(11, 99, 255, .22),
    inset 0 1px 0 rgba(255, 255, 255, .30);
  overflow: hidden;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow:
    0 20px 34px rgba(11, 99, 255, .26),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}

.btn:active {
  transform: translateY(0);
}

.btn[disabled],
.btn[aria-busy="true"] {
  cursor: not-allowed;
  opacity: .88;
}

/*
  Spinner tombol disembunyikan karena loading utama sudah memakai popup.
  Elemen tetap ada di HTML agar tidak merusak struktur lama.
*/
.btn__spinner {
  display: none !important;
}

.btn__label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.btn__ghost {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
}

/* =========================================================
  RESPONSE + HELPER
========================================================= */
#response {
  min-height: 18px;
  margin: 11px 0 0;
  color: var(--danger);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.helper {
  margin-top: 13px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

.helper a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.helper a:hover {
  text-decoration: underline;
}

.helper-register {
  margin-top: 7px;
}

footer {
  margin-top: 17px;
  text-align: center;
  color: var(--muted2);
  font-size: 10.5px;
  font-weight: 650;
}

/* =========================================================
  LOGIN PROCESS MODAL
  Popup loading proses login.
========================================================= */
.login-process-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity .22s ease,
    visibility .22s ease;
}

.login-process-modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-process-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(60, 156, 255, .18), transparent 34%),
    rgba(238, 242, 247, .74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.login-process-dialog {
  position: relative;
  width: min(430px, calc(100vw - 34px));
  min-height: 250px;
  padding: 30px 26px 26px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(235, 241, 249, .96));
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow:
    22px 22px 50px rgba(148, 163, 184, .30),
    -18px -18px 44px rgba(255, 255, 255, .82),
    inset 1px 1px 0 rgba(255, 255, 255, .90);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility .22s ease;
}

.login-process-modal[aria-hidden="true"] .login-process-dialog {
  opacity: 0;
  transform: translateY(12px) scale(.96);
}

.login-process-dialog::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -125px;
  right: -88px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(11, 99, 255, .20), rgba(60, 156, 255, .07) 48%, transparent 72%);
  pointer-events: none;
}

.login-process-dialog::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: -80px;
  bottom: -88px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(56, 213, 255, .16), rgba(11, 99, 255, .04) 48%, transparent 72%);
  pointer-events: none;
}

.login-process-icon-wrap {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.login-process-icon-wrap::before,
.login-process-icon-wrap::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(11, 99, 255, .16);
  box-shadow:
    inset 5px 5px 12px rgba(163, 177, 198, .20),
    inset -5px -5px 12px rgba(255, 255, 255, .82);
  pointer-events: none;
}

.login-process-icon-wrap::before {
  inset: 0;
  animation: loginProcessPulse 2.4s ease-in-out infinite;
}

.login-process-icon-wrap::after {
  inset: 15px;
  border-color: rgba(60, 156, 255, .20);
  animation: loginProcessPulse 2.4s ease-in-out infinite .45s;
}

.login-process-icon {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #3C9CFF, #0B63FF);
  box-shadow:
    0 15px 30px rgba(11, 99, 255, .24),
    inset 1px 1px 0 rgba(255, 255, 255, .38);
}

.login-process-svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-process-spinner {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(145deg, #3C9CFF, #0B63FF);
  box-shadow:
    0 0 12px rgba(11, 99, 255, .42),
    0 0 22px rgba(60, 156, 255, .26);
  opacity: 0;
  animation: loginProcessOrbit 1.35s linear infinite;
}

.login-process-spinner[aria-hidden="false"] {
  opacity: 1;
}

/* Semua state utama tetap formal biru-slate */
.login-process-modal[data-state="loading"] .login-process-icon,
.login-process-modal[data-state="success"] .login-process-icon,
.login-process-modal[data-state="warning"] .login-process-icon {
  background: linear-gradient(145deg, #3C9CFF, #0B63FF);
}

.login-process-modal[data-state="error"] .login-process-icon {
  background: linear-gradient(145deg, #5B6B82, #334155);
  box-shadow:
    0 15px 30px rgba(51, 65, 85, .22),
    inset 1px 1px 0 rgba(255, 255, 255, .30);
}

.login-process-body {
  position: relative;
  z-index: 1;
  text-align: center;
}

.login-process-title {
  margin: 0;
  color: #0f172a;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.login-process-text {
  width: min(100%, 340px);
  margin: 12px auto 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.login-process-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.login-process-ok {
  min-width: 138px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(238, 242, 247, .94));
  border: 1px solid rgba(255, 255, 255, .76);
  box-shadow: var(--neu-out-sm);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    color .18s ease;
}

.login-process-ok:hover {
  transform: translateY(-1px);
  color: #0047D9;
  box-shadow:
    10px 10px 22px rgba(163, 177, 198, .30),
    -10px -10px 22px rgba(255, 255, 255, .86);
}

.login-process-ok:active {
  transform: translateY(0);
  box-shadow: var(--neu-in-sm);
}

.login-process-ok:disabled,
.login-process-ok[hidden] {
  display: none;
}

.login-process-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #64748b;
  background: linear-gradient(145deg, #f8fbff, #edf3fb);
  box-shadow:
    7px 7px 16px rgba(148, 163, 184, .18),
    -7px -7px 16px rgba(255, 255, 255, .88);
  transition:
    transform .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.login-process-close span {
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
}

.login-process-close:hover {
  color: #0B63FF;
  transform: translateY(-1px);
}

.login-process-close:active {
  transform: translateY(0);
  box-shadow:
    inset 4px 4px 10px rgba(148, 163, 184, .16),
    inset -4px -4px 10px rgba(255, 255, 255, .84);
}

.login-process-close:disabled,
.login-process-close[hidden] {
  display: none;
}

/* =========================================================
  ANIMATIONS
========================================================= */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loginProcessPulse {
  0%,
  100% {
    opacity: .70;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes loginProcessOrbit {
  0% {
    transform: rotate(0deg) translateY(-48px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateY(-48px) rotate(-360deg);
  }
}

/* =========================================================
  RESPONSIVE - TABLET
========================================================= */
@media (max-width: 1100px) {
  :root {
    --login-panel-h: auto;
  }

  .layout {
    width: min(100%, calc(100vw - 36px));
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 32px 0;
  }

  .container {
    max-width: 520px;
    justify-self: center;
    align-self: center;
  }

  .login-visual-card {
    height: auto;
    min-height: auto;
  }

  .login-visual-content {
    height: auto;
    min-height: auto;
    padding: 26px;
  }

  .login-card-shell {
    height: auto;
    min-height: auto;
  }

  .login-info-panel-grid {
    grid-template-columns: 1fr;
  }

  .login-info-panel-card {
    min-height: 94px;
    flex-direction: row;
    align-items: flex-start;
  }
}

/* =========================================================
  RESPONSIVE - MOBILE
========================================================= */
@media (max-width: 760px) {
  .layout {
    width: min(100%, calc(100vw - 24px));
    padding: 28px 0;
  }

  .side-visual {
    display: none;
  }

  .container {
    max-width: 430px;
  }

  .login-card-shell {
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .header {
    text-align: left;
    margin-bottom: 14px;
  }

  .title {
    font-size: 27px;
  }

  .hint {
    font-size: 12.5px;
  }

  .login-process-modal {
    padding: 18px;
  }

  .login-process-dialog {
    width: min(420px, calc(100vw - 28px));
    min-height: 236px;
    padding: 28px 22px 24px;
    border-radius: 28px;
  }

  .login-process-icon-wrap {
    width: 100px;
    height: 100px;
  }

  .login-process-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .login-process-title {
    font-size: 21px;
  }

  .login-process-text {
    font-size: 13.5px;
  }
}

/* =========================================================
  RESPONSIVE - SMALL MOBILE
========================================================= */
@media (max-width: 430px) {
  .layout {
    width: min(100%, calc(100vw - 20px));
    padding: 24px 0;
  }

  .login-card-shell {
    padding: 20px 16px 17px;
    border-radius: 22px;
  }

  .title {
    font-size: 25px;
  }

  input[type="text"],
  input[type="password"],
  input[type="tel"],
  input[type="email"],
  input[type="search"] {
    min-height: 50px;
    border-radius: 17px;
    font-size: 13px;
  }

  .btn {
    min-height: 52px;
    border-radius: 17px;
  }

  .toggle-visibility {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .login-process-dialog {
    padding: 26px 18px 22px;
    border-radius: 26px;
  }

  .login-process-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
  }

  .login-process-icon-wrap {
    width: 96px;
    height: 96px;
    margin-bottom: 12px;
  }

  .login-process-spinner {
    animation-duration: 1.35s;
  }

  .login-process-title {
    font-size: 20px;
  }

  .login-process-text {
    width: min(100%, 300px);
    font-size: 13px;
    line-height: 1.6;
  }
}

/* =========================================================
  RESPONSIVE - EXTRA SMALL
========================================================= */
@media (max-width: 360px) {
  .layout {
    width: min(100%, calc(100vw - 16px));
    padding: 18px 0;
  }

  .login-card-shell {
    padding: 18px 14px 16px;
  }

  .title {
    font-size: 23px;
  }

  .login-card-badge {
    font-size: 11px;
  }

  .login-process-modal {
    padding: 14px;
  }

  .login-process-dialog {
    width: min(100%, calc(100vw - 20px));
    padding: 24px 16px 20px;
  }

  .login-process-icon-wrap {
    width: 90px;
    height: 90px;
  }

  .login-process-icon {
    width: 50px;
    height: 50px;
  }

  .login-process-svg {
    width: 25px;
    height: 25px;
  }
}

/* =========================================================
  PRINT SAFE
========================================================= */
@media print {
  .badge-wrap,
  .side-visual,
  .login-process-modal {
    display: none !important;
  }

  body {
    background: #ffffff !important;
  }

  .layout {
    min-height: auto !important;
    display: block !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .container {
    max-width: none !important;
  }

  .login-card-shell {
    box-shadow: none !important;
    border: 1px solid #dbe3ef !important;
  }
}

/* =========================================================
  REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
  HIDE UNUSED OVERLAY FROM OLD VERSION
========================================================= */
.badge-wrap,
.shadow-light,
.edge-frame {
  display: none !important;
}