/* UnaisData application design system
   The selectors intentionally sit after Atlantis so legacy pages inherit the
   mobile-first visual language without changing their form behaviour. */

:root {
  --vtu-primary: #db4c2c;
  --vtu-secondary: #111827;
  --vtu-primary-dark: #b93b22;
  --vtu-primary-soft: #fff1ec;
  --vtu-ink: #17181b;
  --vtu-muted: #70747e;
  --vtu-canvas: #f6f7f9;
  --vtu-surface: #ffffff;
  --vtu-line: #e8e9ed;
  --vtu-success: #159a68;
  --vtu-warning: #f0a128;
  --vtu-danger: #d64545;
  --vtu-radius-sm: 14px;
  --vtu-radius: 20px;
  --vtu-radius-lg: 28px;
  --vtu-shadow: 0 14px 40px rgba(29, 31, 38, .07);
  --vtu-shadow-raised: 0 22px 55px rgba(29, 31, 38, .12);
  --vtu-ease: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: smooth; }

body.vtu-app {
  background: var(--vtu-canvas) !important;
  color: var(--vtu-ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.vtu-app * { box-sizing: border-box; }
body.vtu-app a { transition: color .2s ease, background-color .2s ease, transform .2s var(--vtu-ease), box-shadow .2s ease; }
body.vtu-app .main-panel { background: var(--vtu-canvas); }
body.vtu-app .main-panel > .container,
body.vtu-app .main-panel > .container-fluid { padding-bottom: 36px; }

body.vtu-app .card,
body.vtu-app .box {
  border: 1px solid rgba(25, 27, 35, .06);
  border-radius: var(--vtu-radius);
  box-shadow: var(--vtu-shadow);
}

body.vtu-app .card { overflow: hidden; }
body.vtu-app .card-header { border-bottom-color: var(--vtu-line); background: rgba(255,255,255,.86); }
body.vtu-app .card-title { color: var(--vtu-ink); font-weight: 800; letter-spacing: -.025em; }

body.vtu-app .btn {
  min-height: 45px;
  border: 0;
  border-radius: 13px;
  font-family: inherit;
  font-weight: 750;
  letter-spacing: -.01em;
  transition: transform .2s var(--vtu-ease), box-shadow .2s ease, opacity .2s ease;
}

body.vtu-app .btn:hover { transform: translateY(-1px); }
body.vtu-app .btn:active { transform: scale(.985); }
body.vtu-app .btn.is-loading { pointer-events: none; opacity: .72; }
body.vtu-app .btn-primary,
body.vtu-app .btn-secondary,
body.vtu-app .box form > .btn,
body.vtu-app .box .col-sm-8 > .btn {
  background: var(--vtu-primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(219, 76, 44, .2);
}

body.vtu-app input:not([type="checkbox"]):not([type="radio"]),
body.vtu-app select,
body.vtu-app textarea,
body.vtu-app .form-control,
body.vtu-app .control {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  color: var(--vtu-ink);
  background: #fafafa;
  border: 1px solid var(--vtu-line);
  border-radius: 13px;
  font-family: inherit;
  font-size: 14px;
  box-shadow: none;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.vtu-app textarea { min-height: 120px; resize: vertical; }
body.vtu-app input:focus,
body.vtu-app select:focus,
body.vtu-app textarea:focus,
body.vtu-app .form-control:focus {
  border-color: var(--vtu-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(219, 76, 44, .11);
}

body.vtu-app label,
body.vtu-app .form-group label { color: #3d4048; font-size: 13px; font-weight: 750; }
body.vtu-app .form-group { margin-bottom: 18px; }
body.vtu-app .text-muted,
body.vtu-app small { color: var(--vtu-muted); }

.mobile-app-header,
.mobile-bottom-nav,
.mobile-whatsapp-button { display: none; }

@media (min-width: 992px) {
  body.vtu-app .main-header { box-shadow: 0 1px 0 rgba(24,26,32,.07); }
  body.vtu-app .logo-header,
  body.vtu-app .navbar-header { min-height: 62px; box-shadow: none !important; }
  body.vtu-app .sidebar { top: 62px; border-right: 1px solid rgba(255,255,255,.06); box-shadow: 8px 0 30px rgba(22,24,30,.06); }
  body.vtu-app .sidebar .user { padding: 18px 15px; }
  body.vtu-app .sidebar .nav > .nav-item > a { margin: 3px 9px; padding: 11px 14px; border-radius: 12px; }
  body.vtu-app .sidebar .nav > .nav-item.active > a { background: rgba(255,255,255,.1) !important; }
  body.vtu-app .sidebar .nav > .nav-item a:hover { background: rgba(255,255,255,.07); }
  body.vtu-app .main-panel > .container,
  body.vtu-app .main-panel > .container-full { margin-top: 62px; }
  body.vtu-app .main-header .navbar-form { margin-top: 0; margin-bottom: 0; }
  body.vtu-app .main-header .nav-search .input-group { height: 36px; align-items: center; border-radius: 10px; overflow: hidden; }
  body.vtu-app .main-header .nav-search .form-control {
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 13px;
  }
  body.vtu-app .main-header .nav-search .btn-search { min-height: 36px; padding: 6px 10px; border-radius: 0; box-shadow: none; }
}

/* Dashboard */
.vtu-dashboard { max-width: 1240px; }
.vtu-dashboard .panel-header {
  min-height: 0;
  margin: 0;
  border-radius: var(--vtu-radius-lg);
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.17), transparent 28%),
    linear-gradient(135deg, var(--vtu-secondary), #20242d 58%, var(--vtu-primary)) !important;
  box-shadow: var(--vtu-shadow-raised);
  overflow: hidden;
}
.vtu-dashboard .panel-header::before,
.vtu-dashboard .panel-header::after { pointer-events: none; }

.vtu-dashboard .panel-header .page-inner { padding: 28px 32px !important; }
.vtu-dashboard .panel-header h2 { font-size: clamp(25px, 4vw, 38px); letter-spacing: -.045em; }
.vtu-dashboard .panel-header h5 { max-width: 690px; line-height: 1.7; opacity: .82; }
.dashboard-referral-code { opacity: .78; word-break: break-all; }
.copy-link-chip {
  padding: 7px 11px;
  margin-left: 6px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font: 700 11px/1 "Manrope", sans-serif;
  cursor: pointer;
}

.dashboard-hero-metrics { display: flex; gap: 10px; margin-top: 22px; }
.dashboard-hero-metric {
  min-width: 150px;
  padding: 12px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px;
  backdrop-filter: blur(12px);
}
.dashboard-hero-metric span { display: block; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.dashboard-hero-metric strong { display: block; margin-top: 4px; color: #fff; font-size: 17px; font-weight: 800; }
.vtu-dashboard .page-inner.mt--5 { margin-top: 22px !important; padding: 0; }
.vtu-dashboard .full-height > .card-body { padding: 26px; }
.desktop-account-panel {
  margin: 20px 0 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(25,27,35,.06);
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(29,31,38,.055);
}
.desktop-account-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.desktop-account-heading p { margin: 0 0 4px; color: var(--vtu-primary); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.desktop-account-heading h3 { margin: 0; color: var(--vtu-ink); font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.desktop-account-heading > span { color: var(--vtu-muted); font-size: 11px; }
.desktop-account-tabs { display: flex; gap: 7px; margin-bottom: 13px; overflow-x: auto; scrollbar-width: none; }
.desktop-account-tabs::-webkit-scrollbar { display: none; }
.desktop-account-tab { flex: 0 0 auto; padding: 8px 12px; color: var(--vtu-muted); background: #f3f3f5; border-radius: 10px; font-size: 10px; font-weight: 800; }
.desktop-account-tab:hover { color: var(--vtu-ink); }
.desktop-account-tab.active { color: #fff; background: var(--vtu-primary); }
.desktop-account-content { max-width: 720px; }
.desktop-virtual-account-card { min-height: 190px; }
.desktop-virtual-account-card .virtual-bank-row > span:last-child { color: rgba(255,255,255,.65); font-size: 10px; }
.desktop-account-empty { padding: 20px; display: flex; align-items: center; gap: 14px; background: #f8f8f9; border: 1px solid var(--vtu-line); border-radius: 17px; }
.desktop-account-empty > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--vtu-primary); background: var(--vtu-primary-soft); border-radius: 14px; }
.desktop-account-empty > div { flex: 1; display: grid; }
.desktop-account-empty strong { color: var(--vtu-ink); font-size: 13px; }
.desktop-account-empty small { font-size: 10px; }
.dashboard-service-panel {
  margin: 20px 0 8px;
  padding: 22px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(25,27,35,.06);
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(29,31,38,.055);
}
.dashboard-service-panel .dashboard-section-heading { margin: 0 2px 17px; }

.dashboard-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 32px 2px 15px; }
.dashboard-section-heading p { margin: 0 0 4px; color: var(--vtu-primary); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.dashboard-section-heading h3 { margin: 0; color: var(--vtu-ink); font-size: 22px; font-weight: 800; letter-spacing: -.035em; }
.dashboard-section-heading a { color: var(--vtu-primary); font-size: 13px; font-weight: 800; }

.vtu-service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.vtu-service-card {
  position: relative;
  min-height: 178px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--vtu-ink);
  background: #fff;
  border: 1px solid rgba(25,27,35,.06);
  border-radius: 19px;
  box-shadow: 0 8px 26px rgba(29,31,38,.055);
  overflow: hidden;
}
.vtu-service-card::after { content: "\f061"; position: absolute; top: 19px; right: 17px; color: #a6a8ae; font-family: "Font Awesome 5 Free"; font-size: 11px; font-weight: 900; }
.vtu-service-card:hover { color: var(--vtu-ink); transform: translateY(-4px); box-shadow: var(--vtu-shadow); }
.vtu-service-icon { width: 52px; height: 52px; display: grid; place-items: center; padding: 8px; background: var(--vtu-primary-soft); border-radius: 16px; overflow: hidden; }
.vtu-service-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.vtu-service-card strong { display: block; margin: 18px 0 5px; font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.vtu-service-card small { display: block; font-size: 11px; line-height: 1.55; }
.dashboard-service-panel .vtu-service-card { background: #f9f9fa; box-shadow: none; }
.dashboard-service-panel .vtu-service-card:nth-child(4n + 2) .vtu-service-icon { background: #eef7ff; }
.dashboard-service-panel .vtu-service-card:nth-child(4n + 3) .vtu-service-icon { background: #edf8f2; }
.dashboard-service-panel .vtu-service-card:nth-child(4n + 4) .vtu-service-icon { background: #fff6e8; }
.retailer-notice { padding: 14px 16px; color: #5a4935; background: #fff8e9; border: 1px solid #f7e5bb; border-radius: 15px; font-size: 13px; }
.retailer-notice > span { color: #fff; background: var(--vtu-warning); padding: 4px 8px; border-radius: 999px; font-size: 10px; text-transform: uppercase; }
.dashboard-alert-strip { padding: 14px 16px; margin-top: 15px; background: #eef8f3; border: 1px solid #d6eee3; border-radius: 15px; color: #267155; }
.dashboard-admin-button { position: relative; z-index: 2; pointer-events: auto !important; touch-action: manipulation; }

/* Swipeable virtual accounts */
.virtual-account-section { margin: 28px 0 8px; }
.virtual-account-heading { display: flex; align-items: end; justify-content: space-between; margin: 0 2px 12px; }
.virtual-account-heading h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.virtual-account-heading span { color: var(--vtu-muted); font-size: 11px; }
.virtual-account-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(315px, 48%);
  gap: 14px;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.virtual-account-carousel::-webkit-scrollbar { display: none; }
.virtual-account-card {
  position: relative;
  min-height: 205px;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,255,255,.2), transparent 29%),
    linear-gradient(135deg, #1b1d23, #2b3039 62%, var(--vtu-primary));
  border-radius: 23px;
  box-shadow: 0 16px 36px rgba(22,24,30,.16);
  scroll-snap-align: start;
  overflow: hidden;
}
.virtual-account-card:nth-child(even) { background: radial-gradient(circle at 10% 0, rgba(255,255,255,.18), transparent 30%), linear-gradient(135deg, var(--vtu-primary), #a7331d); }
.virtual-bank-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.virtual-bank-icon { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.16); border-radius: 13px; font-weight: 800; }
.virtual-bank-row strong { flex: 1; font-size: 13px; }
.virtual-account-number { margin: 25px 0 6px; font-size: clamp(24px, 5vw, 32px); font-weight: 800; letter-spacing: .06em; }
.virtual-account-name { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; }
.virtual-account-footer { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: 21px; }
.virtual-account-footer span { display: block; color: rgba(255,255,255,.6); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.virtual-account-footer strong { color: #fff; font-size: 13px; }
.account-copy-button { width: 40px; height: 40px; color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; cursor: pointer; }
.account-copy-button.copied { background: var(--vtu-success); }

/* Purchase forms */
.vtu-form-page { max-width: 1050px; padding-top: 30px; padding-bottom: 55px; }
.main-panel > .vtu-form-page,
.main-panel > .vtu-ledger-page { padding-top: 30px !important; padding-bottom: 55px !important; }
.vtu-form-hero {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding: 28px 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--vtu-secondary), #242833 68%, var(--vtu-primary));
  border-radius: var(--vtu-radius-lg);
  box-shadow: var(--vtu-shadow-raised);
}
.vtu-form-hero h1 { margin: 4px 0 7px; color: #fff; font-size: clamp(24px, 4vw, 35px); font-weight: 800; letter-spacing: -.045em; }
.vtu-form-hero p { max-width: 620px; margin: 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.65; }
.vtu-form-eyebrow { color: var(--vtu-primary) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.vtu-form-hero .vtu-form-eyebrow { color: #ffb8a8 !important; }
.vtu-form-hero-actions { display: flex; gap: 9px; align-items: flex-start; }
.vtu-hero-chip { min-width: 125px; padding: 12px 14px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; backdrop-filter: blur(10px); }
.vtu-hero-chip:hover { color: #fff; transform: translateY(-2px); }
.vtu-hero-chip span { display: block; color: rgba(255,255,255,.57); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.vtu-hero-chip strong { display: block; margin-top: 3px; color: #fff; font-size: 12px; }
.vtu-form-card { padding: 29px !important; background: #fff; }
.vtu-form-intro { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--vtu-line); }
.vtu-form-intro h2 { margin: 3px 0 5px; color: var(--vtu-ink); font-size: 23px; font-weight: 800; letter-spacing: -.035em; }
.vtu-form-intro p { margin: 0; color: var(--vtu-muted); font-size: 12px; }
.vtu-form-icon { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; color: var(--vtu-primary); background: var(--vtu-primary-soft); border-radius: 16px; font-size: 20px; }
.vtu-form-card form .btn,
.vtu-primary-action { width: 100%; margin-top: 4px; background: var(--vtu-primary) !important; color: #fff !important; }
.vtu-aside-panel { padding: 18px; color: #625140; background: #fff9ed; border: 1px solid #f5e7c8; border-radius: 16px; }
.vtu-aside-panel h3 { margin: 0 0 7px; color: #3e3429; font-size: 14px; font-weight: 800; }
.vtu-aside-panel p { margin: 0 0 9px; font-size: 11px; line-height: 1.65; }
.vtu-aside-panel p:last-child { margin-bottom: 0; }

/* Bring untouched legacy pages into the same shell. */
.main-panel > div[style*="padding:90px"],
.main-panel > div[style*="padding: 90px"],
.main-panel > div[style*="padding-top:120px"] {
  width: calc(100% - 30px);
  max-width: 920px;
  margin: 0 auto 50px !important;
  padding: 40px 0 20px !important;
}
.main-panel > div[style*="padding:90px"] > h2,
.main-panel > div[style*="padding: 90px"] > h2,
.main-panel > div[style*="padding-top:120px"] > h2 { margin: 0 0 20px; color: var(--vtu-ink); font-size: 28px; font-weight: 800; letter-spacing: -.04em; text-align: left !important; }
.main-panel > div[style*="padding:90px"] > .box,
.main-panel > div[style*="padding: 90px"] > .box,
.main-panel > div[style*="padding-top:120px"] > .box { padding: 28px !important; background: #fff; }

/* History and wallet tables */
body.vtu-app .table-responsive { border: 1px solid var(--vtu-line); border-radius: 16px; }
body.vtu-app table { margin-bottom: 0 !important; color: #3e4149; font-size: 12px; }
body.vtu-app table thead th { padding: 14px 13px; color: #777b84; background: #f6f7f9; border: 0; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
body.vtu-app table tbody td { padding: 14px 13px; border-top-color: var(--vtu-line); vertical-align: middle; }
body.vtu-app .badge { padding: 7px 9px; border-radius: 999px; font-weight: 750; }
body.vtu-app .pagination .page-link { margin: 2px; border: 0; border-radius: 9px; color: var(--vtu-ink); }
body.vtu-app .pagination .active .page-link { background: var(--vtu-primary); color: #fff; }

/* Wallet and focused transaction history */
.vtu-ledger-page { max-width: 1050px; padding-top: 30px; padding-bottom: 55px; }
.vtu-ledger-hero {
  min-height: 190px;
  padding: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: radial-gradient(circle at 90% 0, rgba(255,255,255,.18), transparent 28%), linear-gradient(135deg, #191b21, #2b2f38 65%, var(--vtu-primary));
  border-radius: var(--vtu-radius-lg);
  box-shadow: var(--vtu-shadow-raised);
}
.vtu-ledger-hero h1 { margin: 4px 0 6px; color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.045em; }
.vtu-ledger-hero > div > p:last-child { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.vtu-ledger-balance { text-align: right; }
.vtu-ledger-balance span { display: block; color: rgba(255,255,255,.6); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.vtu-ledger-balance strong { display: block; margin-top: 5px; color: #fff; font-size: 27px; letter-spacing: -.035em; }
.vtu-data-history-hero > .btn { flex: 0 0 auto; color: var(--vtu-ink) !important; background: #fff !important; box-shadow: none; }
.vtu-ledger-toolbar { margin: 17px 0; display: flex; gap: 10px; }
.vtu-search-form { position: relative; flex: 1; }
.vtu-search-form i { position: absolute; z-index: 1; top: 50%; left: 15px; color: #989ba2; transform: translateY(-50%); }
.vtu-search-form input { padding-left: 42px !important; background: #fff !important; }
.vtu-refresh-button { flex: 0 0 51px; width: 51px; height: 51px; display: grid; place-items: center; color: var(--vtu-ink); background: #fff; border: 1px solid var(--vtu-line); border-radius: 14px; }
.vtu-refresh-button:hover { color: var(--vtu-primary); transform: rotate(18deg); }
.vtu-mobile-transactions { display: none; }
.vtu-desktop-ledger { background: #fff; }
.vtu-status { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; text-transform: capitalize; }
.vtu-status.is-success { color: #087a50; background: #e8f8f1; }
.vtu-status.is-pending { color: #9a6308; background: #fff4dc; }
.vtu-status.is-failed { color: #aa3434; background: #ffebeb; }
.vtu-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.vtu-pagination a { width: 38px; height: 38px; display: grid; place-items: center; color: var(--vtu-ink); background: #fff; border: 1px solid var(--vtu-line); border-radius: 11px; }
.vtu-pagination span { color: var(--vtu-muted); font-size: 11px; font-weight: 700; }
.vtu-empty-state { padding: 60px 24px; margin-top: 18px; background: #fff; border: 1px solid var(--vtu-line); border-radius: var(--vtu-radius); text-align: center; }
.vtu-empty-state > span { width: 58px; height: 58px; margin: 0 auto 16px; display: grid; place-items: center; color: var(--vtu-primary); background: var(--vtu-primary-soft); border-radius: 18px; font-size: 20px; }
.vtu-empty-state h2 { margin: 0 0 6px; color: var(--vtu-ink); font-size: 20px; font-weight: 800; }
.vtu-empty-state p { color: var(--vtu-muted); font-size: 12px; }

/* Funding chooser */
.vtu-funding-dialog { max-width: 660px; }
.vtu-funding-modal { z-index: 2200 !important; }
body > .vtu-funding-modal.show ~ .modal-backdrop.show { z-index: 2190 !important; }
.vtu-funding-modal .modal-content { max-height: min(780px, 92vh); background: #f8f8f9; border: 0; border-radius: 27px; box-shadow: 0 28px 80px rgba(17,19,24,.24); overflow: hidden; }
.vtu-funding-modal .modal-header { padding: 22px 24px 18px; align-items: flex-start; background: #fff; border-bottom: 1px solid var(--vtu-line); }
.vtu-modal-eyebrow { display: block; margin-bottom: 4px; color: var(--vtu-primary); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vtu-funding-modal .modal-title { color: var(--vtu-ink); font-size: 22px; font-weight: 800; letter-spacing: -.035em; }
.vtu-modal-close { width: 38px; height: 38px; margin: 0 !important; padding: 0 !important; display: grid; place-items: center; color: var(--vtu-ink); background: #f2f2f4 !important; border-radius: 12px; font-size: 24px; opacity: 1; }
.vtu-funding-modal .modal-body { padding: 22px 24px 25px; overflow-y: auto; overscroll-behavior: contain; }
.vtu-modal-description { margin: 0 0 16px; color: var(--vtu-muted); font-size: 12px; line-height: 1.65; }
.vtu-funding-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vtu-funding-option {
  width: 100%;
  min-height: 104px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--vtu-ink);
  background: #fff;
  border: 1px solid var(--vtu-line);
  border-radius: 18px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(29,31,38,.035);
}
.vtu-funding-option:hover { color: var(--vtu-ink); border-color: #d9dade; transform: translateY(-2px); box-shadow: var(--vtu-shadow); }
.vtu-funding-option.is-recommended { grid-column: 1 / -1; min-height: 122px; color: #fff; background: radial-gradient(circle at 90% 0, rgba(255,255,255,.2), transparent 27%), linear-gradient(135deg, #1b1d23, #2b3039 64%, var(--vtu-primary)); border: 0; box-shadow: 0 16px 35px rgba(22,24,30,.16); }
.vtu-funding-icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--vtu-primary); background: var(--vtu-primary-soft); border-radius: 15px; font-size: 17px; }
.is-recommended .vtu-funding-icon { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.vtu-funding-copy { min-width: 0; flex: 1; display: grid; }
.vtu-funding-copy strong { margin-bottom: 3px; color: inherit; font-size: 13px; font-weight: 800; letter-spacing: -.015em; }
.vtu-funding-copy small { color: var(--vtu-muted); font-size: 9px; line-height: 1.5; }
.is-recommended .vtu-funding-copy small { color: rgba(255,255,255,.66); }
.vtu-funding-badge { width: max-content; margin-bottom: 7px; padding: 4px 7px; color: #fff; background: var(--vtu-primary); border-radius: 999px; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vtu-funding-arrow { flex: 0 0 auto; color: #9b9da4; font-size: 10px; }
.is-recommended .vtu-funding-arrow { color: rgba(255,255,255,.7); }
.vtu-funding-view { animation: vtuFundingIn .3s var(--vtu-ease) both; }
.vtu-funding-view.is-hidden { display: none; }
.vtu-funding-back { padding: 7px 0; color: var(--vtu-ink); background: transparent; border: 0; font-size: 11px; font-weight: 800; cursor: pointer; }
.vtu-funding-back i { margin-right: 6px; }
.vtu-funding-modal .virtual-account-section { margin: 16px 0 4px; }
.vtu-funding-modal .virtual-account-heading > span:last-child { display: none; }
.vtu-funding-modal .virtual-account-carousel { grid-auto-columns: minmax(290px, 88%); }
.vtu-manage-funding-link { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--vtu-primary); font-size: 11px; font-weight: 800; }
@keyframes vtuFundingIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* Shared entrance animation */
.main-panel > :not(.mobile-app-header) { animation: vtuPageIn .45s var(--vtu-ease) both; }
@keyframes vtuPageIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes vtuNavPop { 0% { transform: scale(.82); } 100% { transform: scale(1); } }

@media (max-width: 1199px) {
  .vtu-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  body.vtu-app { min-height: 100svh; }
  body.vtu-app .wrapper { min-height: 100svh; }
  body.vtu-app .main-header,
  body.vtu-app .sidebar { display: none !important; }
  body.vtu-app .main-panel { width: 100% !important; min-height: 100svh; padding: 76px 0 calc(96px + env(safe-area-inset-bottom)); }
  body.vtu-app .main-panel > .container,
  body.vtu-app .main-panel > .container-full {
    margin-top: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    overflow: visible;
  }

  .mobile-app-header {
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    right: 0;
    height: calc(68px + env(safe-area-inset-top));
    padding: calc(10px + env(safe-area-inset-top)) 16px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255,255,255,.91);
    border-bottom: 1px solid rgba(30,32,38,.07);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  }
  .mobile-header-leading { min-width: 0; display: flex; align-items: center; gap: 9px; }
  .mobile-brand { min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--vtu-ink); }
  .mobile-brand:hover { color: var(--vtu-ink); }
  .mobile-brand-mark { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--vtu-primary), var(--vtu-primary-dark)); border-radius: 13px; box-shadow: 0 8px 18px rgba(219,76,44,.2); font-size: 16px; font-weight: 800; }
  .mobile-brand > span:last-child { min-width: 0; display: grid; }
  .mobile-brand small { overflow: hidden; color: var(--vtu-muted); font-size: 9px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-brand strong { max-width: 112px; overflow: hidden; color: var(--vtu-ink); font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-header-actions { display: flex; align-items: center; gap: 8px; }
  .mobile-balance-pill { min-width: 83px; padding: 7px 10px; display: grid; color: var(--vtu-ink); background: #f5f5f6; border-radius: 12px; text-align: right; }
  .mobile-balance-pill:hover { color: var(--vtu-ink); }
  .mobile-balance-pill small { font-size: 8px; line-height: 1.1; }
  .mobile-balance-pill strong { max-width: 112px; overflow: hidden; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; }
  .mobile-icon-button { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; color: var(--vtu-ink); background: #f5f5f6; border-radius: 12px; }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 1060;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 69px;
    padding: 8px 5px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(30,32,38,.08);
    border-radius: 21px;
    box-shadow: 0 14px 38px rgba(26,28,35,.16);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    transition: opacity .2s ease, transform .25s var(--vtu-ease);
  }
  .mobile-bottom-nav > a { min-width: 0; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #92959d; border-radius: 14px; font-size: 9px; font-weight: 700; }
  .mobile-bottom-nav > a > i { font-size: 17px; }
  .mobile-bottom-nav > a.active { color: var(--vtu-primary); background: var(--vtu-primary-soft); }
  .mobile-bottom-nav > a.active > i { animation: vtuNavPop .28s var(--vtu-ease); }
  .mobile-bottom-nav .mobile-nav-primary { position: relative; padding-top: 4px; background: transparent !important; }
  .mobile-nav-primary-icon { width: 45px; height: 45px; margin-top: -27px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--vtu-primary), var(--vtu-primary-dark)); border: 5px solid var(--vtu-canvas); border-radius: 16px; box-shadow: 0 9px 20px rgba(219,76,44,.27); font-size: 14px; transform: rotate(45deg); }
  .mobile-nav-primary-icon i { transform: rotate(-45deg); }
  .mobile-bottom-nav .mobile-nav-primary > span:last-child { margin-top: 1px; color: var(--vtu-primary); }

  /* GetButton controls its own injected positioning and can overlap the app
     navigation. Hide it on mobile and use the native support shortcut below. */
  body.vtu-app #wh-widget-send-button,
  body.vtu-app .wh-widget-send-button-wrapper,
  body.vtu-app [id^="gb-widget-"] { display: none !important; }

  .mobile-whatsapp-button {
    position: fixed;
    right: 16px;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    z-index: 1045;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #2fd06f, #18a957);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(24, 169, 87, .34);
    font-size: 27px;
    line-height: 1;
  }
  .mobile-whatsapp-button:hover,
  .mobile-whatsapp-button:focus-visible { color: #fff; transform: translateY(-2px); }
  .mobile-whatsapp-button:active { transform: scale(.96); }

  .vtu-dashboard { width: 100%; max-width: none; padding: 0 14px; }
  .vtu-dashboard .panel-header { margin-top: 0; border-radius: 23px; }
  .vtu-dashboard .panel-header .page-inner { padding: 18px !important; }
  .vtu-dashboard .panel-header .py-4 { padding: 0 !important; }
  .vtu-dashboard .panel-header h2 { padding-bottom: 0 !important; margin-bottom: 2px; font-size: 22px; }
  .vtu-dashboard .panel-header h5 { display: none; }
  .vtu-dashboard .dashboard-referral { display: none; }
  .vtu-dashboard .panel-header .ml-md-auto { width: 100%; display: flex; gap: 8px; margin-top: 14px; }
  .vtu-dashboard .panel-header .ml-md-auto .btn { flex: 1; margin: 0 !important; }
  .dashboard-hero-metrics { margin-top: 13px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .dashboard-hero-metric { flex: 0 0 138px; padding: 9px 11px; scroll-snap-align: start; }
  .dashboard-hero-metric strong { font-size: 14px; }
  .dashboard-service-panel { margin: 14px 0 0; padding: 17px 14px; border-radius: 22px; }
  .desktop-account-panel { display: none; }
  .dashboard-service-panel .dashboard-section-heading { margin-bottom: 14px; }
  .dashboard-service-panel .dashboard-section-heading h3 { max-width: 230px; font-size: 18px; }
  .vtu-dashboard .page-inner.mt--5 { margin-top: 13px !important; }
  .vtu-dashboard .full-height > .card-body { padding: 18px; }
  .vtu-dashboard .full-height .card-title + hr + p { text-align: left !important; font-size: 13px !important; }
  .dashboard-account-overview { display: none; }
  .dashboard-secondary-content { background: transparent !important; border: 0 !important; box-shadow: none !important; overflow: visible !important; }
  .dashboard-secondary-content > .card-body { padding: 0 !important; }
  .vtu-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dashboard-service-panel .vtu-service-card {
    color: #fff;
    background: linear-gradient(145deg, var(--vtu-primary), var(--vtu-primary-dark));
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 11px 24px rgba(185, 59, 34, .2);
  }
  .dashboard-service-panel .vtu-service-card:hover { color: #fff; }
  .dashboard-service-panel .vtu-service-card::after { color: rgba(255,255,255,.72); }
  .dashboard-service-panel .vtu-service-card strong { color: #fff; }
  .dashboard-service-panel .vtu-service-card small { color: rgba(255,255,255,.76); }
  .dashboard-service-panel .vtu-service-card .vtu-service-icon {
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 7px 18px rgba(83, 20, 9, .14);
  }
  .virtual-account-carousel { grid-auto-columns: minmax(292px, 82%); }

  .vtu-form-page { width: 100%; max-width: none; padding: 0 14px 25px; }
  .main-panel > .vtu-form-page,
  .main-panel > .vtu-ledger-page { padding-top: 0 !important; padding-bottom: calc(116px + env(safe-area-inset-bottom)) !important; }
  .vtu-form-hero { padding: 22px; border-radius: 23px; }
  .vtu-form-card { padding: 22px !important; }

  .vtu-ledger-page { width: 100%; max-width: none; padding: 0 14px 25px; }
  .vtu-ledger-hero { min-height: 172px; padding: 22px; border-radius: 23px; }
  .vtu-ledger-hero h1 { font-size: 27px; }

  .modal-open .mobile-bottom-nav { opacity: 0; pointer-events: none; transform: translateY(18px); }
  .modal-open .mobile-whatsapp-button { opacity: 0; pointer-events: none; transform: translateY(18px); }
  .vtu-funding-modal.modal {
    position: fixed !important;
    inset: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .vtu-funding-modal .modal-dialog {
    width: calc(100% - 28px);
    max-width: 620px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 0 calc(16px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
  }
  .vtu-funding-modal .modal-dialog::before { display: none; }
  .vtu-funding-modal .modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 86vh;
    max-height: 86dvh;
    border-radius: 26px;
    pointer-events: auto;
  }
  .vtu-funding-modal .modal-header { padding: 18px 18px 15px; }
  .vtu-funding-modal .modal-body { padding: 18px 16px calc(22px + env(safe-area-inset-bottom)); }
  .vtu-funding-modal.showing-accounts .modal-content {
    max-height: 88vh;
    max-height: 88dvh;
  }
}

@media (max-width: 700px) {
  .vtu-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vtu-service-card { min-height: 148px; padding: 14px; border-radius: 17px; }
  .vtu-service-icon { width: 45px; height: 45px; border-radius: 14px; }
  .vtu-service-card strong { margin-top: 14px; font-size: 12px; }
  .vtu-service-card small { font-size: 9px; line-height: 1.45; }
  .dashboard-section-heading { margin-top: 24px; }
  .dashboard-section-heading h3 { font-size: 19px; }
  .virtual-account-carousel { grid-auto-columns: calc(100% - 22px); }

  .vtu-form-hero { display: block; }
  .vtu-form-hero h1 { font-size: 25px; }
  .vtu-form-hero-actions { margin-top: 18px; overflow-x: auto; }
  .vtu-hero-chip { flex: 0 0 132px; }
  .vtu-form-card { border-radius: 21px; box-shadow: 0 8px 25px rgba(29,31,38,.06); }
  .vtu-form-intro { align-items: flex-start; }
  .vtu-form-intro h2 { font-size: 20px; }
  .vtu-form-card .row > [class*="col-"] + [class*="col-"] { margin-top: 18px; }

  .vtu-funding-options { grid-template-columns: 1fr; }
  .vtu-funding-option { min-height: 82px; }
  .vtu-funding-option.is-recommended { min-height: 116px; }
  .vtu-funding-modal .virtual-account-carousel { grid-auto-columns: calc(100% - 20px); }

  .vtu-ledger-hero { display: block; }
  .vtu-ledger-balance { margin-top: 24px; text-align: left; }
  .vtu-ledger-balance strong { font-size: 25px; }
  .vtu-data-history-hero > .btn { width: 100%; margin-top: 20px; }
  .vtu-desktop-ledger { display: none; }
  .vtu-mobile-transactions { display: grid; gap: 10px; }
  .vtu-transaction-card { padding: 14px; display: flex; gap: 12px; background: #fff; border: 1px solid rgba(25,27,35,.06); border-radius: 17px; box-shadow: 0 6px 20px rgba(29,31,38,.04); }
  .vtu-transaction-icon { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--vtu-primary); background: var(--vtu-primary-soft); border-radius: 13px; font-size: 13px; }
  .vtu-transaction-icon.is-success { color: #087a50; background: #e8f8f1; }
  .vtu-transaction-icon.is-pending { color: #9a6308; background: #fff4dc; }
  .vtu-transaction-icon.is-failed { color: #aa3434; background: #ffebeb; }
  .vtu-transaction-main { min-width: 0; flex: 1; }
  .vtu-transaction-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .vtu-transaction-row strong { overflow: hidden; color: var(--vtu-ink); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
  .vtu-transaction-row b { flex: 0 0 auto; color: var(--vtu-ink); font-size: 12px; }
  .vtu-transaction-row + .vtu-transaction-row { margin-top: 4px; }
  .vtu-transaction-row > span:first-child { overflow: hidden; color: var(--vtu-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .vtu-balance-change { margin-top: 9px; padding-top: 8px; display: flex; align-items: center; gap: 7px; color: #8c8f97; border-top: 1px solid #f0f0f2; font-size: 9px; }

  body.vtu-app .container-fluid { padding-left: 14px; padding-right: 14px; }
  body.vtu-app .container-fluid[style*="margin-top:30px"] { margin-top: 0 !important; }
  body.vtu-app .container-fluid[style*="margin-top:30px"] > .card > .card-body { margin-top: 0 !important; padding: 19px 15px; }
  body.vtu-app .container-fluid[style*="margin-top:30px"] h1.card-title { font-size: 20px; }
  .main-panel > div[style*="padding:90px"],
  .main-panel > div[style*="padding: 90px"],
  .main-panel > div[style*="padding-top:120px"] { width: 100%; padding: 0 14px calc(116px + env(safe-area-inset-bottom)) !important; }
  .main-panel > div[style*="padding:90px"] > h2,
  .main-panel > div[style*="padding: 90px"] > h2,
  .main-panel > div[style*="padding-top:120px"] > h2 { font-size: 23px; }
  .main-panel > div[style*="padding:90px"] > .box,
  .main-panel > div[style*="padding: 90px"] > .box,
  .main-panel > div[style*="padding-top:120px"] > .box { padding: 20px !important; }
}

@media (max-width: 380px) {
  .mobile-balance-pill { display: none; }
  .mobile-brand strong { max-width: 160px; }
  .virtual-account-number { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Auth mobile app treatment. Loaded after each page's embedded CSS. */
@media (max-width: 850px) {
  body .auth-page,
  body .signup-page { min-height: 100svh; display: block; background: #f6f7f9; }
  body .auth-side,
  body .signup-side { display: none !important; }
  body .auth-main,
  body .signup-main { min-height: 100svh; padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom)); align-items: flex-start; background: #f6f7f9; }
  body .auth-main::before,
  body .signup-main::before { content: ""; position: fixed; top: -100px; right: -110px; width: 260px; height: 260px; background: rgba(219,76,44,.1); border-radius: 50%; filter: blur(2px); pointer-events: none; }
  body .auth-container,
  body .signup-container { width: 100%; max-width: 500px; margin: auto; }
  body .auth-container { padding: 24px 20px; background: rgba(255,255,255,.95); border: 1px solid rgba(30,32,38,.06); border-radius: 25px; box-shadow: 0 18px 48px rgba(29,31,38,.08); }
  body .signup-card { padding: 24px 20px; background: rgba(255,255,255,.95); border: 1px solid rgba(30,32,38,.06); border-radius: 25px; box-shadow: 0 18px 48px rgba(29,31,38,.08); }
  body .login-heading h2,
  body .signup-heading h2 { font-size: 29px; letter-spacing: -.05em; }
  body .mobile-brand,
  body .mobile-header { display: flex !important; }
}
