:root{
  /* =========================================================
     LOGIN.CSS - LACAK TB
     =========================================================
     TUJUAN:
     - Menyesuaikan halaman login.html dengan index.html final.
     - Branding: Lacak TB.
     - Navbar clean: Beranda, Mitra, Tentang Kami, Hubungi Kami.
     - Login card clean di tengah.
     - Tanpa partikel bergerak.
     - Tanpa canvas background.
     - Tanpa ringHint / ringCanvas / area partikel kanan.
     ========================================================= */

  --bg:#EEF2F7;
  --surface:#EEF2F7;
  --surface2:#F4F7FB;
  --surface3:#FFFFFF;
  --ink:#0b1220;
  --muted:#5b6b84;

  --blue:#0B63FF;
  --blue2:#1D7BFF;
  --blue3:#3C9CFF;

  --line: rgba(11,18,32,.08);
  --radius: 18px;
  --radiusLg: 24px;
  --radiusPill: 999px;

  --neu-out-1: 12px 12px 24px rgba(163,177,198,.55);
  --neu-out-2: -12px -12px 24px rgba(255,255,255,.92);
  --neu-out: var(--neu-out-1), var(--neu-out-2);

  --neu-out-sm-1: 8px 8px 16px rgba(163,177,198,.45);
  --neu-out-sm-2: -8px -8px 16px rgba(255,255,255,.92);
  --neu-out-sm: var(--neu-out-sm-1), var(--neu-out-sm-2);

  --neu-in-1: inset 10px 10px 18px rgba(163,177,198,.35);
  --neu-in-2: inset -10px -10px 18px rgba(255,255,255,.90);
  --neu-in: var(--neu-in-1), var(--neu-in-2);

  --neu-in-sm-1: inset 7px 7px 12px rgba(163,177,198,.30);
  --neu-in-sm-2: inset -7px -7px 12px rgba(255,255,255,.88);
  --neu-in-sm: var(--neu-in-sm-1), var(--neu-in-sm-2);

  --primaryGrad: linear-gradient(
    145deg,
    rgba(60,156,255,1) 0%,
    rgba(11,99,255,1) 55%,
    rgba(29,123,255,1) 100%
  );

  --primaryShadow:
    12px 12px 24px rgba(11,99,255,.24),
    -12px -12px 24px rgba(255,255,255,.70);

  --focus: rgba(11,99,255,.25);

  --success:#16a34a;
  --successBg: rgba(22,163,74,.10);
  --successBorder: rgba(22,163,74,.22);

  --danger:#dc2626;
  --dangerBg: rgba(220,38,38,.10);
  --dangerBorder: rgba(220,38,38,.22);

  --warning:#b45309;
  --warningBg: rgba(180,83,9,.10);
  --warningBorder: rgba(180,83,9,.22);

  --switch-h: 44px;
  --switch-pad: 6px;

  --right-pack-gap: 10px;
  --right-login-gap: 12px;

  --nav-login-w: 120px;
  --nav-login-h: 44px;

  --frost-bg: rgba(255,255,255,.52);
  --frost-border: rgba(255,255,255,.55);
  --frost-blur: 18px;
  --frost-shadow:
    16px 16px 32px rgba(163,177,198,.35),
    -16px -16px 32px rgba(255,255,255,.85);
}

/* =========================================================
   DARK THEME
   ========================================================= */
html[data-theme="dark"]{
  color-scheme: dark;

  --bg:#0b1220;
  --surface:#0f172a;
  --surface2:#111c34;
  --surface3:#182745;
  --ink:#EAF1FF;
  --muted:#A9B7D6;
  --line: rgba(255,255,255,.10);

  --neu-out-1: 12px 12px 26px rgba(0,0,0,.55);
  --neu-out-2: -12px -12px 26px rgba(255,255,255,.06);
  --neu-out: var(--neu-out-1), var(--neu-out-2);

  --neu-out-sm-1: 8px 8px 18px rgba(0,0,0,.50);
  --neu-out-sm-2: -8px -8px 18px rgba(255,255,255,.05);
  --neu-out-sm: var(--neu-out-sm-1), var(--neu-out-sm-2);

  --neu-in-1: inset 10px 10px 18px rgba(0,0,0,.55);
  --neu-in-2: inset -10px -10px 18px rgba(255,255,255,.06);
  --neu-in: var(--neu-in-1), var(--neu-in-2);

  --neu-in-sm-1: inset 7px 7px 12px rgba(0,0,0,.55);
  --neu-in-sm-2: inset -7px -7px 12px rgba(255,255,255,.06);
  --neu-in-sm: var(--neu-in-sm-1), var(--neu-in-sm-2);

  --primaryShadow:
    12px 12px 26px rgba(0,0,0,.45),
    -12px -12px 26px rgba(255,255,255,.06);

  --focus: rgba(106,160,255,.30);

  --blue:#6AA0FF;
  --blue2:#86B2FF;
  --blue3:#A6D3FF;

  --success:#4ade80;
  --successBg: rgba(74,222,128,.12);
  --successBorder: rgba(74,222,128,.22);

  --danger:#f87171;
  --dangerBg: rgba(248,113,113,.12);
  --dangerBorder: rgba(248,113,113,.22);

  --warning:#fbbf24;
  --warningBg: rgba(251,191,36,.12);
  --warningBorder: rgba(251,191,36,.22);

  --frost-bg: rgba(17,28,52,.46);
  --frost-border: rgba(255,255,255,.10);
  --frost-blur: 18px;
  --frost-shadow:
    16px 16px 34px rgba(0,0,0,.45),
    -16px -16px 34px rgba(255,255,255,.05);
}

/* =========================================================
   BASE
   ========================================================= */
*{
  box-sizing: border-box;
}

html,
body{
  min-height: 100%;
}

html{
  background: var(--bg);
  overflow-x: clip;
  scroll-behavior: smooth;
}

@supports not (overflow-x: clip){
  html{
    overflow-x: hidden;
  }
}

body{
  margin: 0;
  min-height: 100svh;
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    "Noto Sans",
    "Apple Color Emoji",
    "Segoe UI Emoji";
  background: var(--bg);
  color: var(--ink);
  transition:
    background .25s ease,
    color .25s ease;
  overflow-x: clip;
  overscroll-behavior-x: none;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

@supports not (overflow-x: clip){
  body{
    overflow-x: hidden;
  }
}

a{
  color: inherit;
}

button,
input,
select,
textarea{
  font: inherit;
}

/* =========================================================
   DISABLE PARTICLE CANVAS / RING
   =========================================================
   Halaman login final tidak memakai:
   - canvas #bg
   - ringHint
   - heroRight particle area
   - ringCanvas
   ========================================================= */
#bg,
#ringCanvas,
.ringHint,
#ringHint,
.heroRight,
#ringArea{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================
   STATIC OVERLAY
   ========================================================= */
.overlay{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(11,99,255,.06), transparent 62%),
    radial-gradient(900px 520px at 82% 22%, rgba(29,123,255,.05), transparent 65%),
    radial-gradient(900px 620px at 50% 88%, rgba(11,18,32,.05), transparent 62%);
  transition: opacity .25s ease;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}

html[data-theme="dark"] .overlay{
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(106,160,255,.10), transparent 65%),
    radial-gradient(900px 520px at 82% 22%, rgba(106,160,255,.06), transparent 70%),
    radial-gradient(900px 620px at 50% 88%, rgba(0,0,0,.45), transparent 60%);
  opacity: .85;
}

/* =========================================================
   INVISIBLE NAV ANCHOR
   ========================================================= */
.navAnchorOnly{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================
   LAYOUT WRAP
   ========================================================= */
.wrap{
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}



/* =========================================================
   NAVBAR
   ========================================================= */
.navwrap{
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 12px 0;
  pointer-events: none;
}

header{
  pointer-events: auto;
  width: min(1480px, 100%);
  height: 72px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--neu-out);
  position: relative;
  overflow: visible;
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

html[data-theme="dark"] header{
  border-color: rgba(255,255,255,.06);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink);
}

.mark{
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: none;
}

/* =========================================================
   NAVBAR BRAND - MATCH INDEX.CSS FINAL
   ========================================================= */
header .brand .mark{
  width: 34px;
  height: 34px;
  min-width: 34px;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: none;
  flex: 0 0 auto;
}

header .brand .brandText{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  line-height: 1.06;
  transform: translateX(-10px);
}

.brandTitle,
header .brand .brandTitle{
  margin: 0;
  padding: 0;
  color: #0b1220;
  font-size: 16px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
  transition: color .25s ease;
}

.brandSubTitle,
header .brand .brandSubTitle{
  margin: 2px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}

html[data-theme="dark"] .brandTitle,
html[data-theme="dark"] header .brand .brandTitle{
  color: #EAF1FF;
}

html[data-theme="dark"] .brandSubTitle,
html[data-theme="dark"] header .brand .brandSubTitle{
  color: rgba(234,241,255,.60);
}

/* =========================================================
   NAV DESKTOP
   ========================================================= */
header nav{
  position: static;
  min-width: 0;
  flex: 1 1 auto;
  margin-left: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.navItem{
  position: relative;
  display: flex;
  align-items: center;
}

.navBtn,
.navLinkBtn{
  appearance: none;
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 15px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    color .16s ease,
    background .16s ease,
    border-color .16s ease;
}

.navLinkBtn i{
  color: currentColor;
  font-size: 14px;
}

.navBtn:hover,
.navLinkBtn:hover{
  background: var(--surface2);
  border-color: rgba(255,255,255,.35);
  box-shadow: var(--neu-out-sm);
  color: var(--ink);
  transform: translateY(-1px);
}

html[data-theme="dark"] .navBtn,
html[data-theme="dark"] .navLinkBtn{
  border-color: rgba(255,255,255,.06);
}

html[data-theme="dark"] .navBtn:hover,
html[data-theme="dark"] .navLinkBtn:hover{
  border-color: rgba(255,255,255,.06);
}

.navCaret{
  font-size: 12px;
  opacity: 0;
  transform: translateY(1px);
  transition:
    opacity .16s ease,
    transform .16s ease,
    rotate .16s ease;
  color: currentColor;
}

.navItem:hover .navCaret{
  opacity: .90;
  transform: translateY(0);
}

.navItem.is-open .navCaret{
  opacity: .95;
  rotate: 180deg;
}

/* =========================================================
   DROPDOWN COMPATIBILITY
   ========================================================= */
.dropdown{
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 360px;
  max-width: 520px;
  padding: 12px;
  border-radius: var(--radiusLg);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--neu-out);
  transform-origin: 24px 0;
  transform: translateY(-6px) scale(.985);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .16s ease,
    transform .16s ease;
}

html[data-theme="dark"] .dropdown{
  border-color: rgba(255,255,255,.06);
}

.navItem.is-open .dropdown{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ddTitle{
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.005em;
  margin: 2px 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ddTitle small{
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  font-size: 12px;
}

.ddGrid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ddLink{
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.35);
  background: var(--surface2);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--neu-out-sm);
  transition:
    transform .14s ease,
    box-shadow .14s ease,
    background .14s ease;
}

html[data-theme="dark"] .ddLink{
  border-color: rgba(255,255,255,.06);
}

.ddLink:hover{
  transform: translateY(-2px);
  background: var(--surface);
}

.ddIcon{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  background: var(--surface);
  box-shadow: var(--neu-in-sm);
  flex: 0 0 auto;
  color: var(--blue);
}

html[data-theme="dark"] .ddIcon{
  border-color: rgba(255,255,255,.06);
}

.ddText b{
  display: block;
  font-weight: 700;
  letter-spacing: -.005em;
  margin-bottom: 2px;
}

.ddText span{
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 500;
}

/* =========================================================
   BUTTONS / SWITCHES
   ========================================================= */
.btn,
.loginBtn,
.burger,
.drawerClose,
.switch,
.searchBtn{
  border: 1px solid rgba(255,255,255,.35);
  background: var(--surface);
  box-shadow: var(--neu-out-sm);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    border-color .16s ease,
    color .16s ease;
  -webkit-tap-highlight-color: transparent;
}

html[data-theme="dark"] .btn,
html[data-theme="dark"] .loginBtn,
html[data-theme="dark"] .burger,
html[data-theme="dark"] .drawerClose,
html[data-theme="dark"] .switch,
html[data-theme="dark"] .searchBtn{
  border-color: rgba(255,255,255,.06);
}

.btn:hover,
.loginBtn:hover,
.burger:hover,
.drawerClose:hover,
.switch:hover,
.searchBtn:hover{
  transform: translateY(-1px);
}

.btn:active,
.loginBtn:active,
.burger:active,
.drawerClose:active,
.switch:active,
.searchBtn:active{
  transform: translateY(0);
  box-shadow: var(--neu-in-sm);
}

.btn:focus-visible,
.loginBtn:focus-visible,
.burger:focus-visible,
.drawerClose:focus-visible,
.switch:focus-visible,
.searchBtn:focus-visible,
.primaryAuthBtn:focus-visible,
.googleBtn:focus-visible,
.textLinkBtn:focus-visible,
.passwordToggleBtn:focus-visible,
.inputShell input:focus-visible,
.navBtn:focus-visible,
.navLinkBtn:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.loginBtn{
  background: var(--primaryGrad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--primaryShadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radiusPill);
  min-width: var(--nav-login-w);
  height: var(--nav-login-h);
  padding: 0 16px;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  text-align: center;
  flex: 0 0 auto;
}

.loginBtn span{
  color: #fff !important;
}

.burger{
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
}

.burger i{
  color: currentColor;
  font-size: 16px;
}

.drawerClose{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
}

.drawerClose i{
  color: currentColor;
  font-size: 18px;
}

.searchBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
}

.searchBtn i{
  color: currentColor;
  font-size: 16px;
}

.searchBtn:hover{
  background: var(--surface2);
  color: var(--blue);
}

/* =========================================================
   SWITCH
   ========================================================= */
.switch{
  height: var(--switch-h);
  border-radius: var(--radiusPill);
  padding: 0 var(--switch-pad);
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  white-space: nowrap;
  flex: 0 0 auto;
}

.switchTrack{
  position: relative;
  height: calc(var(--switch-h) - (var(--switch-pad) * 2));
  border-radius: var(--radiusPill);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--neu-in-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  min-width: 118px;
  overflow: hidden;
}

html[data-theme="dark"] .switchTrack{
  border-color: rgba(255,255,255,.06);
}

.switchLabel{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(91,107,132,.78);
  transition:
    color .18s ease,
    opacity .18s ease;
  z-index: 1;
}

html[data-theme="dark"] .switchLabel{
  color: rgba(169,183,214,.74);
}

.switchLabel i{
  font-size: 13px;
  color: currentColor;
  opacity: .95;
}

.switchThumb{
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  height: calc(var(--switch-h) - (var(--switch-pad) * 2) - 10px);
  width: 50%;
  border-radius: var(--radiusPill);
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--neu-out-sm);
  transition: left .22s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}

html[data-theme="dark"] .switchThumb{
  border-color: rgba(255,255,255,.06);
  background: var(--surface2);
}

.switch[data-on="1"] .switchThumb{
  left: calc(50% - 6px);
}

.switch[data-on="0"] .switchLabel[data-side="left"],
.switch[data-on="1"] .switchLabel[data-side="right"]{
  color: rgba(11,18,32,.92);
  opacity: 1;
}

html[data-theme="dark"] .switch[data-on="0"] .switchLabel[data-side="left"],
html[data-theme="dark"] .switch[data-on="1"] .switchLabel[data-side="right"]{
  color: rgba(234,241,255,.92);
}

.switch[data-on="0"] .switchLabel[data-side="right"],
.switch[data-on="1"] .switchLabel[data-side="left"]{
  opacity: .62;
}

.switch.switch--lang .switchTrack{
  min-width: 108px;
}

.switch.switch--theme .switchTrack{
  min-width: 92px;
}

.switch.switch--theme .switchLabel{
  gap: 0;
  letter-spacing: 0;
}

.switch.switch--theme .switchLabel span{
  display: none;
}

.rightPack{
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--right-pack-gap);
  flex: 0 0 auto;
  min-width: fit-content;
}

.rightPack > *{
  flex-shrink: 0;
}

.rightPack .loginBtn{
  margin-left: var(--right-login-gap);
}

/*
 * Navbar laptop mengikuti index.html terbaru:
 * switch bahasa tidak ditampilkan, hanya switch tema dan tombol Masuk.
 * Elemennya tetap berada di DOM untuk menjaga kompatibilitas login-ui.js.
 */
.rightPack #btnLang{
  display: none !important;
}

/* =========================================================
   MAIN / LOGIN HERO
   ========================================================= */
main{
  flex: 1;
  display: grid;
  place-items: center;
  padding: 34px 18px 28px;
}

.hero.heroSplit{
  width: min(1480px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 0;
  text-align: left;
  padding: 34px 18px;
  margin: 0 auto;
}

.loginHero{
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center;
}

.heroLeft{
  justify-self: center;
  padding-left: 0;
  transform: none;
  will-change: auto;
  position: relative;
  width: min(600px, 100%);
  max-width: 600px;
}

.heroRight{
  display: none !important;
}

/* =========================================================
   FROST FRAME COMPATIBILITY
   ========================================================= */
.frostFrame{
  position: relative;
  border-radius: 26px;
  padding: 22px 22px 18px;
  width: min(690px, 100%);
  background: var(--frost-bg);
  border: 1px solid var(--frost-border);
  box-shadow: var(--frost-shadow);
  backdrop-filter: blur(var(--frost-blur)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--frost-blur)) saturate(1.2);
  overflow: hidden;
  isolation: isolate;
}

.frostFrame::before,
.frostFrame::after{
  content: none !important;
  display: none !important;
}

.frostFrame > *{
  position: relative;
  z-index: 1;
}

/* =========================================================
   LOGIN PAGE
   ========================================================= */
.loginFrame{
  width: min(690px, 100%);
  padding: 24px 24px 20px;
}

.loginIntro{
  margin-bottom: 18px;
}

.loginKicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radiusPill);
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: var(--neu-out-sm);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

html[data-theme="dark"] .loginKicker{
  border-color: rgba(255,255,255,.08);
}

.loginTitle{
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 800;
}

.loginSub{
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(14px, .95vw, 16px);
  line-height: 1.82;
  max-width: 98%;
}

.loginCard{
  width: 100%;
  min-width: 0;
  max-width: 600px;
  border-radius: 28px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.48);
  box-shadow: var(--neu-out);
  padding: 28px 28px 24px;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

html[data-theme="dark"] .loginCard{
  background: rgba(17,28,52,.50);
  border-color: rgba(255,255,255,.08);
}

.loginCardTop{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  min-height: 96px;
}

.loginLogoWrap{
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: var(--neu-out-sm);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

html[data-theme="dark"] .loginLogoWrap{
  border-color: rgba(255,255,255,.08);
}

.loginLogoImg{
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.loginHeadText{
  min-width: 0;
  flex: 1 1 auto;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrowText{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11,99,255,.10);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.loginPanelTitle{
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  min-height: 40px;
  display: flex;
  align-items: flex-end;
}

.loginPanelSub{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 460px;
  min-height: 48px;
}

/* =========================================================
   AUTH TABS
   ========================================================= */
.authTabs{
  margin-top: 4px;
}

.authTabInput{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.authTabSwitch{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: var(--neu-in-sm);
  margin-bottom: 18px;
}

html[data-theme="dark"] .authTabSwitch{
  border-color: rgba(255,255,255,.08);
}

.authTabLabel{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s ease;
  user-select: none;
}

#tabSignIn:checked ~ .authTabSwitch label[for="tabSignIn"],
#tabSignUp:checked ~ .authTabSwitch label[for="tabSignUp"]{
  background: var(--primaryGrad);
  color: #fff;
  box-shadow: var(--primaryShadow);
}

.authPanels{
  position: relative;
}

.authPanel{
  display: none;
}

#tabSignIn:checked ~ .authPanels .signInPanel{
  display: block;
}

#tabSignUp:checked ~ .authPanels .signUpPanel{
  display: block;
}

/* =========================================================
   FORM
   ========================================================= */
.authForm{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inputGroup{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inputGroup label{
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .01em;
}

.inputShell{
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.48);
  box-shadow: var(--neu-in-sm);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

html[data-theme="dark"] .inputShell{
  background: rgba(24,39,69,.72);
  border-color: rgba(255,255,255,.08);
}

.inputShell:focus-within{
  border-color: rgba(11,99,255,.40);
  box-shadow:
    0 0 0 4px rgba(11,99,255,.12),
    var(--neu-in-sm);
}

.inputShell.is-error{
  border-color: var(--dangerBorder);
  box-shadow:
    0 0 0 4px rgba(220,38,38,.10),
    var(--neu-in-sm);
}

html[data-theme="dark"] .inputShell.is-error{
  box-shadow:
    0 0 0 4px rgba(248,113,113,.10),
    var(--neu-in-sm);
}

.inputShell.is-success{
  border-color: var(--successBorder);
  box-shadow:
    0 0 0 4px rgba(22,163,74,.10),
    var(--neu-in-sm);
}

html[data-theme="dark"] .inputShell.is-success{
  box-shadow:
    0 0 0 4px rgba(74,222,128,.10),
    var(--neu-in-sm);
}

.inputShell i{
  color: var(--blue);
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex: 0 0 auto;
}

.inputShell input{
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.inputShell input::placeholder{
  color: color-mix(in srgb, var(--muted) 78%, transparent);
}

.inputShell input:disabled{
  opacity: .72;
  cursor: not-allowed;
}

/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */
.inputShell--password{
  gap: 10px;
}

.inputShell--password .passwordInput{
  flex: 1 1 auto;
  min-width: 0;
}

.passwordToggleBtn{
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    background .18s ease,
    color .18s ease,
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.passwordToggleBtn:hover{
  color: var(--blue);
  background: rgba(11,99,255,.08);
}

.passwordToggleBtn:active{
  transform: scale(.97);
  box-shadow: var(--neu-in-sm);
}

.passwordToggleBtn i{
  width: auto;
  font-size: 16px;
  color: currentColor;
}

.passwordToggleBtn.is-visible{
  color: var(--blue);
  background: rgba(11,99,255,.10);
}

html[data-theme="dark"] .passwordToggleBtn:hover{
  background: rgba(106,160,255,.14);
}

html[data-theme="dark"] .passwordToggleBtn.is-visible{
  background: rgba(106,160,255,.16);
}

/* =========================================================
   FORM ROWS / LINKS
   ========================================================= */
.authRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
}

.checkWrap{
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.checkWrap input{
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.termsWrap{
  margin-top: 2px;
}

.textLink{
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.textLink:hover{
  text-decoration: underline;
}

.textLinkBtn{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.textLinkBtn:hover{
  text-decoration: underline;
}

.authLegalInline{
  margin: -2px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.authLegalInline a{
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.authLegalInline a:hover{
  text-decoration: underline;
}

.authLegalInline .sep{
  opacity: .45;
}

/* =========================================================
   MESSAGE
   ========================================================= */
.authMessage,
.loginStatus{
  display: none;
  width: 100%;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: var(--neu-out-sm);
}

.authMessage:not(:empty),
.loginStatus:not(:empty){
  display: block;
}

.authMessage{
  margin-top: 2px;
  background: rgba(255,255,255,.58);
  border-color: rgba(255,255,255,.45);
  color: var(--muted);
}

html[data-theme="dark"] .authMessage{
  background: rgba(24,39,69,.72);
  border-color: rgba(255,255,255,.08);
}

.authMessage.is-error{
  color: var(--danger);
  background: var(--dangerBg);
  border-color: var(--dangerBorder);
  box-shadow: 0 8px 18px rgba(220,38,38,.08);
}

.authMessage.is-success{
  color: var(--success);
  background: var(--successBg);
  border-color: var(--successBorder);
  box-shadow: 0 8px 18px rgba(22,163,74,.08);
}

.authMessage.is-warning{
  color: var(--warning);
  background: var(--warningBg);
  border-color: var(--warningBorder);
  box-shadow: 0 8px 18px rgba(180,83,9,.08);
}

.loginStatus{
  margin: 0 0 12px;
  background: rgba(255,255,255,.58);
  border-color: rgba(255,255,255,.45);
  color: var(--muted);
  text-align: center;
}

html[data-theme="dark"] .loginStatus{
  background: rgba(24,39,69,.72);
  border-color: rgba(255,255,255,.08);
}

.loginStatus.is-error{
  color: var(--danger);
  background: var(--dangerBg);
  border-color: var(--dangerBorder);
}

.loginStatus.is-success{
  color: var(--success);
  background: var(--successBg);
  border-color: var(--successBorder);
}

.loginStatus.is-warning{
  color: var(--warning);
  background: var(--warningBg);
  border-color: var(--warningBorder);
}

/* =========================================================
   AUTH BUTTON
   ========================================================= */
.primaryAuthBtn{
  appearance: none;
  border: 0;
  min-height: 58px;
  border-radius: 18px;
  background: var(--primaryGrad);
  color: #fff;
  box-shadow: var(--primaryShadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  margin-top: 4px;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.primaryAuthBtn:hover{
  transform: translateY(-1px);
}

.primaryAuthBtn:active{
  transform: translateY(0);
}

.primaryAuthBtn i{
  font-size: 14px;
}

.primaryAuthBtn:disabled{
  opacity: .72;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
   DIVIDER
   ========================================================= */
.authDivider{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.authDivider::before,
.authDivider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(91,107,132,.24),
    transparent
  );
}

/* =========================================================
   GOOGLE AUTH
   ========================================================= */
.authContent{
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}

.googleBtn{
  appearance: none;
  width: 100%;
  min-height: 74px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(238,243,248,.92));
  box-shadow: var(--neu-out-sm);
  color: #202124;
  padding: 14px 18px;
  cursor: pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    opacity .18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.googleBtn:hover{
  transform: translateY(-1px);
}

.googleBtn:active{
  transform: translateY(0);
  box-shadow: var(--neu-in-sm);
}

.googleBtn:disabled{
  opacity: .75;
  cursor: not-allowed;
  transform: none;
}

html[data-theme="dark"] .googleBtn{
  background: linear-gradient(145deg, rgba(17,28,52,.92), rgba(24,39,69,.90));
  border-color: rgba(255,255,255,.08);
  color: #EAF1FF;
}

.googleIconWrap{
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    4px 4px 10px rgba(163,177,198,.18),
    -4px -4px 10px rgba(255,255,255,.95);
  flex: 0 0 auto;
}

.googleSvg{
  width: 28px;
  height: 28px;
  display: block;
}

.googleBtnContent{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.googleBtnText{
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
  color: inherit;
}

/* =========================================================
   SECURITY STRIP / META COMPATIBILITY
   ========================================================= */
.securityStrip{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.securityItem{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(11,99,255,.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.securityItem i{
  font-size: 13px;
}

.loginMeta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.loginMetaItem{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: var(--neu-out-sm);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

html[data-theme="dark"] .loginMetaItem{
  border-color: rgba(255,255,255,.08);
}

.metaDot{
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--primaryGrad);
  box-shadow: var(--neu-out-sm);
  flex: 0 0 auto;
}

/* =========================================================
   FOOTER - MATCH INDEX.CSS FINAL
   ========================================================= */
footer.siteFooter{
  width: 100%;
  margin-top: auto;
  padding: 14px 34px;
  background: rgba(255,255,255,.35);
  border-top: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 -8px 28px rgba(0,0,0,.05);
  color: rgba(15,23,42,.65);
  font-size: 12.5px;
  transition:
    background .25s ease,
    border-color .25s ease,
    color .25s ease;
}

html[data-theme="dark"] footer.siteFooter{
  background: rgba(15,23,42,.45);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(234,241,255,.70);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 -10px 34px rgba(0,0,0,.35);
}

.footerInner{
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footerLeft{
  text-align: left;
  line-height: 1.6;
  color: inherit;
}

.footerPublicAppName{
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  max-width: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.footerCopyrightLine{
  line-height: 1.6;
  color: inherit;
}

.footerRight{
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.footerRight a{
  text-decoration: none;
  color: rgba(15,23,42,.68);
  font-weight: 600;
  transition:
    color .18s ease,
    transform .18s ease,
    opacity .18s ease;
}

html[data-theme="dark"] .footerRight a{
  color: rgba(234,241,255,.74);
}

.footerRight a:hover{
  color: #0b1220;
  opacity: 1;
  transform: translateY(-1px);
}

html[data-theme="dark"] .footerRight a:hover{
  color: #ffffff;
}

.footerRight .sep{
  opacity: .45;
}

/* =========================================================
   DRAWER MOBILE
   ========================================================= */
.backdrop{
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(11,18,32,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  cursor: pointer;
}

html[data-theme="dark"] .backdrop{
  background: rgba(0,0,0,.55);
}

.drawer{
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  height: 100%;
  width: min(420px, 92vw);
  z-index: 50;
  transform: translate3d(-100%, 0, 0);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform .28s cubic-bezier(.2,.8,.2,1),
    opacity .18s ease;
  background: var(--surface);
  box-shadow: var(--neu-out);
  border-right: 1px solid rgba(255,255,255,.35);
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  contain: paint;
  overflow: hidden;
  pointer-events: auto;
}

html[data-theme="dark"] .drawer{
  border-right-color: rgba(255,255,255,.06);
}

body.nav-open{
  overflow: hidden;
  touch-action: none;
}

body.nav-open .backdrop{
  opacity: 1;
  pointer-events: auto;
}

body.nav-open .drawer{
  transform: translate3d(0,0,0);
  opacity: 1;
}

.drawerHeader{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drawerBrand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.drawerTitle{
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--blue);
  line-height: 1.1;
  font-size: 22px;
}

.drawerSub{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
  font-weight: 500;
}

.drawerTopToggles{
  display: flex;
  gap: 10px;
  align-items: center;
}

.searchBtn--drawer{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.drawerNav{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.drawerItem{
  border: 1px solid rgba(255,255,255,.35);
  background: var(--surface);
  border-radius: var(--radiusLg);
  overflow: hidden;
  box-shadow: var(--neu-out-sm);
}

html[data-theme="dark"] .drawerItem{
  border-color: rgba(255,255,255,.06);
}

.drawerItemBtn{
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.drawerItemBtn .left{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.005em;
}

.drawerItemBtn i{
  color: currentColor;
  font-size: 18px;
}

.drawerItemBtn .chev{
  color: rgba(91,107,132,.75);
  font-size: 18px;
  transition: rotate .16s ease;
}

html[data-theme="dark"] .drawerItemBtn .chev{
  color: rgba(169,183,214,.70);
}

.drawerItem.is-open .drawerItemBtn .chev{
  rotate: 180deg;
}

.drawerLinkOnly .chev{
  rotate: 0deg !important;
}

.drawerSubmenu{
  display: none;
  padding: 0 12px 12px;
  gap: 10px;
}

.drawerItem.is-open .drawerSubmenu{
  display: grid;
  grid-template-columns: 1fr;
}

.drawerSubmenu a{
  text-decoration: none;
  color: var(--ink);
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.35);
  background: var(--surface2);
  box-shadow: var(--neu-in-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
}

html[data-theme="dark"] .drawerSubmenu a{
  border-color: rgba(255,255,255,.06);
}

.drawerSubmenu a small{
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

.drawerFooter{
  margin-top: auto;
  padding-top: 12px;
}

.drawerActions .loginBtn{
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 16px 18px;
  font-size: 14px;
  border-radius: 999px;
  letter-spacing: .12em;
}

/* =========================================================
   ANIMATION
   ========================================================= */
.auth-page .heroLeft > *{
  opacity: 0;
  will-change: transform, opacity, filter;
  transform: translateY(18px);
  filter: blur(14px);
  animation: niagaFadeInUp .75s cubic-bezier(.22,.61,.36,1) .12s forwards;
}

@keyframes niagaFadeInUp{
  0%{
    opacity: 0;
    transform: translateY(18px);
    filter: blur(14px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .auth-page .heroLeft > *{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */
@media (max-width: 1180px){
  .hero.heroSplit{
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .heroLeft{
    justify-self: center;
    width: 100%;
    max-width: 600px;
    padding-left: 0;
    transform: none;
  }

  .loginFrame{
    width: 100%;
    margin: 0 auto;
  }

  .loginCard{
    min-width: 0;
    max-width: 100%;
  }

  .loginSub{
    max-width: 100%;
  }
}




/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 740px){
  :root{
    --mobile-footer-h: 64px;
  }

  header nav{
    display: none;
  }

  .navwrap{
    padding: 10px 10px 0;
  }

  header{
    min-height: 64px;
    height: auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  header .brand .mark{
    width: 32px;
    height: 32px;
    min-width: 32px;
    object-fit: contain;
    object-position: center;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transform: none;
    flex: 0 0 auto;
  }

  header .brand .brandText{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    line-height: 1.06;
    transform: translateX(-10px);
  }

  header .brand .brandTitle{
    margin: 0;
    padding: 0;
    color: #0b1220;
    font-size: 16px;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.02em;
    white-space: nowrap;
  }

  header .brand .brandSubTitle{
    margin: 2px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -.01em;
    white-space: nowrap;
  }

  html[data-theme="dark"] header .brand .brandTitle{
    color: #EAF1FF;
  }

  html[data-theme="dark"] header .brand .brandSubTitle{
    color: rgba(234,241,255,.60);
  }

  .burger{
    display: inline-flex;
  }

  .rightPack{
    width: auto;
    gap: 8px;
    min-width: 0;
  }

  .rightPack #btnSearch,
  .rightPack #btnLang,
  .rightPack #btnTheme{
    display: none;
  }

  .rightPack .loginBtn{
    display: none;
  }

  .drawer{
    inset: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100dvw;
    max-width: 100dvw;
    height: 100dvh;
    border-radius: 0;
    border-right: 0;
    padding:
      max(16px, env(safe-area-inset-top))
      16px
      max(18px, env(safe-area-inset-bottom))
      16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
  }

  .drawerHeader{
    align-items: center;
  }

  .drawerTitle{
    font-size: 24px;
  }

  .drawerSub{
    font-size: 13px;
  }

  .drawerTopToggles{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 2px;
  }

  .drawerTopToggles .switch,
  .drawerTopToggles .searchBtn{
    width: 100%;
  }

  .drawerTopToggles .switchTrack{
    width: 100%;
    min-width: 0 !important;
    flex: 1;
  }

  .switch.switch--theme .switchTrack{
    min-width: 0 !important;
  }

  .searchBtn--drawer{
    width: 100%;
    height: 44px;
    border-radius: var(--radiusPill);
  }

  main{
    padding: 14px 10px calc(var(--mobile-footer-h) + 10px);
  }

  .hero.heroSplit{
    padding: 10px 4px 8px;
  }

  .heroLeft{
    width: 100%;
    max-width: 100%;
  }

  .loginFrame{
    width: 100%;
    padding: 18px 16px 16px;
  }

  .loginKicker{
    margin-bottom: 14px;
    font-size: 11px;
  }

  .loginTitle{
    text-align: center;
    font-size: clamp(28px, 8vw, 40px);
  }

  .loginSub{
    max-width: 100%;
    text-align: center;
    margin-top: 12px;
  }

  .loginCard{
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 14px 16px 16px;
    border-radius: 22px;
  }

  .loginCardTop{
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 12px;
    margin-bottom: 12px;
    min-height: auto;
  }

  .loginLogoWrap{
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 17px;
  }

  .loginLogoImg{
    width: 34px;
    height: 34px;
  }

  .loginHeadText{
    min-height: auto;
    align-items: flex-start;
    text-align: left;
    flex: 0 1 auto;
  }

  .loginPanelTitle{
    width: 100%;
    margin-bottom: 4px;
    font-size: 21px;
    line-height: 1.12;
    min-height: auto;
    justify-content: flex-start;
    text-align: left;
  }

  .loginPanelSub{
    width: 100%;
    max-width: 270px;
    min-height: auto;
    font-size: 11.8px;
    line-height: 1.36;
    text-align: left;
  }

  .authTabSwitch{
    gap: 6px;
    padding: 5px;
    margin-bottom: 12px;
  }

  .authTabLabel{
    min-height: 40px;
    font-size: 13px;
  }

  .authForm{
    gap: 10px;
  }

  .inputGroup{
    gap: 6px;
  }

  .inputGroup label{
    width: 100%;
    display: block;
    text-align: left;
    font-size: 12.5px;
  }

  .inputShell{
    min-height: 48px;
    padding: 0 12px;
    border-radius: 16px;
  }

  .inputShell input{
    font-size: 14px;
  }

  .passwordToggleBtn{
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
  }

  .authRow{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .checkWrap{
    font-size: 13px;
  }

  .textLinkBtn{
    font-size: 13px;
    white-space: nowrap;
  }

  .authLegalInline{
    gap: 8px;
    font-size: 12.5px;
  }

  .authMessage,
  .loginStatus{
    border-radius: 14px;
    padding: 11px 12px;
    font-size: 12.5px;
  }

  .primaryAuthBtn{
    min-height: 50px;
    border-radius: 16px;
  }

  .authDivider{
    margin: 14px 0 12px;
    font-size: 11px;
  }

  .googleBtn{
    min-height: 52px;
    gap: 12px;
    padding: 8px 14px;
    border-radius: 16px;
  }

  .googleIconWrap{
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .googleSvg{
    width: 23px;
    height: 23px;
  }

  .googleBtnText{
    font-size: 14.5px;
  }

  .securityStrip,
  .loginMeta{
    justify-content: center;
  }

  .loginMetaItem{
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  footer.siteFooter{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    width: 100%;
    min-height: var(--mobile-footer-h);
    margin: 0;
    padding:
      7px
      14px
      calc(5px + env(safe-area-inset-bottom))
      14px;
    background: rgba(255,255,255,.35);
    border-top: 1px solid rgba(255,255,255,.45);
    color: rgba(15,23,42,.65);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.6),
      0 -8px 28px rgba(0,0,0,.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: visible;
  }

  html[data-theme="dark"] footer.siteFooter{
    background: rgba(15,23,42,.45);
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(234,241,255,.70);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.06),
      0 -10px 34px rgba(0,0,0,.35);
  }

  .footerInner{
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    line-height: 1.2;
  }

  .footerLeft{
    order: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }

  .footerPublicAppName{
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    max-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .footerRight{
    order: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    transform: translateY(10px);
  }

  .footerRight a,
  .footerRight .sep{
    font-size: 11.8px;
    line-height: 1.2;
  }

  .footerCopyrightLine{
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 9.5px;
    line-height: 1.2;
    transform: translateY(12px);
  }
}



/* =========================================================
   EXTRA COMPACT MOBILE HEIGHT
   =========================================================
   Untuk layar HP yang lebih pendek agar login card lebih
   ringkas dan tidak terdorong ke bawah / tertutup footer.
   ========================================================= */
@media (max-width: 740px) and (max-height: 820px){
  main{
    padding-top: 10px;
    padding-bottom: calc(var(--mobile-footer-h) + 8px);
  }

  .hero.heroSplit{
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .loginCard{
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .loginCardTop{
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 10px;
    margin-bottom: 10px;
  }

  .loginLogoWrap{
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 16px;
  }

  .loginLogoImg{
    width: 32px;
    height: 32px;
  }

  .loginHeadText{
    align-items: flex-start;
    text-align: left;
  }

  .loginPanelTitle{
    font-size: 20px;
    margin-bottom: 3px;
    justify-content: flex-start;
    text-align: left;
  }

  .loginPanelSub{
    max-width: 265px;
    font-size: 11.5px;
    line-height: 1.32;
    text-align: left;
  }


  .authTabSwitch{
    margin-bottom: 10px;
  }

  .authTabLabel{
    min-height: 38px;
  }

  .authForm{
    gap: 8px;
  }

  .inputShell{
    min-height: 46px;
  }

  .primaryAuthBtn{
    min-height: 48px;
  }

  .authDivider{
    margin: 12px 0 10px;
  }

  .googleBtn{
    min-height: 50px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: 16px;
  }
}

/* =========================================================
   LOGIN DESKTOP — BACKGROUND & SHADOW SELARAS INDEX
   VERSION: 2026-08-01 V1
   =========================================================
   TUJUAN:
   - Background desktop memakai lacaktb-preview.png yang sama
     dengan halaman Index.
   - Foto memenuhi sisi kanan dan memudar lembut ke sisi kiri.
   - Card login ditempatkan di sisi kiri layar.
   - Shadow, gradient, border, dan blur mengikuti gaya card
     konten utama pada halaman Index.
   - Tampilan tablet dan HP tetap memakai susunan sebelumnya.
   ========================================================= */

/* Elemen foto tidak mengganggu tablet dan HP. */
.loginVisualArea{
  display:none;
}

/* =========================================================
   LAPTOP / DESKTOP
   ========================================================= */
@media (min-width:1121px){
  main{
    padding:0;
    overflow:hidden;
  }

  .loginHero.loginHero--indexBackground{
    position:relative;
    isolation:isolate;

    width:100%;
    max-width:none;
    min-height:calc(100svh - 140px);
    margin:0;
    padding:clamp(40px,4vw,64px) clamp(34px,4.5vw,76px);

    display:flex;
    align-items:center;
    justify-content:flex-start;
    justify-items:initial;
    gap:0;

    overflow:hidden;
    background:var(--bg);
  }

  /*
   * Gradient utama sama seperti komposisi desktop Index:
   * sisi kiri tetap terang untuk menjaga keterbacaan form,
   * lalu memudar menuju area foto di kanan.
   */
  .loginHero.loginHero--indexBackground::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;

    background:linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(238,242,247,.96) 13%,
      rgba(238,242,247,.78) 29%,
      rgba(238,242,247,.34) 45%,
      rgba(238,242,247,.04) 65%,
      rgba(238,242,247,.02) 100%
    );
  }

  /*
   * Cahaya biru sangat lembut di belakang card kiri.
   */
  .loginHero.loginHero--indexBackground::after{
    content:"";
    position:absolute;
    top:14%;
    left:1%;
    z-index:1;

    width:48%;
    height:68%;
    pointer-events:none;
    border-radius:50%;

    background:radial-gradient(
      ellipse at center,
      rgba(11,99,255,.08),
      rgba(11,99,255,.025) 48%,
      transparent 72%
    );

    filter:blur(16px);
  }

  /* =======================================================
     FOTO BACKGROUND KANAN
     ======================================================= */
  .loginVisualArea{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:auto;
    z-index:0;

    width:78%;
    height:100%;
    display:block;
    overflow:hidden;
    isolation:isolate;
    pointer-events:none;
  }

  /* Fade horizontal dari kiri menuju foto. */
  .loginVisualArea::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;

    background:linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(238,242,247,.96) 8%,
      rgba(238,242,247,.68) 23%,
      rgba(238,242,247,.22) 42%,
      rgba(238,242,247,.01) 62%,
      rgba(238,242,247,0) 100%
    );
  }

  /* Shadow/fade atas dan bawah seperti halaman Index. */
  .loginVisualArea::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:4;
    pointer-events:none;

    background:linear-gradient(
      180deg,
      rgba(238,242,247,.32) 0%,
      rgba(238,242,247,0) 6%,
      rgba(238,242,247,0) 96%,
      rgba(238,242,247,.30) 100%
    );

    -webkit-mask-image:linear-gradient(
      90deg,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.68) 34%,
      rgba(0,0,0,.46) 64%,
      rgba(0,0,0,.24) 84%,
      rgba(0,0,0,.08) 100%
    );

    mask-image:linear-gradient(
      90deg,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.68) 34%,
      rgba(0,0,0,.46) 64%,
      rgba(0,0,0,.24) 84%,
      rgba(0,0,0,.08) 100%
    );
  }

  .loginVisualFrame{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    overflow:hidden;
    background:transparent;
  }

  /* Transisi halus di bawah navbar. */
  .loginVisualFrame::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;

    background:linear-gradient(
      180deg,
      rgba(238,242,247,.72) 0%,
      rgba(238,242,247,.52) 2.5%,
      rgba(238,242,247,.28) 6%,
      rgba(238,242,247,.10) 10%,
      rgba(238,242,247,0) 14%
    );
  }

  /* Penguat fade pada sudut kanan atas. */
  .loginVisualFrame::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    z-index:3;

    width:126px;
    height:104px;
    pointer-events:none;

    background:radial-gradient(
      ellipse at 100% 0%,
      rgba(238,242,247,1) 0%,
      rgba(238,242,247,.94) 24%,
      rgba(238,242,247,.76) 46%,
      rgba(238,242,247,.48) 66%,
      rgba(238,242,247,.20) 84%,
      rgba(238,242,247,0) 100%
    );
  }

  .loginVisualImage{
    position:absolute;
    top:0;
    right:-2px;
    bottom:0;
    left:0;

    width:calc(100% + 2px);
    height:100%;
    min-height:100%;
    display:block;

    object-fit:cover;
    object-position:62% 50%;

    filter:saturate(.88) contrast(.98) brightness(1.02);
    transform:scale(1.08);
    transform-origin:center;
  }

  /* =======================================================
     CARD LOGIN DI SISI KIRI
     ======================================================= */
  .loginHero.loginHero--indexBackground .heroLeft{
    position:relative;
    top:-6px;
    z-index:4;

    width:min(540px,40vw);
    max-width:540px;
    margin-left:clamp(32px,4.5vw,72px);
    margin-right:auto;
    padding-left:0;

    justify-self:auto;
    transform:none;
  }

  .loginHero.loginHero--indexBackground
  .loginCard--indexShadow{
    position:relative;
    isolation:isolate;

    width:100%;
    max-width:540px;
    padding:26px 26px 22px;

    border:1px solid rgba(255,255,255,.72);
    border-radius:27px;

    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.84),
        rgba(238,242,247,.72)
      ),
      radial-gradient(
        circle at 12% 10%,
        rgba(11,99,255,.09),
        transparent 34%
      );

    box-shadow:
      16px 16px 34px rgba(163,177,198,.30),
      -14px -14px 31px rgba(255,255,255,.70);

    backdrop-filter:blur(22px) saturate(1.09);
    -webkit-backdrop-filter:blur(22px) saturate(1.09);
  }

  /*
   * Garis dalam sangat lembut agar card terlihat formal,
   * bukan seperti panel yang bertumpuk.
   */
  .loginHero.loginHero--indexBackground
  .loginCard--indexShadow::before{
    content:"";
    position:absolute;
    inset:10px;
    z-index:-1;
    pointer-events:none;

    border:1px solid rgba(255,255,255,.22);
    border-radius:20px;
  }

  /* Form daftar dapat menambah tinggi hero tanpa terpotong. */
  .loginHero.loginHero--indexBackground:has(#tabSignUp:checked){
    min-height:max(
      calc(100svh - 140px),
      820px
    );
  }

  /* =======================================================
     DARK MODE DESKTOP
     ======================================================= */
  html[data-theme="dark"]
  .loginHero.loginHero--indexBackground::before{
    background:linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(11,18,32,.96) 13%,
      rgba(11,18,32,.80) 29%,
      rgba(11,18,32,.36) 45%,
      rgba(11,18,32,.04) 66%,
      rgba(11,18,32,.02) 100%
    );
  }

  html[data-theme="dark"]
  .loginVisualArea::before{
    background:linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(11,18,32,.96) 8%,
      rgba(11,18,32,.70) 23%,
      rgba(11,18,32,.24) 42%,
      rgba(11,18,32,.02) 62%,
      rgba(11,18,32,0) 100%
    );
  }

  html[data-theme="dark"]
  .loginVisualArea::after{
    background:linear-gradient(
      180deg,
      rgba(11,18,32,.34) 0%,
      rgba(11,18,32,0) 6%,
      rgba(11,18,32,0) 96%,
      rgba(11,18,32,.34) 100%
    );
  }

  html[data-theme="dark"]
  .loginVisualFrame::before{
    background:linear-gradient(
      180deg,
      rgba(11,18,32,.74) 0%,
      rgba(11,18,32,.54) 2.5%,
      rgba(11,18,32,.30) 6%,
      rgba(11,18,32,.12) 10%,
      rgba(11,18,32,0) 14%
    );
  }

  html[data-theme="dark"]
  .loginVisualFrame::after{
    background:radial-gradient(
      ellipse at 100% 0%,
      rgba(11,18,32,1) 0%,
      rgba(11,18,32,.96) 24%,
      rgba(11,18,32,.78) 46%,
      rgba(11,18,32,.50) 66%,
      rgba(11,18,32,.22) 84%,
      rgba(11,18,32,0) 100%
    );
  }

  html[data-theme="dark"]
  .loginVisualImage{
    filter:saturate(.82) contrast(1.02) brightness(.78);
  }

  html[data-theme="dark"]
  .loginHero.loginHero--indexBackground
  .loginCard--indexShadow{
    border-color:rgba(255,255,255,.10);

    background:
      linear-gradient(
        145deg,
        rgba(17,28,52,.86),
        rgba(15,23,42,.76)
      ),
      radial-gradient(
        circle at 12% 10%,
        rgba(106,160,255,.14),
        transparent 36%
      );

    box-shadow:
      16px 16px 35px rgba(0,0,0,.43),
      -14px -14px 32px rgba(255,255,255,.027);
  }

  html[data-theme="dark"]
  .loginHero.loginHero--indexBackground
  .loginCard--indexShadow::before{
    border-color:rgba(255,255,255,.035);
  }
}

/* =========================================================
   FALLBACK BROWSER TANPA :has()
   =========================================================
   Card Sign Up tetap dapat menambah tinggi halaman karena
   section hero memakai min-height, bukan tinggi yang dikunci.
   ========================================================= */

/* =========================================================
   LAYAR LAPTOP DENGAN TINGGI TERBATAS
   ========================================================= */
@media (min-width:1121px) and (max-height:820px){
  .loginHero.loginHero--indexBackground{
    min-height:auto;
    padding-top:24px;
    padding-bottom:28px;
  }

  .loginHero.loginHero--indexBackground .heroLeft{
    top:0;
  }

  .loginHero.loginHero--indexBackground
  .loginCard--indexShadow{
    padding-top:22px;
    padding-bottom:20px;
  }
}

