/* ==========================================================================
   RuangSNBT v10 — Clean Interactive Auth (Login, Register, Reset Password)
   Pure Blue–White Editorial Craft · Zero AI Slop · Mobile / Tablet / Laptop
   ========================================================================== */

.auth-v10-body {
  background: #F6F6F7;
  color: #0C1830;
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .auth-shell {
    grid-template-columns: 0.92fr 1.08fr;
    background: #FFFFFF;
  }
}

/* Left Panel (Desktop Only — Calm Cobalt Editorial) */
.auth-aside {
  display: none;
  background: linear-gradient(160deg, #F58A1F 0%, #F58A1F 58%, #18181C 100%);
  color: #FFFFFF;
  padding: 44px 48px;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 960px) {
  .auth-aside { display: flex; }
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.auth-back:hover { color: #FFFFFF; }

.auth-aside-title {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 12px;
}

.auth-aside-sub {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 26px;
  max-width: 390px;
}

/* Live Interactive Preview Card on Left Panel */
.auth-live-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.auth-live-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.auth-live-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #F58A1F;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-live-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-live-pill {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 12px;
}
.auth-live-pill span { display: block; opacity: 0.72; font-size: 11px; }
.auth-live-pill strong { font-family: var(--font-heading); font-size: 13.5px; }

/* Right Panel (Form Side — Mobile, Tablet, Laptop) */
.auth-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 16px 32px;
}

@media (min-width: 640px) {
  .auth-main { padding: 36px 28px; }
}

.auth-mob-top {
  width: 100%;
  max-width: 460px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
@media (min-width: 960px) { .auth-mob-top { display: none; } }

.auth-box {
  width: 100%;
  max-width: 460px;
  background: #FFFFFF;
  border: 1px solid #E3EAF4;
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 18px 40px -24px rgba(12, 24, 48, 0.16);
}

@media (min-width: 960px) {
  .auth-box {
    border: none;
    box-shadow: none;
    padding: 12px 0;
    max-width: 430px;
  }
}

/* Instant Mode Switcher (Masuk | Daftar) */
.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: #F4F8FF;
  border: 1px solid #E3EAF4;
  border-radius: 12px;
  margin-bottom: 24px;
}

.auth-switch a {
  text-align: center;
  padding: 9px 12px;
  border-radius: 9px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: #6E7E96;
  transition: background 0.15s ease, color 0.15s ease;
}

.auth-switch a.is-active {
  background: #F58A1F;
  color: #FFFFFF;
}

/* Password Field with Eye Toggle */
.pw-wrap {
  position: relative;
}

.pw-wrap .form-control {
  padding-right: 46px;
}

.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #64748B;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pw-toggle:hover { background: #F1F5F9; color: #0C1830; }

/* Password Strength Meter */
.pw-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 8px;
}
.pw-bar {
  height: 4px;
  border-radius: 999px;
  background: #E2EAF4;
  transition: background 0.2s ease;
}
.pw-bar.lv-1 { background: #EF4444; }
.pw-bar.lv-2 { background: #F59E0B; }
.pw-bar.lv-3 { background: #F58A1F; }
.pw-bar.lv-4 { background: #10B981; }

.pw-hint {
  font-size: 11.5px;
  color: #6E7E96;
  margin-top: 4px;
}

/* 2-Step Indicator on Register */
.reg-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #6E7E96;
}
.reg-step-dot {
  padding: 4px 10px;
  border-radius: 999px;
  background: #F4F8FF;
  border: 1px solid #E3EAF4;
}
.reg-step-dot.is-active {
  background: #EBF5F8;
  border-color: #F58A1F;
  color: #F58A1F;
}
