/* Alurkas — halaman autentikasi (landing + login, register, forgot, reset)
   Gaya mengikuti Figma: gelap navy→ungu, aksen teal/pirus. */
.auth-page {
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 85% -10%, #1b2a6b 0%, transparent 55%),
              radial-gradient(900px 500px at -10% 110%, #312e81 0%, transparent 55%),
              linear-gradient(160deg, #0b1026 0%, #131a3f 55%, #0d1330 100%);
  color: #e6e9f5;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
.auth-page .phone { max-width: none; width: 100%; padding: 0; background: transparent; }
.auth-page .flash-wrap { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(92vw, 560px); }
.auth-page .flash { border-radius: 12px; padding: 12px 18px; margin-bottom: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.45); }

.auth-shell { display: flex; min-height: 100vh; }
.auth-left {
  flex: 1.15;
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px clamp(28px, 5vw, 84px);
  position: relative; overflow: hidden;
}
.auth-left::after {
  content: ""; position: absolute; right: -120px; bottom: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.22) 0%, transparent 65%);
  pointer-events: none;
}
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .3px; margin-bottom: 34px; }
.auth-brand .logo-dot { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg,#2dd4bf,#0ea5e9); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.auth-hero h1 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; letter-spacing: -.5px; }
.auth-hero h1 .teal { color: #2dd4bf; }
.auth-hero p.lead { font-size: clamp(15px, 1.6vw, 18px); color: #aab3d6; max-width: 520px; line-height: 1.6; margin: 0 0 30px; }
.auth-stats { display: flex; gap: clamp(16px, 3vw, 42px); margin-bottom: 34px; flex-wrap: wrap; }
.auth-stat .num { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: #fff; }
.auth-stat .num small { font-size: .6em; color: #2dd4bf; font-weight: 700; }
.auth-stat .lbl { font-size: 12.5px; color: #8f9ac4; margin-top: 2px; }
.auth-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 560px; }
.auth-feat { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 11px 14px; font-size: 13.5px; color: #cdd4f0; }
.auth-feat .fi { font-size: 17px; }

.auth-right {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 48px clamp(20px, 4vw, 64px);
  background: rgba(10, 14, 38, .5);
  backdrop-filter: blur(6px);
}
.auth-card {
  width: 100%; max-width: 400px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 30px 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.auth-card h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; }
.auth-card .sub { color: #9aa4c8; font-size: 14px; margin-bottom: 22px; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 12.5px; color: #aab3d6; margin-bottom: 6px; font-weight: 600; }
.auth-field input {
  width: 100%; box-sizing: border-box;
  background: rgba(8, 11, 30, .75); color: #eef1fb;
  border: 1px solid rgba(255,255,255,.14); border-radius: 11px;
  padding: 12px 14px; font-size: 15px; outline: none; transition: border .15s, box-shadow .15s;
}
.auth-field input:focus { border-color: #2dd4bf; box-shadow: 0 0 0 3px rgba(45,212,191,.18); }
.auth-field input::placeholder { color: #5f6a95; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 16px; font-size: 13px; }
.auth-row a { color: #2dd4bf; text-decoration: none; font-weight: 600; }
.auth-row a:hover { text-decoration: underline; }
.btn-google {
  width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #1f2437; border: none; border-radius: 11px;
  padding: 12px 14px; font-size: 15px; font-weight: 700; cursor: pointer; transition: opacity .15s, transform .1s;
}
.btn-google:hover { opacity: .92; transform: translateY(-1px); }
.btn-google svg { width: 18px; height: 18px; }
.auth-or { display: flex; align-items: center; gap: 12px; color: #7d88b3; font-size: 12.5px; margin: 18px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.btn-primary {
  width: 100%; box-sizing: border-box;
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9); color: #071021;
  border: none; border-radius: 11px; padding: 13px 14px; font-size: 15.5px; font-weight: 800;
  cursor: pointer; transition: opacity .15s, transform .1s;
}
.btn-primary:hover { opacity: .92; transform: translateY(-1px); }
.auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; color: #9aa4c8; }
.auth-foot a { color: #2dd4bf; font-weight: 700; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }
.auth-lang { position: absolute; top: 22px; right: 26px; z-index: 5; }
.auth-lang select {
  background: rgba(8,11,30,.7); color: #cdd4f0; border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px; padding: 8px 10px; font-size: 13px; outline: none;
}
.geek-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 16px; border-radius: 10px; background: rgba(45,212,191,.12); color: #2dd4bf; text-decoration: none; font-size: 13px; font-weight: 700; border: 1px solid rgba(45,212,191,.35); }
.geek-btn:hover { background: rgba(45,212,191,.2); }
.auth-note { font-size: 13px; color: #8f9ac4; line-height: 1.5; margin-top: 4px; }

@media (max-width: 860px) {
  .auth-shell { flex-direction: column; }
  .auth-left { padding: 40px 24px 8px; }
  .auth-left::after { display: none; }
  .auth-hero h1 { font-size: 30px; }
  .auth-stats { gap: 22px; }
  .auth-features { grid-template-columns: 1fr 1fr; }
  .auth-right { padding: 28px 18px 48px; background: transparent; }
  .auth-lang { position: static; display: flex; justify-content: flex-end; padding: 18px 18px 0; }
}
