/* =====================================================================
   THEME CASHV2 — Modern Fintech (KilatCash)
   ---------------------------------------------------------------------
   Inspirasi: Bank Jago, SeaBank, Kredivo
   Aktif jika body memiliki class "theme-cashV2".
   ===================================================================== */

/* ---------- Variabel Komprehensif ---------- */
body.theme-cashV2 {
  /* Brand */
  --c-primary:        #1B4FD8;
  --c-primary-dark:   #0E2A8C;
  --c-primary-light:  #3B82F6;
  --c-primary-soft:   #EEF3FF;

  --c-accent:         #06B6D4;          /* cyan accent */
  --c-accent-dark:    #0891B2;
  --c-accent-soft:    #CFFAFE;

  --c-purple:         #8B5CF6;
  --c-purple-soft:    #EDE9FE;

  /* Status */
  --c-success:        #10B981;
  --c-success-soft:   #DCFCE7;
  --c-warn:           #F59E0B;
  --c-warn-soft:      #FEF3C7;
  --c-danger:         #EF4444;
  --c-danger-soft:    #FEE2E2;

  /* Surface */
  --c-bg:             #F4F7FE;
  --c-bg-deep:        #EAF0FB;
  --c-card:           #FFFFFF;
  --c-text:           #0F172A;
  --c-text-soft:      #475569;
  --c-text-muted:     #94A3B8;
  --c-border:         #E2E8F0;
  --c-border-soft:    #F1F5F9;

  /* Mapping ke variabel lama (kompat) */
  --navy:        var(--c-primary-dark);
  --blue:        var(--c-primary);
  --orange:      var(--c-primary);       /* primary jadi biru */
  --orange-dark: var(--c-primary-dark);
  --orange-light:var(--c-primary-soft);
  --teal:        var(--c-accent);
  --green:       var(--c-success);
  --warn:        var(--c-warn);
  --danger:      var(--c-danger);
  --gray:        var(--c-text-soft);
  --border:      var(--c-border);
  --bg:          var(--c-bg);
  --white:       var(--c-card);
  --text:        var(--c-text);

  /* Effect tokens */
  --r-xs:  10px;
  --r-sm:  14px;
  --r-md:  20px;
  --r-lg:  24px;
  --r-xl:  28px;
  --r-pill:9999px;

  --sh-xs:  0 1px 2px  rgba(15, 23, 42, 0.04);
  --sh-sm:  0 4px 12px rgba(15, 23, 42, 0.05);
  --sh-md:  0 10px 25px rgba(15, 23, 42, 0.05);
  --sh-lg:  0 16px 40px rgba(15, 23, 42, 0.08);
  --sh-glow:0 12px 36px rgba(27, 79, 216, 0.28);

  --gd-primary: linear-gradient(135deg, #1B4FD8 0%, #3B82F6 60%, #06B6D4 130%);
  --gd-hero:    linear-gradient(160deg, #0E2A8C 0%, #1B4FD8 45%, #3B82F6 100%);
  --gd-dark:    linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);

  --card-shadow: var(--sh-md);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
}

/* ============================================================
   BASE / GLOBAL
============================================================ */
body.theme-cashV2 *, body.theme-cashV2 *::before, body.theme-cashV2 *::after {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
body.theme-cashV2 h1, body.theme-cashV2 h2, body.theme-cashV2 h3, body.theme-cashV2 h4 {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  letter-spacing: -0.01em;
}

/* ============================================================
   APP SHELL (Mobile maksimal 480px)
============================================================ */
body.theme-cashV2 .app-wrap,
body.theme-cashV2 .app-shell {
  max-width: 480px;
  margin: 0 auto;
  background: var(--c-bg);
  min-height: 100vh;
  position: relative;
  padding-bottom: 110px; /* ruang untuk floating nav */
}

@media (min-width: 480px) {
  body.theme-cashV2 .app-wrap,
  body.theme-cashV2 .app-shell {
    box-shadow: 0 0 60px rgba(15,23,42,0.10);
  }
}

/* ============================================================
   TOP BAR (User mode) — clean header dengan greeting + bell
============================================================ */
body.theme-cashV2 .top-bar {
  background: transparent !important;
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(244, 247, 254, 0.78) !important;
}
body.theme-cashV2 .top-bar-left { gap: 12px; }
body.theme-cashV2 .top-bar h2 {
  color: var(--c-text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
body.theme-cashV2 .top-bar .back-btn {
  width: 40px; height: 40px;
  background: var(--c-card);
  color: var(--c-text);
  border-radius: 14px;
  box-shadow: var(--sh-xs);
  border: 1px solid var(--c-border-soft);
}
body.theme-cashV2 .top-bar .back-btn:hover {
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
body.theme-cashV2 .top-bar-logo { gap: 12px; }
body.theme-cashV2 .top-bar-logo .logo-icon {
  width: 42px; height: 42px;
  background: var(--gd-primary);
  border-radius: 14px;
  font-size: 1.2rem;
  box-shadow: var(--sh-sm);
}
body.theme-cashV2 .top-bar-logo .logo-text {
  color: var(--c-text);
  font-size: 1.1rem;
  letter-spacing: -0.4px;
}
body.theme-cashV2 .top-bar-logo .logo-text em {
  color: var(--c-primary);
  font-style: normal;
}

/* Greeting block — letakkan di kiri menggantikan logo bila user di dashboard */
.tbar-greet {
  display: flex; align-items: center; gap: 12px;
}
.tbar-greet .tbar-avatar {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--gd-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--sh-sm);
  flex-shrink: 0;
}
.tbar-greet .tbar-text { line-height: 1.2; }
.tbar-greet .tbar-hi {
  font-size: 0.74rem;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}
.tbar-greet .tbar-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.2px;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Notification bell (elegant) */
body.theme-cashV2 .notif-btn {
  width: 44px; height: 44px;
  background: var(--c-card) !important;
  color: var(--c-text);
  border-radius: 14px !important;
  border: 1px solid var(--c-border-soft);
  box-shadow: var(--sh-xs);
  font-size: 1.1rem;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
body.theme-cashV2 .notif-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-sm);
}
body.theme-cashV2 .notif-btn:active { transform: scale(0.96); }
body.theme-cashV2 .notif-badge-num {
  background: linear-gradient(135deg, var(--c-danger), #F87171) !important;
  border: 2px solid var(--c-card) !important;
  box-shadow: 0 2px 6px rgba(239,68,68,0.4);
}

/* ============================================================
   APP CONTENT
============================================================ */
body.theme-cashV2 .app-content {
  padding: 0 0 20px;
  animation: pageFade 0.5s ease both;
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO LIMIT CARD — glassmorphism + glow
============================================================ */
body.theme-cashV2 .hero-card {
  position: relative;
  margin: 14px 16px 22px;
  padding: 24px 22px 22px;
  border-radius: var(--r-xl);
  color: #fff;
  background: var(--gd-hero) !important;
  overflow: hidden;
  box-shadow: var(--sh-glow);
  isolation: isolate;
}
/* Glow orb 1 */
body.theme-cashV2 .hero-card::before {
  content: '';
  position: absolute;
  inset: auto -90px -70px auto;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, transparent 60%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
/* Glow orb 2 */
body.theme-cashV2 .hero-card::after {
  content: '';
  position: absolute;
  inset: -100px -60px auto auto;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
body.theme-cashV2 .hero-card > * { position: relative; z-index: 2; }

body.theme-cashV2 .hero-greeting {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
body.theme-cashV2 .hero-balance-lbl {
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  font-weight: 600;
}
body.theme-cashV2 .hero-balance {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin: 0;
}
body.theme-cashV2 .hero-balance .amt {
  background: linear-gradient(180deg, #FFFFFF 0%, #C7D7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 24px rgba(199,215,255,0.25);
}

/* Tier tag (di hero) */
body.theme-cashV2 .vip-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.theme-cashV2 .vip-tag.v1 {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
  color: #fff;
}
body.theme-cashV2 .vip-tag.v3 {
  background: linear-gradient(135deg, rgba(251,191,36,0.4), rgba(245,158,11,0.4));
  border: 1px solid rgba(251,191,36,0.6);
  color: #FEF3C7;
}

/* Quick action pill di hero */
body.theme-cashV2 .quick-actions { display: flex; gap: 10px; margin-top: 22px; }
body.theme-cashV2 .qa-btn {
  flex: 1;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.18s ease, background 0.18s ease;
}
body.theme-cashV2 .qa-btn:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}
body.theme-cashV2 .qa-btn:active { transform: scale(0.98); }
body.theme-cashV2 .qa-btn .qa-ico {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

/* CTA Apply (gold) */
body.theme-cashV2 .btn-gradient-orange {
  background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%) !important;
  box-shadow: 0 10px 25px rgba(6,182,212,0.35) !important;
  color: #fff !important;
  font-weight: 800;
  padding: 16px 24px !important;
  border-radius: var(--r-md) !important;
  letter-spacing: 0.2px;
}

/* ============================================================
   SECTION HEADER
============================================================ */
body.theme-cashV2 .sec-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 20px 12px;
}
body.theme-cashV2 .sec-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--c-text);
  letter-spacing: -0.2px;
}
body.theme-cashV2 .sec-header a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
}

/* ============================================================
   MENU GRID (modern fintech tile)
============================================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 8px 16px 22px;
}
.menu-grid-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--c-card);
  border-radius: var(--r-md);
  padding: 16px 8px 12px;
  text-decoration: none;
  color: var(--c-text);
  border: 1px solid var(--c-border-soft);
  box-shadow: var(--sh-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.menu-grid-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
  color: var(--c-text);
}
.menu-grid-item:active { transform: scale(0.97); }
.menu-grid-item .mg-ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.menu-grid-item .mg-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}
.mg-ico.mg-blue   { background: var(--c-primary-soft); color: var(--c-primary); }
.mg-ico.mg-cyan   { background: var(--c-accent-soft);  color: var(--c-accent-dark); }
.mg-ico.mg-purple { background: var(--c-purple-soft);  color: var(--c-purple); }
.mg-ico.mg-warn   { background: var(--c-warn-soft);    color: var(--c-warn); }
.mg-ico.mg-success{ background: var(--c-success-soft); color: var(--c-success); }
.mg-ico.mg-danger { background: var(--c-danger-soft);  color: var(--c-danger); }

/* ============================================================
   CARDS & LISTS
============================================================ */
body.theme-cashV2 .card-app,
body.theme-cashV2 .stat-tile,
body.theme-cashV2 .menu-list,
body.theme-cashV2 .list-card,
body.theme-cashV2 .dt-card {
  background: var(--c-card);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-soft);
  box-shadow: var(--sh-sm);
  margin-left: 16px;
  margin-right: 16px;
}
body.theme-cashV2 .card-app:hover,
body.theme-cashV2 .stat-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.theme-cashV2 .list-card { padding: 6px 0; }

body.theme-cashV2 .list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--c-border-soft);
}
body.theme-cashV2 .list-item:last-child { border-bottom: none; }
body.theme-cashV2 .li-ico {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
body.theme-cashV2 .li-info { flex: 1; min-width: 0; }
body.theme-cashV2 .li-title { font-size: 0.92rem; font-weight: 600; color: var(--c-text); margin-bottom: 2px; }
body.theme-cashV2 .li-sub   { font-size: 0.72rem; color: var(--c-text-muted); }
body.theme-cashV2 .li-amount{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

/* ============================================================
   ACTIVE LOAN CARD (warning style)
============================================================ */
body.theme-cashV2 .active-loan-card {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A) !important;
  border: 1px solid #FCD34D !important;
  border-radius: var(--r-md);
  margin: 0 16px 16px;
  padding: 18px 18px;
  box-shadow: 0 8px 24px rgba(251,191,36,0.18);
}
body.theme-cashV2 .alc-left .alc-lbl    { color: #92400E; }
body.theme-cashV2 .alc-left .alc-amount { color: #78350F; }

/* ============================================================
   BOTTOM NAV — Floating Glassmorphism
============================================================ */
body.theme-cashV2 .bottom-nav {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 460px;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  background: rgba(255,255,255,0.78) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(226,232,240,0.6) !important;
  border-top: 1px solid rgba(226,232,240,0.6) !important;
  border-radius: 22px !important;
  padding: 8px 6px !important;
  box-shadow: 0 16px 40px rgba(15,23,42,0.12) !important;
  z-index: 200;
}
body.theme-cashV2 .bottom-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  text-decoration: none;
  color: var(--c-text-muted);
  font-size: 0.62rem;
  font-weight: 600;
  border-radius: 14px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
body.theme-cashV2 .bottom-nav .nav-item .nav-ico {
  font-size: 1.3rem;
  line-height: 1;
}
body.theme-cashV2 .bottom-nav .nav-item.active {
  color: var(--c-primary) !important;
}
body.theme-cashV2 .bottom-nav .nav-item.active .nav-ico-wrap {
  background: var(--c-primary-soft);
  border-radius: 12px;
  padding: 5px 14px;
}
body.theme-cashV2 .bottom-nav .nav-locked {
  opacity: 0.45;
}

/* ============================================================
   AUTH PAGES (login / register / otp)
============================================================ */
body.theme-cashV2.auth-page {
  background: var(--c-bg);
  min-height: 100vh;
}
.auth-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
}
@media (min-width: 480px) {
  .auth-shell {
    box-shadow: 0 0 60px rgba(15, 23, 42, 0.10);
  }
}

/* Hero auth — gradient + curves merged into background */
.auth-hero {
  background: var(--gd-hero);
  color: #fff;
  padding: 40px 24px 80px;
  position: relative;
  overflow: hidden;
}
.auth-hero::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.4) 0%, transparent 60%);
  right: -120px; top: -110px;
  filter: blur(8px);
  pointer-events: none;
}
.auth-hero::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.35) 0%, transparent 60%);
  left: -80px; bottom: -80px;
  filter: blur(10px);
  pointer-events: none;
}
.auth-hero > * { position: relative; z-index: 1; }

.auth-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.auth-brand-ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.auth-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.auth-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
.auth-headline span { color: #06B6D4; }
.auth-sub {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin: 0;
}

/* Form panel pulled up over hero */
.auth-form-card {
  background: var(--c-card);
  margin: -56px 16px 0;
  padding: 28px 22px 26px;
  border-radius: 28px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--c-border-soft);
  position: relative;
  z-index: 5;
  animation: authFade 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes authFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-form-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}
.auth-form-card .sub {
  font-size: 0.85rem;
  color: var(--c-text-soft);
  margin: 0 0 18px;
}

/* Floating label input */
.fld {
  position: relative;
  margin-bottom: 14px;
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  padding: 22px 16px 8px;
  border: 1.5px solid var(--c-border);
  border-radius: 16px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--c-bg);
  color: var(--c-text);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  border-color: var(--c-primary);
  background: var(--c-card);
  box-shadow: 0 0 0 4px rgba(27,79,216,0.12);
}
.fld label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  pointer-events: none;
  transition: top 0.16s ease, font-size 0.16s ease, color 0.16s ease;
  background: transparent;
  font-weight: 500;
}
.fld input:focus + label,
.fld input:not(:placeholder-shown) + label,
.fld select:focus + label,
.fld select:not([value=""]):valid + label,
.fld textarea:focus + label,
.fld textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.7rem;
  color: var(--c-primary);
  font-weight: 600;
}

/* Phone input with prefix (special floating label variant) */
.fld-phone {
  position: relative;
  margin-bottom: 14px;
}
.fld-phone .pf-prefix {
  position: absolute;
  top: 50%; left: 16px;
  transform: translateY(-50%);
  display: flex; align-items: center; gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-text);
  z-index: 2;
  pointer-events: none;
}
.fld-phone .pf-prefix .flag { font-size: 1.1rem; }
.fld-phone .pf-prefix .sep {
  width: 1px; height: 22px;
  background: var(--c-border);
  margin-left: 6px;
}
.fld-phone .pf-input {
  width: 100%;
  padding: 18px 16px 18px 96px;
  border: 1.5px solid var(--c-border);
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: var(--c-bg);
  color: var(--c-text);
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.fld-phone .pf-input:focus {
  border-color: var(--c-primary);
  background: var(--c-card);
  box-shadow: 0 0 0 4px rgba(27,79,216,0.12);
}
.fld-phone .pf-input::placeholder { color: var(--c-text-muted); font-weight: 500; }

/* Big chunky primary button */
body.theme-cashV2 .btn-primary,
.btn-chunky {
  display: inline-flex;
  align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 17px 22px;
  background: var(--gd-primary) !important;
  background-size: 180% 180%;
  border: none;
  border-radius: 18px;
  color: #fff !important;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(27,79,216,0.32) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-position 0.4s ease;
}
body.theme-cashV2 .btn-primary:hover,
.btn-chunky:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(27,79,216,0.38) !important;
}
body.theme-cashV2 .btn-primary:active,
.btn-chunky:active { transform: scale(0.98); }
body.theme-cashV2 .btn-primary:disabled,
.btn-chunky:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

/* Outline / register button */
body.theme-cashV2 .btn-register,
.btn-outline-chunky {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 100%;
  padding: 16px 22px;
  background: var(--c-card) !important;
  border: 1.5px solid var(--c-border) !important;
  border-radius: 18px;
  color: var(--c-primary) !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.18s ease;
}
body.theme-cashV2 .btn-register:hover,
.btn-outline-chunky:hover {
  border-color: var(--c-primary) !important;
  background: var(--c-primary-soft) !important;
}

/* Or divider */
.or-divider {
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  font-weight: 600;
  margin: 16px 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

/* Provider / dev OTP box */
body.theme-cashV2 .provider-badge,
body.theme-cashV2 .provider-info {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  margin: 0 0 16px;
}
body.theme-cashV2 .dev-box {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 1px solid #F59E0B;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 6px 0 16px;
  text-align: center;
}
body.theme-cashV2 .dev-box .dev-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #92400E;
  letter-spacing: 1px;
  text-transform: uppercase;
}
body.theme-cashV2 .dev-box .dev-code {
  font-family: 'Space Grotesk', 'Space Mono', monospace;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 10px;
  color: #B45309;
  margin: 4px 0 2px;
}
body.theme-cashV2 .dev-box small { font-size: 0.7rem; color: #92400E; font-weight: 600; }

/* Error / Success / Warn alerts */
body.theme-cashV2 .error-msg,
body.theme-cashV2 .alert-app.danger {
  background: var(--c-danger-soft);
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  font-weight: 600;
}
body.theme-cashV2 .resent-note,
body.theme-cashV2 .alert-app.success {
  background: var(--c-success-soft);
  border: 1px solid #BBF7D0;
  color: #065F46;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  font-weight: 600;
}
body.theme-cashV2 .alert-app.warn {
  background: var(--c-warn-soft);
  border: 1px solid #FDE68A;
  color: #92400E;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 0.82rem;
}

/* Footer logos & terms */
.terms {
  text-align: center;
  font-size: 0.74rem;
  color: var(--c-text-muted);
  margin: 14px 0 10px;
  line-height: 1.6;
}
.terms a { color: var(--c-primary); font-weight: 600; text-decoration: none; }

.footer-logos {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 0 4px;
  font-size: 0.7rem;
  color: var(--c-text-muted);
  font-weight: 600;
}
.footer-logos img { height: 28px; opacity: 0.85; }

.login-contact-info {
  text-align: center;
  font-size: 0.72rem;
  color: var(--c-text-muted);
  margin-top: 6px;
}
.login-contact-info a { color: var(--c-primary); font-weight: 600; text-decoration: none; }

/* Theme switcher pill */
.theme-switcher-row {
  position: absolute;
  top: 16px; right: 16px;
  display: flex; gap: 6px;
  z-index: 10;
}
.theme-switcher-row a {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.2s;
}
.theme-switcher-row a:hover { background: rgba(255,255,255,0.28); }
.theme-switcher-row a.active {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
}

/* OTP boxes — modern */
body.theme-cashV2 .otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 22px 0 16px;
}
body.theme-cashV2 .otp-box {
  width: clamp(42px, 14vw, 54px);
  height: clamp(54px, 17vw, 64px);
  border: 1.5px solid var(--c-border);
  border-radius: 16px;
  background: var(--c-bg);
  font-family: 'Space Grotesk', 'Space Mono', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  color: var(--c-text);
  outline: none;
  transition: border-color 0.16s, background 0.16s, transform 0.16s, box-shadow 0.16s;
  caret-color: transparent;
}
body.theme-cashV2 .otp-box:focus {
  border-color: var(--c-primary);
  background: var(--c-card);
  box-shadow: 0 0 0 4px rgba(27,79,216,0.16);
  transform: translateY(-2px);
}
body.theme-cashV2 .otp-box.filled {
  border-color: var(--c-primary);
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
}
@keyframes shake { 0%,100% { transform: translateX(0);} 25% { transform: translateX(-5px);} 75% { transform: translateX(5px);} }
body.theme-cashV2 .otp-box.shake { animation: shake 0.4s ease; }

body.theme-cashV2 .otp-icon {
  width: 76px; height: 76px;
  background: var(--gd-primary);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 18px;
  color: #fff;
  box-shadow: var(--sh-glow);
}
body.theme-cashV2 .hp-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-text);
  margin: 4px 0 16px;
  letter-spacing: 0.4px;
}
body.theme-cashV2 .resend-wrap {
  text-align: center;
  font-size: 0.84rem;
  color: var(--c-text-soft);
  margin-top: 18px;
}
body.theme-cashV2 .countdown { color: var(--c-primary); font-weight: 800; }
body.theme-cashV2 .btn-resend {
  background: none;
  border: none;
  color: var(--c-primary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: none;
  padding: 0;
  text-decoration: underline;
}
body.theme-cashV2 .btn-resend.show { display: inline; }

/* Register: progress segments */
.prog-wrap {
  display: flex; gap: 6px;
  padding: 6px 24px 0;
}
.prog-seg {
  flex: 1; height: 4px;
  border-radius: 4px;
  background: var(--c-border);
}
.prog-seg.active {
  background: var(--gd-primary);
  box-shadow: 0 0 12px rgba(27,79,216,0.3);
}

.benefit-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-border-soft);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
}
.benefit-item .ico {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 6px;
  color: var(--c-text);
}
.step-sub {
  font-size: 0.88rem;
  color: var(--c-text-soft);
  margin: 0 0 18px;
}
.login-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--c-text-soft);
  margin-top: 16px;
}
.login-link a { color: var(--c-primary); font-weight: 700; text-decoration: none; }

/* ============================================================
   APPLY LOAN — Step Indicator (premium)
============================================================ */
.kyc-step-indicator {
  display: flex;
  align-items: center;
  padding: 18px 16px 8px;
  position: relative;
}
.kyc-step-dot {
  width: 32px; height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 800;
  background: var(--c-border);
  color: var(--c-text-muted);
  border: 2px solid var(--c-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
}
.kyc-step-dot.done {
  background: var(--c-success);
  color: #fff;
}
.kyc-step-dot.active {
  background: var(--gd-primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(27,79,216,0.18), 0 6px 16px rgba(27,79,216,0.3);
  transform: scale(1.08);
}
.kyc-step-line {
  flex: 1;
  height: 3px;
  background: var(--c-border);
  border-radius: 2px;
  transition: background 0.4s ease;
  margin: 0 4px;
  position: relative;
  overflow: hidden;
}
.kyc-step-line.done {
  background: var(--c-success);
}
.kyc-step-line.done::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.4s ease-in-out;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
.kyc-step-labels {
  display: flex;
  padding: 0 6px 14px;
  gap: 4px;
}
.kyc-step-label {
  flex: 1;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--c-text-muted);
  line-height: 1.3;
  transition: color 0.25s;
}
.kyc-step-label.active {
  color: var(--c-primary);
  font-weight: 800;
}
.kyc-step-label.done { color: var(--c-success); }

/* Apply loan tier badge */
.tier-badge-card {
  margin: 12px 16px 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--gd-primary);
  color: #fff;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--sh-glow);
  position: relative;
  overflow: hidden;
}
.tier-badge-card::before {
  content: '';
  position: absolute;
  inset: -50px -50px auto auto;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 60%);
}
.tier-badge-card > * { position: relative; z-index: 1; }
.tier-badge-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.tier-badge-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}
.tier-badge-sub {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.88);
  margin-top: 2px;
}

/* ---------- Form Fields ---------- */
body.theme-cashV2 .form-grp { margin-bottom: 14px; }
body.theme-cashV2 .form-grp label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text-soft);
  margin-bottom: 6px;
  display: block;
}
body.theme-cashV2 .form-grp input,
body.theme-cashV2 .form-grp select,
body.theme-cashV2 .form-grp textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--c-bg);
  color: var(--c-text);
  outline: none;
  transition: all 0.18s ease;
}
body.theme-cashV2 .form-grp input:focus,
body.theme-cashV2 .form-grp select:focus,
body.theme-cashV2 .form-grp textarea:focus {
  border-color: var(--c-primary);
  background: var(--c-card);
  box-shadow: 0 0 0 4px rgba(27,79,216,0.12);
}

/* ---------- Chip select (gender) ---------- */
body.theme-cashV2 .chip-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
body.theme-cashV2 .chip-input { display: none; }
body.theme-cashV2 .chip-label {
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-border);
  background: var(--c-bg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}
body.theme-cashV2 .chip-input:checked + .chip-label {
  border-color: var(--c-primary);
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  box-shadow: 0 4px 14px rgba(27,79,216,0.18);
}

/* Step nav buttons */
.step-nav {
  display: flex;
  gap: 10px;
  padding: 16px 16px 6px;
  margin-bottom: 8px;
}
.btn-prev {
  flex: 1;
  padding: 14px;
  background: var(--c-card);
  border: 1.5px solid var(--c-border);
  border-radius: 16px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-prev:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-soft); }
.btn-next {
  flex: 2;
  padding: 14px;
  background: var(--gd-primary);
  border: none;
  border-radius: 16px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(27,79,216,0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-next:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(27,79,216,0.34); }
.btn-next:active { transform: scale(0.98); }

/* Camera placeholder — premium look */
.cam-placeholder-v2 {
  border: 2px dashed var(--c-border);
  border-radius: 18px;
  background: var(--c-bg);
  overflow: hidden;
  transition: border-color 0.2s ease;
  position: relative;
}
.cam-placeholder-v2:hover { border-color: var(--c-primary); }
.cam-placeholder-v2.has-photo {
  border-style: solid;
  border-color: var(--c-success);
  background: #F0FDF4;
}

.cam-ph-frame {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 180px;
}
.cam-ph-frame::before,
.cam-ph-frame::after {
  content: '';
  position: absolute;
  width: 36px; height: 36px;
  border: 2.5px solid rgba(6, 182, 212, 0.7);
  border-radius: 8px;
}
.cam-ph-frame::before {
  top: 14px; left: 14px;
  border-right: none; border-bottom: none;
  border-top-left-radius: 12px;
}
.cam-ph-frame::after {
  bottom: 14px; right: 14px;
  border-left: none; border-top: none;
  border-bottom-right-radius: 12px;
}
.cam-ph-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cam-ph-corners::before,
.cam-ph-corners::after {
  content: '';
  position: absolute;
  width: 36px; height: 36px;
  border: 2.5px solid rgba(6, 182, 212, 0.7);
}
.cam-ph-corners::before {
  top: 14px; right: 14px;
  border-left: none; border-bottom: none;
  border-top-right-radius: 12px;
}
.cam-ph-corners::after {
  bottom: 14px; left: 14px;
  border-right: none; border-top: none;
  border-bottom-left-radius: 12px;
}

.cam-ph-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 24px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.cam-ph-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 32px;
  border: 1px dashed rgba(6, 182, 212, 0.4);
  animation: rotate 8s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.cam-ph-icon-wrap svg {
  width: 38px; height: 38px;
  color: #06B6D4;
  stroke-width: 1.8;
  z-index: 2;
}

.cam-ph-bottom {
  padding: 16px 18px;
  background: var(--c-card);
  border-top: 1px solid var(--c-border-soft);
}
.cam-ph-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-text);
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
  text-align: center;
}
.cam-ph-hint {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  text-align: center;
  margin-bottom: 12px;
}
.cam-ph-btn {
  width: 100%;
  padding: 14px;
  background: var(--gd-primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(27,79,216,0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cam-ph-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(27,79,216,0.34);
}
.cam-ph-btn:active { transform: scale(0.97); }

/* Doc preview */
body.theme-cashV2 .doc-preview-card {
  border: 2px solid #BBF7D0;
  border-radius: 18px;
  background: #F0FDF4;
  overflow: hidden;
}
body.theme-cashV2 .doc-preview-card img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
body.theme-cashV2 .doc-preview-info {
  padding: 12px 16px;
  background: var(--c-card);
  border-top: 1px solid #BBF7D0;
  display: flex; align-items: center; justify-content: space-between;
}
body.theme-cashV2 .doc-preview-ok {
  color: var(--c-success);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}
body.theme-cashV2 .doc-retake-btn {
  padding: 8px 16px;
  background: var(--c-card);
  border: 1.5px solid var(--c-primary);
  border-radius: var(--r-pill);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
}
body.theme-cashV2 .doc-retake-btn:hover { background: var(--c-primary); color: #fff; }

/* Loan preview card (gradient) */
body.theme-cashV2 .loan-preview {
  background: var(--gd-hero);
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  margin-bottom: 18px;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-glow);
}
body.theme-cashV2 .loan-preview::before {
  content: '';
  position: absolute;
  inset: -60px -60px auto auto;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.45) 0%, transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}
body.theme-cashV2 .loan-preview > * { position: relative; z-index: 1; }
body.theme-cashV2 .lp-label {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
body.theme-cashV2 .lp-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  margin: 4px 0 14px;
  letter-spacing: -0.6px;
}
body.theme-cashV2 .lp-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
body.theme-cashV2 .lp-item {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px;
  backdrop-filter: blur(8px);
}
body.theme-cashV2 .lp-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Tagihan preview (rincian biaya) */
body.theme-cashV2 .tagihan-preview {
  background: var(--gd-dark);
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: var(--sh-md);
}
body.theme-cashV2 .tp-row {
  display: flex; justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
body.theme-cashV2 .tp-row.total {
  color: #FBBF24;
  font-size: 0.95rem;
  font-weight: 800;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: none;
  padding: 10px 0 4px;
  margin-top: 6px;
}

/* Slider */
body.theme-cashV2 input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(to right, var(--c-primary) 0%, var(--c-primary) 50%, var(--c-border) 50%, var(--c-border) 100%);
  outline: none;
  cursor: pointer;
}
body.theme-cashV2 input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-card);
  border: 4px solid var(--c-primary);
  box-shadow: 0 4px 12px rgba(27,79,216,0.4);
  cursor: pointer;
}
body.theme-cashV2 input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-card);
  border: 4px solid var(--c-primary);
  box-shadow: 0 4px 12px rgba(27,79,216,0.4);
  cursor: pointer;
}

/* Durasi day buttons */
.dur-day-btn {
  text-align: center;
  padding: 14px 8px;
  border: 1.5px solid var(--c-border);
  border-radius: 16px;
  cursor: pointer;
  background: var(--c-bg);
  transition: all 0.18s ease;
}
.dur-day-btn.active {
  border-color: var(--c-primary);
  background: var(--c-primary-soft);
  box-shadow: 0 4px 14px rgba(27,79,216,0.18);
}

/* Vip lock */
body.theme-cashV2 .vip-lock {
  background: var(--c-bg);
  border: 2px dashed var(--c-border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}
body.theme-cashV2 .vip-lock .vl-ico { font-size: 1.8rem; margin-bottom: 6px; opacity: 0.6; }

/* Kontak card (apply step 3) */
body.theme-cashV2 .kontak-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border-soft);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
}
body.theme-cashV2 .kontak-no {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
}
body.theme-cashV2 .kontak-no::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* form row helper */
body.theme-cashV2 .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Step panel transitions */
body.theme-cashV2 .step-panel { display: none; padding: 16px; }
body.theme-cashV2 .step-panel.active {
  display: block;
  animation: stepFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes stepFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fade-up util used everywhere */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Apply animation cascade to common content */
body.theme-cashV2 .app-content > .hero-card,
body.theme-cashV2 .app-content > .menu-grid,
body.theme-cashV2 .app-content > .sec-header,
body.theme-cashV2 .app-content > .list-card,
body.theme-cashV2 .app-content > .reviews-section,
body.theme-cashV2 .app-content > div {
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
body.theme-cashV2 .app-content > *:nth-child(1) { animation-delay: 0.05s; }
body.theme-cashV2 .app-content > *:nth-child(2) { animation-delay: 0.10s; }
body.theme-cashV2 .app-content > *:nth-child(3) { animation-delay: 0.15s; }
body.theme-cashV2 .app-content > *:nth-child(4) { animation-delay: 0.20s; }
body.theme-cashV2 .app-content > *:nth-child(5) { animation-delay: 0.25s; }

/* ============================================================
   NOTIFICATION DROPDOWN polish
============================================================ */
body.theme-cashV2 #notifDropdown {
  border-radius: 18px !important;
  box-shadow: var(--sh-lg) !important;
  border: 1px solid var(--c-border-soft) !important;
  margin-top: 6px;
}
body.theme-cashV2 .notif-item {
  border-bottom: 1px solid var(--c-border-soft) !important;
}

/* ============================================================
   Helper classes
============================================================ */
.fade-up { animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.text-grad-primary {
  background: var(--gd-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Spinner */
.cashv2-loader {
  width: 22px; height: 22px;
  border: 3px solid var(--c-primary-soft);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.theme-cashV2 *, body.theme-cashV2 *::before, body.theme-cashV2 *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ╔════════════════════════════════════════════════════════════╗
   ║  DEFENSIVE PATCH v2 — Force layout against legacy style.css  ║
   ║  Loaded LAST. !important hanya pada critical layout rules.  ║
   ╚════════════════════════════════════════════════════════════╝ */

/* ── 1. AUTH PAGES — Force mobile-card layout di desktop ── */
body.theme-cashV2.auth-page {
  background: linear-gradient(180deg, #0E2A8C 0%, #0E2A8C 280px, #F4F7FE 280px, #F4F7FE 100%) !important;
  min-height: 100vh !important;
}
@media (min-width: 481px) {
  body.theme-cashV2.auth-page {
    background: #0E2A8C !important;
    padding: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }
}

body.theme-cashV2 .auth-shell {
  max-width: 480px !important;
  width: 100% !important;
  margin: 0 auto !important;
  background: var(--c-bg) !important;
  position: relative !important;
  display: block !important;
  min-height: 100vh !important;
  overflow: hidden !important;
}
@media (min-width: 481px) {
  body.theme-cashV2 .auth-shell {
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.25) !important;
    margin: 24px auto !important;
    border-radius: 28px !important;
    min-height: auto !important;
    max-width: 460px !important;
  }
}

body.theme-cashV2 .auth-hero {
  background: linear-gradient(160deg, #0E2A8C 0%, #1B4FD8 45%, #3B82F6 100%) !important;
  color: #fff !important;
  padding: 36px 24px 80px !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
@media (min-width: 481px) {
  body.theme-cashV2 .auth-shell .auth-hero { border-radius: 28px 28px 0 0 !important; }
}

/* Force WHITE on every descendant inside hero (kill cascade dari style.css) */
body.theme-cashV2 .auth-hero,
body.theme-cashV2 .auth-hero h1,
body.theme-cashV2 .auth-hero h2,
body.theme-cashV2 .auth-hero h3,
body.theme-cashV2 .auth-hero p,
body.theme-cashV2 .auth-hero span,
body.theme-cashV2 .auth-hero a,
body.theme-cashV2 .auth-hero div { color: #fff !important; }

body.theme-cashV2 .auth-hero .auth-headline {
  color: #fff !important;
  font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.6px !important;
  margin: 0 0 8px !important;
}
body.theme-cashV2 .auth-hero .auth-headline span {
  color: #06B6D4 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}
body.theme-cashV2 .auth-hero .auth-sub { color: rgba(255, 255, 255, 0.85) !important; font-size: 0.92rem !important; }
body.theme-cashV2 .auth-hero .auth-brand { display: flex !important; align-items: center !important; gap: 12px !important; margin-bottom: 24px !important; }
body.theme-cashV2 .auth-hero .auth-brand-ico {
  width: 46px !important; height: 46px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 14px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 1.3rem !important;
  backdrop-filter: blur(8px);
}
body.theme-cashV2 .auth-hero .auth-brand-text { color: #fff !important; font-size: 1.15rem !important; font-weight: 800 !important; letter-spacing: -0.4px !important; }

/* Form card pulled UP over hero */
body.theme-cashV2 .auth-form-card {
  background: #FFFFFF !important;
  margin: -56px 16px 0 !important;
  padding: 28px 22px 26px !important;
  border-radius: 28px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10) !important;
  border: 1px solid rgba(241, 245, 249, 0.8) !important;
  position: relative !important;
  z-index: 5 !important;
  color: var(--c-text, #0F172A) !important;
}
body.theme-cashV2 .auth-form-card h2 { color: var(--c-text, #0F172A) !important; font-family: 'Space Grotesk', sans-serif !important; font-size: 1.2rem !important; font-weight: 800 !important; margin: 0 0 6px !important; }
body.theme-cashV2 .auth-form-card .sub { color: var(--c-text-soft, #475569) !important; font-size: 0.85rem !important; margin: 0 0 18px !important; }

/* Phone input — force visual */
body.theme-cashV2 .fld-phone { position: relative !important; margin-bottom: 14px !important; }
body.theme-cashV2 .fld-phone .pf-prefix {
  position: absolute !important;
  top: 50% !important; left: 16px !important;
  transform: translateY(-50%) !important;
  display: flex !important; align-items: center !important; gap: 6px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: #0F172A !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
body.theme-cashV2 .fld-phone .pf-prefix .flag { font-size: 1.2rem !important; }
body.theme-cashV2 .fld-phone .pf-prefix .sep { width: 1px !important; height: 22px !important; background: #E2E8F0 !important; margin: 0 4px !important; display: inline-block !important; }
body.theme-cashV2 .fld-phone .pf-input {
  width: 100% !important;
  padding: 18px 16px 18px 100px !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  background: #F4F7FE !important;
  color: #0F172A !important;
}
body.theme-cashV2 .fld-phone .pf-input:focus {
  border-color: #1B4FD8 !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(27, 79, 216, 0.12) !important;
  outline: none !important;
}

/* OR divider */
body.theme-cashV2 .or-divider {
  display: flex !important; align-items: center !important; gap: 12px !important;
  text-align: center !important;
  margin: 16px 0 12px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #94A3B8 !important;
}
body.theme-cashV2 .or-divider::before,
body.theme-cashV2 .or-divider::after {
  content: '' !important;
  flex: 1 !important;
  height: 1px !important;
  background: #E2E8F0 !important;
}

/* Big chunky button — force */
body.theme-cashV2 .btn-primary,
body.theme-cashV2 .btn-chunky {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 17px 22px !important;
  background: linear-gradient(135deg, #1B4FD8 0%, #3B82F6 60%, #06B6D4 130%) !important;
  border: none !important;
  border-radius: 18px !important;
  color: #FFFFFF !important;
  font-family: 'DM Sans', 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  cursor: pointer !important;
  box-shadow: 0 12px 28px rgba(27, 79, 216, 0.32) !important;
  text-decoration: none !important;
}
body.theme-cashV2 .btn-primary:hover,
body.theme-cashV2 .btn-chunky:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 16px 32px rgba(27, 79, 216, 0.38) !important;
  color: #fff !important;
}
body.theme-cashV2 .btn-primary:active,
body.theme-cashV2 .btn-chunky:active { transform: scale(0.98) !important; }
body.theme-cashV2 .btn-primary:disabled,
body.theme-cashV2 .btn-chunky:disabled { opacity: 0.55 !important; cursor: not-allowed !important; box-shadow: none !important; transform: none !important; }

body.theme-cashV2 .btn-register,
body.theme-cashV2 .btn-outline-chunky {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 16px 22px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 18px !important;
  color: #1B4FD8 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
}
body.theme-cashV2 .btn-register:hover,
body.theme-cashV2 .btn-outline-chunky:hover {
  border-color: #1B4FD8 !important;
  background: #EEF3FF !important;
}

/* Theme switcher pill (tetap visible di hero) */
body.theme-cashV2 .theme-switcher-row {
  position: absolute !important;
  top: 16px !important; right: 16px !important;
  display: flex !important; gap: 6px !important;
  z-index: 10 !important;
}
body.theme-cashV2 .theme-switcher-row a {
  padding: 6px 11px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  color: #fff !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  backdrop-filter: blur(6px) !important;
}
body.theme-cashV2 .theme-switcher-row a.active { background: #fff !important; color: #1B4FD8 !important; }

/* ── 2. USER DASHBOARD — Force layout ── */

/* Greeting block (top bar) — force flex */
body.theme-cashV2 .tbar-greet {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-direction: row !important;
}
body.theme-cashV2 .tbar-greet .tbar-avatar {
  width: 44px !important; height: 44px !important; min-width: 44px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #1B4FD8, #06B6D4) !important;
  color: #fff !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  flex-shrink: 0 !important;
}
body.theme-cashV2 .tbar-greet .tbar-text { line-height: 1.2 !important; }
body.theme-cashV2 .tbar-greet .tbar-hi {
  font-size: 0.74rem !important;
  color: #94A3B8 !important;
  font-weight: 500 !important;
  margin-bottom: 2px !important;
}
body.theme-cashV2 .tbar-greet .tbar-name {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  letter-spacing: -0.2px !important;
  max-width: 180px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Top bar override (force transparent + sticky) */
body.theme-cashV2 .top-bar {
  background: rgba(244, 247, 254, 0.85) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4) !important;
}
body.theme-cashV2 .top-bar h2 { color: #0F172A !important; }

/* Notification button modern */
body.theme-cashV2 .notif-btn {
  width: 44px !important; height: 44px !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid rgba(226, 232, 240, 0.6) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* App wrap (mobile column) */
body.theme-cashV2 .app-wrap {
  max-width: 480px !important;
  width: 100% !important;
  margin: 0 auto !important;
  background: #F4F7FE !important;
  min-height: 100vh !important;
  position: relative !important;
  padding-bottom: 110px !important;
}
@media (min-width: 481px) {
  body.theme-cashV2 .app-wrap { box-shadow: 0 0 60px rgba(15, 23, 42, 0.12) !important; }
  body.theme-cashV2.admin-mode { background: #F4F7FE !important; }
  body:not(.admin-mode).theme-cashV2 { background: #0E2A8C !important; min-height: 100vh; }
}

/* Hero card — force WHITE on all descendants */
body.theme-cashV2 .hero-card {
  background: linear-gradient(160deg, #0E2A8C 0%, #1B4FD8 45%, #3B82F6 100%) !important;
  margin: 14px 16px 22px !important;
  border-radius: 28px !important;
  padding: 24px 22px 22px !important;
  color: #fff !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 12px 36px rgba(27, 79, 216, 0.28) !important;
}
body.theme-cashV2 .hero-card,
body.theme-cashV2 .hero-card h1,
body.theme-cashV2 .hero-card h2,
body.theme-cashV2 .hero-card h3,
body.theme-cashV2 .hero-card p,
body.theme-cashV2 .hero-card span,
body.theme-cashV2 .hero-card div,
body.theme-cashV2 .hero-card a { color: #fff !important; }

body.theme-cashV2 .hero-card .hero-balance-lbl {
  font-size: 0.7rem !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.78) !important;
  margin-bottom: 6px !important;
  font-weight: 600 !important;
}
body.theme-cashV2 .hero-card .hero-balance {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  letter-spacing: -1.2px !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  color: #fff !important;
}
body.theme-cashV2 .hero-card .hero-balance .amt { color: #FFFFFF !important; }

body.theme-cashV2 .hero-card .dash-tier-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 11px !important;
  border-radius: 9999px !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
  color: #fff !important;
}
body.theme-cashV2 .hero-card .dash-tier-pill.tier-1 { background: rgba(255, 255, 255, 0.18) !important; border: 1px solid rgba(255, 255, 255, 0.32) !important; }
body.theme-cashV2 .hero-card .dash-tier-pill.tier-2 { background: linear-gradient(135deg, rgba(96,165,250,0.45), rgba(59,130,246,0.45)) !important; border: 1px solid rgba(147,197,253,0.5) !important; }
body.theme-cashV2 .hero-card .dash-tier-pill.tier-3 { background: linear-gradient(135deg, rgba(251,191,36,0.45), rgba(245,158,11,0.45)) !important; border: 1px solid rgba(252,211,77,0.6) !important; color: #FEF3C7 !important; }

/* Stat tiles inside hero */
body.theme-cashV2 .hero-card .dash-stat-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-top: 16px !important;
}
body.theme-cashV2 .hero-card .dash-stat-mini {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  text-align: center !important;
  backdrop-filter: blur(8px) !important;
}
body.theme-cashV2 .hero-card .dash-stat-mini .ds-lbl { font-size: 0.66rem !important; color: rgba(255, 255, 255, 0.78) !important; font-weight: 600 !important; margin-bottom: 4px !important; }
body.theme-cashV2 .hero-card .dash-stat-mini .ds-val { font-family: 'Space Grotesk', sans-serif !important; font-size: 0.85rem !important; font-weight: 800 !important; color: #fff !important; }
body.theme-cashV2 .hero-card .dash-stat-mini .ds-val.warn { color: #FBBF24 !important; }
body.theme-cashV2 .hero-card .dash-stat-mini .ds-val.cyan { color: #67E8F9 !important; }
body.theme-cashV2 .hero-card .dash-stat-mini .ds-val.danger { color: #FCA5A5 !important; }
body.theme-cashV2 .hero-card .dash-stat-mini .ds-val.success { color: #6EE7B7 !important; }

/* Quick action buttons inside hero */
body.theme-cashV2 .hero-card .quick-actions { display: flex !important; gap: 10px !important; margin-top: 22px !important; }
body.theme-cashV2 .hero-card .qa-btn {
  flex: 1 !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 16px !important;
  padding: 14px 10px !important;
  text-align: center !important;
  text-decoration: none !important;
  color: #fff !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  backdrop-filter: blur(8px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
}
body.theme-cashV2 .hero-card .btn-gradient-orange {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%) !important;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.35) !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: 16px 24px !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px !important;
}

/* ── 3. MENU GRID — force 4-column grid ── */
body.theme-cashV2 .menu-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  padding: 8px 16px 22px !important;
  margin: 0 !important;
}
body.theme-cashV2 .menu-grid .menu-grid-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 16px 8px 12px !important;
  text-decoration: none !important;
  color: #0F172A !important;
  border: 1px solid rgba(241, 245, 249, 0.8) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
body.theme-cashV2 .menu-grid .menu-grid-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}
body.theme-cashV2 .menu-grid .menu-grid-item .mg-ico {
  width: 44px !important; height: 44px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
body.theme-cashV2 .menu-grid .menu-grid-item .mg-ico.mg-blue   { background: #EEF3FF !important; color: #1B4FD8 !important; }
body.theme-cashV2 .menu-grid .menu-grid-item .mg-ico.mg-cyan   { background: #CFFAFE !important; color: #0891B2 !important; }
body.theme-cashV2 .menu-grid .menu-grid-item .mg-ico.mg-purple { background: #EDE9FE !important; color: #8B5CF6 !important; }
body.theme-cashV2 .menu-grid .menu-grid-item .mg-ico.mg-warn   { background: #FEF3C7 !important; color: #F59E0B !important; }
body.theme-cashV2 .menu-grid .menu-grid-item .mg-label {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  line-height: 1.2 !important;
  color: #0F172A !important;
}

/* ── 4. BOTTOM NAV — Floating glass ── */
body.theme-cashV2 .bottom-nav {
  position: fixed !important;
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 24px) !important;
  max-width: 460px !important;
  display: flex !important;
  justify-content: space-around !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(226, 232, 240, 0.6) !important;
  border-radius: 22px !important;
  padding: 8px 6px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
  z-index: 200 !important;
}
body.theme-cashV2 .bottom-nav .nav-item {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 6px 2px !important;
  text-decoration: none !important;
  color: #94A3B8 !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  border-radius: 14px !important;
}
body.theme-cashV2 .bottom-nav .nav-item.active { color: #1B4FD8 !important; }
body.theme-cashV2 .bottom-nav .nav-item.active .nav-ico-wrap { background: #EEF3FF !important; border-radius: 12px !important; padding: 5px 14px !important; }
body.theme-cashV2 .bottom-nav .nav-item .nav-ico { font-size: 1.3rem !important; line-height: 1 !important; }

/* ── 5. ADMIN DASHBOARD — modern polish ── */
body.theme-cashV2.admin-mode .admin-content { background: #F4F7FE !important; min-height: calc(100vh - 60px) !important; }

body.theme-cashV2.admin-mode .dash-welcome {
  background: linear-gradient(135deg, #0E2A8C 0%, #1B4FD8 55%, #3B82F6 100%) !important;
  border-radius: 24px !important;
  padding: 28px 32px !important;
  color: #fff !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0 16px 40px rgba(27, 79, 216, 0.20) !important;
}
body.theme-cashV2.admin-mode .dash-welcome::before {
  content: '' !important;
  position: absolute !important;
  inset: -100px -100px auto auto !important;
  width: 280px !important; height: 280px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(6,182,212,0.45) 0%, transparent 60%) !important;
  filter: blur(8px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
body.theme-cashV2.admin-mode .dash-welcome::after {
  content: '' !important;
  position: absolute !important;
  inset: auto auto -90px -60px !important;
  width: 220px !important; height: 220px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(139,92,246,0.4) 0%, transparent 60%) !important;
  filter: blur(10px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
body.theme-cashV2.admin-mode .dash-welcome > * { position: relative; z-index: 1; }
body.theme-cashV2.admin-mode .dash-welcome .dw-left h1 { font-family: 'Space Grotesk', sans-serif !important; font-size: 1.55rem !important; font-weight: 800 !important; color: #fff !important; margin: 0 0 6px !important; letter-spacing: -0.4px !important; }
body.theme-cashV2.admin-mode .dash-welcome .dw-left p { font-size: 0.9rem !important; color: rgba(255, 255, 255, 0.85) !important; margin: 0 !important; }
body.theme-cashV2.admin-mode .dash-welcome .dw-date { font-size: 0.78rem !important; color: rgba(255, 255, 255, 0.65) !important; margin-top: 10px !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; }
body.theme-cashV2.admin-mode .dash-welcome .dw-btn {
  padding: 12px 22px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  backdrop-filter: blur(8px) !important;
}
body.theme-cashV2.admin-mode .dash-welcome .dw-btn:hover { background: rgba(255, 255, 255, 0.28) !important; color: #fff !important; }

/* Admin stats cards — glassy modern */
body.theme-cashV2.admin-mode .dash-stats { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; margin-bottom: 24px !important; }
body.theme-cashV2.admin-mode .ds-card {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 22px !important;
  border: 1px solid rgba(241, 245, 249, 0.8) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  border-left: 4px solid transparent !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
body.theme-cashV2.admin-mode .ds-card:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important; }
body.theme-cashV2.admin-mode .ds-card.blue   { border-left-color: #1B4FD8 !important; }
body.theme-cashV2.admin-mode .ds-card.teal   { border-left-color: #06B6D4 !important; }
body.theme-cashV2.admin-mode .ds-card.warn   { border-left-color: #F59E0B !important; }
body.theme-cashV2.admin-mode .ds-card.danger { border-left-color: #EF4444 !important; }
body.theme-cashV2.admin-mode .ds-label { font-size: 0.72rem !important; font-weight: 700 !important; color: #64748B !important; text-transform: uppercase !important; letter-spacing: 0.6px !important; margin-bottom: 10px !important; display: flex !important; align-items: center !important; gap: 8px !important; }
body.theme-cashV2.admin-mode .ds-val { font-family: 'Space Grotesk', sans-serif !important; font-size: 2.1rem !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: -1px !important; }
body.theme-cashV2.admin-mode .ds-card.blue .ds-val   { color: #1B4FD8 !important; }
body.theme-cashV2.admin-mode .ds-card.teal .ds-val   { color: #06B6D4 !important; }
body.theme-cashV2.admin-mode .ds-card.warn .ds-val   { color: #F59E0B !important; }
body.theme-cashV2.admin-mode .ds-card.danger .ds-val { color: #EF4444 !important; }
body.theme-cashV2.admin-mode .ds-sub { font-size: 0.74rem !important; color: #94A3B8 !important; margin-top: 6px !important; }

/* Admin quick action cards */
body.theme-cashV2.admin-mode .dash-quick { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; margin-bottom: 24px !important; }
body.theme-cashV2.admin-mode .dq-card {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 22px 18px !important;
  border: 1px solid rgba(241, 245, 249, 0.8) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
body.theme-cashV2.admin-mode .dq-card:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important; }
body.theme-cashV2.admin-mode .dq-ico {
  width: 48px !important; height: 48px !important;
  border-radius: 14px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 1.35rem !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}
body.theme-cashV2.admin-mode .dq-label { font-family: 'Space Grotesk', sans-serif !important; font-size: 0.95rem !important; font-weight: 800 !important; color: #0F172A !important; letter-spacing: -0.2px !important; }
body.theme-cashV2.admin-mode .dq-count { font-size: 0.78rem !important; font-weight: 700 !important; }

body.theme-cashV2.admin-mode .chart-wrap {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 22px !important;
  border: 1px solid rgba(241, 245, 249, 0.8) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}
body.theme-cashV2.admin-mode .chart-wrap h3 { font-family: 'Space Grotesk', sans-serif !important; font-size: 1rem !important; font-weight: 800 !important; margin: 0 0 16px !important; color: #0F172A !important; letter-spacing: -0.2px !important; }

body.theme-cashV2.admin-mode .today-wrap {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  border: 1px solid rgba(241, 245, 249, 0.8) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden !important;
}
body.theme-cashV2.admin-mode .tw-hdr { padding: 18px 22px !important; border-bottom: 1px solid #F1F5F9 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; }
body.theme-cashV2.admin-mode .tw-hdr h3 { font-family: 'Space Grotesk', sans-serif !important; font-size: 0.98rem !important; font-weight: 800 !important; color: #0F172A !important; margin: 0 !important; display: inline-flex !important; align-items: center !important; gap: 8px !important; }
body.theme-cashV2.admin-mode .tw-hdr a { font-size: 0.8rem !important; color: #1B4FD8 !important; font-weight: 700 !important; text-decoration: none !important; }
body.theme-cashV2.admin-mode .badge-today {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  background: linear-gradient(135deg, #1B4FD8, #3B82F6) !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  padding: 2px 10px !important;
  min-width: 26px !important;
  margin-left: 4px !important;
}
body.theme-cashV2.admin-mode .today-table { width: 100% !important; border-collapse: collapse !important; font-size: 0.83rem !important; }
body.theme-cashV2.admin-mode .today-table thead th { background: #F8FAFC !important; padding: 12px 14px !important; font-size: 0.7rem !important; font-weight: 700 !important; color: #64748B !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; text-align: left !important; border-bottom: 1px solid #F1F5F9 !important; }
body.theme-cashV2.admin-mode .today-table tbody td { padding: 14px !important; border-bottom: 1px solid #F1F5F9 !important; vertical-align: middle !important; }
body.theme-cashV2.admin-mode .today-table tbody tr:last-child td { border-bottom: none !important; }
body.theme-cashV2.admin-mode .today-table tbody tr:hover { background: #F8FAFC !important; }
body.theme-cashV2.admin-mode .today-avatar {
  width: 36px !important; height: 36px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #1B4FD8, #3B82F6) !important;
  color: #fff !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  flex-shrink: 0 !important;
}
body.theme-cashV2.admin-mode .tier-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 9px !important;
  border-radius: 9999px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
}
body.theme-cashV2.admin-mode .tier-pill.t1 { background: #EEF3FF !important; color: #1B4FD8 !important; }
body.theme-cashV2.admin-mode .tier-pill.t2 { background: linear-gradient(90deg, #3B82F6, #60A5FA) !important; color: #fff !important; }
body.theme-cashV2.admin-mode .tier-pill.t3 { background: linear-gradient(90deg, #1E3A8A, #8B5CF6) !important; color: #fff !important; }

body.theme-cashV2.admin-mode .top-jenis {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 22px !important;
  border: 1px solid rgba(241, 245, 249, 0.8) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}
body.theme-cashV2.admin-mode .top-jenis h3 { font-family: 'Space Grotesk', sans-serif !important; font-size: 0.98rem !important; font-weight: 800 !important; margin: 0 0 16px !important; color: #0F172A !important; }
body.theme-cashV2.admin-mode .tj-item { display: grid !important; grid-template-columns: 100px 1fr 30px !important; align-items: center !important; gap: 10px !important; margin-bottom: 12px !important; }
body.theme-cashV2.admin-mode .tj-label { font-size: 0.78rem !important; font-weight: 600 !important; color: #475569 !important; }
body.theme-cashV2.admin-mode .tj-bar-wrap { background: #F1F5F9 !important; height: 8px !important; border-radius: 6px !important; overflow: hidden !important; }
body.theme-cashV2.admin-mode .tj-bar { height: 100% !important; background: linear-gradient(90deg, #1B4FD8, #06B6D4) !important; border-radius: 6px !important; transition: width 0.6s ease !important; }
body.theme-cashV2.admin-mode .tj-count { font-family: 'Space Grotesk', sans-serif !important; font-size: 0.85rem !important; font-weight: 800 !important; color: #1B4FD8 !important; text-align: right !important; }

/* Admin sidebar branding (force colors) */
body.theme-cashV2.admin-mode .admin-sidebar {
  background: linear-gradient(180deg, #0E2A8C 0%, #1B4FD8 100%) !important;
}
body.theme-cashV2.admin-mode .sb-logo-ico { background: linear-gradient(135deg, #06B6D4, #0EA5E9) !important; }
body.theme-cashV2.admin-mode .snav-item.active { background: rgba(6, 182, 212, 0.18) !important; border-left-color: #06B6D4 !important; }
body.theme-cashV2.admin-mode .admin-topbar { background: #FFFFFF !important; border-bottom: 1px solid rgba(241, 245, 249, 0.8) !important; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important; }

/* Empty state */
body.theme-cashV2.admin-mode .today-empty {
  padding: 48px 20px !important;
  text-align: center !important;
  color: #94A3B8 !important;
  font-size: 0.88rem !important;
}



/* ═══ PATCH v3: Comfort palette — kurangi silau dari pure white ═══ */

/* App-level surfaces — soft cool grey, lebih nyaman di mata */
body.theme-cashV2 .app-wrap,
body.theme-cashV2 .auth-shell { background: #EAEEF5 !important; }
body.theme-cashV2.auth-page { 
  background: linear-gradient(180deg, #0E2A8C 0%, #0E2A8C 280px, #EAEEF5 280px, #EAEEF5 100%) !important; 
}
@media (min-width: 481px) {
  body.theme-cashV2.auth-page { background: #0E2A8C !important; }
}
body.theme-cashV2.admin-mode .admin-content { background: #EAEEF5 !important; }

/* Card surfaces — off-white #F8FAFC, bukan pure white */
body.theme-cashV2 .auth-form-card,
body.theme-cashV2 .menu-grid .menu-grid-item,
body.theme-cashV2 .list-card,
body.theme-cashV2 .review-card,
body.theme-cashV2 .notif-btn,
body.theme-cashV2 .btn-register,
body.theme-cashV2 .btn-outline-chunky,
body.theme-cashV2.admin-mode .ds-card,
body.theme-cashV2.admin-mode .dq-card,
body.theme-cashV2.admin-mode .chart-wrap,
body.theme-cashV2.admin-mode .today-wrap,
body.theme-cashV2.admin-mode .top-jenis,
body.theme-cashV2.admin-mode .admin-topbar { 
  background: #F8FAFC !important; 
  border-color: #E2E8F0 !important;
}

/* Top bars — translucent dengan tone yang sama */
body.theme-cashV2 .top-bar { 
  background: rgba(234,238,245,0.88) !important; 
  border-bottom-color: rgba(213,221,233,0.6) !important; 
}
body.theme-cashV2 .bottom-nav { 
  background: rgba(248,250,252,0.92) !important; 
  border-color: rgba(213,221,233,0.7) !important; 
}

/* Form inputs — soft surface yang berbeda dari card */
body.theme-cashV2 .fld input,
body.theme-cashV2 .fld select,
body.theme-cashV2 .fld textarea,
body.theme-cashV2 .form-input,
body.theme-cashV2 .fld-phone .pf-input,
body.theme-cashV2 .otp-box {
  background: #EFF2F7 !important;
  border-color: #DEE3EB !important;
}
body.theme-cashV2 .fld input:focus,
body.theme-cashV2 .form-input:focus,
body.theme-cashV2 .fld-phone .pf-input:focus,
body.theme-cashV2 .otp-box:focus {
  background: #F8FAFC !important;
  border-color: #1B4FD8 !important;
}
body.theme-cashV2 .otp-box.filled { 
  background: #DDE5F5 !important; 
  border-color: #1B4FD8 !important; 
  color: #0E2A8C !important; 
}

/* Admin table — softer rows */
body.theme-cashV2.admin-mode .today-table thead th { 
  background: #EFF2F7 !important; 
  border-bottom-color: #E2E8F0 !important; 
  color: #475569 !important; 
}
body.theme-cashV2.admin-mode .today-table tbody td { border-bottom-color: #E2E8F0 !important; }
body.theme-cashV2.admin-mode .today-table tbody tr:hover { background: #EFF2F7 !important; }

/* TEXT CONTRAST — naikkan kontras untuk readability */
body.theme-cashV2 .li-sub,
body.theme-cashV2 .ds-sub,
body.theme-cashV2 .login-contact-info,
body.theme-cashV2 .footer-logos,
body.theme-cashV2 .terms,
body.theme-cashV2 .empty-state,
body.theme-cashV2 .empty-state .es-sub,
body.theme-cashV2 .tbar-greet .tbar-hi { 
  color: #64748B !important; 
}
body.theme-cashV2 .li-amount,
body.theme-cashV2 .reviewer-name,
body.theme-cashV2 .sec-header h3,
body.theme-cashV2 .empty-state .es-title { 
  color: #1E293B !important; 
}
body.theme-cashV2 .review-card .review-text { 
  background: #EFF2F7 !important; 
  border-color: #DEE3EB !important; 
  color: #334155 !important; 
}

/* Provider badges — soft tinted */
body.theme-cashV2 .provider-badge,
body.theme-cashV2 .provider-info { 
  background: #E5EDFA !important; 
  border-color: #D2DEF1 !important; 
  color: #1E40AF !important;
}

/* Empty state ico bg softer */
body.theme-cashV2 .empty-state .es-ico { 
  background: #E5EDFA !important; 
  color: #1B4FD8 !important;
}

/* Reviewer avatar */
body.theme-cashV2 .reviewer-avatar { 
  background: #E5EDFA !important; 
  color: #1E40AF !important;
}

/* TEXT-SHADOW di hero text untuk readability di atas gradient */
body.theme-cashV2 .auth-hero .auth-headline,
body.theme-cashV2 .auth-hero .auth-sub,
body.theme-cashV2 .auth-hero .auth-brand-text { 
  text-shadow: 0 1px 4px rgba(0,0,0,0.15); 
}
body.theme-cashV2 .hero-card .hero-balance,
body.theme-cashV2 .hero-card .hero-balance-lbl { 
  text-shadow: 0 2px 6px rgba(0,0,0,0.18); 
}
body.theme-cashV2.admin-mode .dw-left h1 { 
  text-shadow: 0 2px 6px rgba(0,0,0,0.18); 
}

/* Step labels (apply_loan) */
body.theme-cashV2 .step-label { color: #1B4FD8 !important; }
body.theme-cashV2 .step-title { color: #0F172A !important; }

/* Step indicator inactive dot — readable */
body.theme-cashV2 .kyc-step-dot:not(.active):not(.done) {
  background: #DEE3EB !important;
  color: #64748B !important;
}
body.theme-cashV2 .kyc-step-line:not(.done) { background: #DEE3EB !important; }
body.theme-cashV2 .kyc-step-label:not(.active):not(.done) { color: #64748B !important; }

/* "Atau" divider */
body.theme-cashV2 .or-divider { color: #64748B !important; }
body.theme-cashV2 .or-divider::before, 
body.theme-cashV2 .or-divider::after { background: #DEE3EB !important; }

/* Ambient soft shadow refinement (less harsh box-shadow) */
body.theme-cashV2 .menu-grid .menu-grid-item,
body.theme-cashV2 .list-card,
body.theme-cashV2.admin-mode .ds-card,
body.theme-cashV2.admin-mode .dq-card,
body.theme-cashV2.admin-mode .chart-wrap,
body.theme-cashV2.admin-mode .today-wrap,
body.theme-cashV2.admin-mode .top-jenis,
body.theme-cashV2 .auth-form-card { 
  box-shadow: 0 1px 3px rgba(15,23,42,0.04), 0 4px 12px rgba(15,23,42,0.04) !important; 
}

/* OK button outline (Buat akun baru) */
body.theme-cashV2 .btn-register,
body.theme-cashV2 .btn-outline-chunky { color: #1B4FD8 !important; }
body.theme-cashV2 .btn-register:hover,
body.theme-cashV2 .btn-outline-chunky:hover { 
  background: #EAEEF5 !important; 
  border-color: #1B4FD8 !important; 
}

/* dq-icon shadow softening */
body.theme-cashV2.admin-mode .dq-ico { 
  box-shadow: 0 2px 8px rgba(15,23,42,0.05) !important; 
}
