/* ViserBank-inspired banking UI — Crystal Sky frontend + Indigo Fusion panels */
:root {
  --vb-primary: #4634ff;
  --vb-primary-dark: #3426d9;
  --vb-primary-soft: rgba(70, 52, 255, 0.12);
  --vb-accent: #1e9ff2;
  --vb-sidebar: #171b2d;
  --vb-sidebar-2: #1d2238;
  --vb-sidebar-hover: rgba(255, 255, 255, 0.06);
  --vb-sidebar-active: #4634ff;
  --vb-bg: #f4f5fa;
  --vb-card: #ffffff;
  --vb-text: #1e233a;
  --vb-muted: #6c7293;
  --vb-border: #e5e8f2;
  --vb-success: #28c76f;
  --vb-warning: #ff9f43;
  --vb-danger: #ea5455;
  --vb-info: #00cfe8;
  --vb-radius: 8px;
  --vb-shadow: 0 3px 12px rgba(23, 27, 45, 0.06);
  --vb-sidebar-width: 280px;
  --vb-topbar-height: 70px;
}

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

body {
  font-family: "Outfit", "Montserrat", system-ui, sans-serif;
  color: var(--vb-text);
  background: var(--vb-bg);
}

body.vb-public {
  background: #fff;
}

body.vb-auth {
  background:
    radial-gradient(circle at top right, rgba(70, 52, 255, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(30, 159, 242, 0.16), transparent 28%),
    #f4f5fa;
}

a {
  color: var(--vb-primary);
}

html, body {
  overflow-x: hidden;
}
img, svg, canvas, video {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn-primary,
.btn-orange {
  background: var(--vb-primary) !important;
  border-color: var(--vb-primary) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(70, 52, 255, 0.22);
}
.btn-primary:hover,
.btn-orange:hover {
  background: var(--vb-primary-dark) !important;
  border-color: var(--vb-primary-dark) !important;
  color: #fff !important;
}
.btn-outline-primary,
.btn-outline-orange {
  color: var(--vb-primary) !important;
  border-color: var(--vb-primary) !important;
  background: transparent !important;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: none !important;
}
.btn-outline-primary:hover,
.btn-outline-orange:hover {
  background: var(--vb-primary) !important;
  color: #fff !important;
}
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-secondary {
  border-radius: 6px;
  font-weight: 600;
}
.text-orange { color: var(--vb-primary) !important; }

/* Forms */
.form-control,
.form-select {
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  min-height: 46px;
  color: var(--vb-text);
  background: #fff;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--vb-primary);
  box-shadow: 0 0 0 3px var(--vb-primary-soft);
  color: var(--vb-text);
  background: #fff;
}
.form-label {
  font-weight: 600;
  color: var(--vb-text);
}

/* Cards */
.card,
.rounded-card,
.card-dark {
  background: var(--vb-card);
  color: var(--vb-text);
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius);
  box-shadow: var(--vb-shadow);
}
.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4, .card-dark h5,
.card h1, .card h2, .card h3, .card h4, .card h5 {
  color: var(--vb-text);
}

/* Tables */
.table {
  color: var(--vb-text);
  --bs-table-bg: transparent;
}
.table thead th {
  background: #f8f9fd !important;
  color: var(--vb-muted) !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-bottom: 1px solid var(--vb-border) !important;
}
.table td {
  background: #fff !important;
  color: var(--vb-text) !important;
  border-color: var(--vb-border) !important;
  vertical-align: middle;
}

/* ===================== PUBLIC HEADER ===================== */
.vb-public-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(23, 27, 45, 0.06);
}
.vb-public-header .navbar {
  padding: 0.85rem 0;
}
.vb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--vb-text);
  font-weight: 700;
  font-size: 1.15rem;
}
.vb-brand img {
  height: 42px;
  width: auto;
}
.vb-nav-link {
  color: var(--vb-muted) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.85rem !important;
  text-decoration: none;
}
.vb-nav-link:hover,
.vb-nav-link.active {
  color: var(--vb-primary) !important;
}
.vb-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ===================== PUBLIC FOOTER ===================== */
.vb-footer {
  background: #12162a;
  color: #c7cbe0;
  margin-top: 0;
  padding-top: 3.5rem;
}
.vb-footer h3, .vb-footer h4, .vb-footer h5 {
  color: #fff;
}
.vb-footer a {
  color: #c7cbe0;
  text-decoration: none;
}
.vb-footer a:hover { color: #fff; }
.vb-footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1.55;
}
.vb-footer-contact span,
.vb-footer-contact a {
  min-width: 0;
  word-break: break-word;
}
.vb-footer-contact i {
  margin-top: 0.2rem;
  color: #fff;
}
.vb-footer .form-control {
  background: #1c2140;
  border-color: #2b3254;
  color: #fff;
}
.vb-footer-bottom {
  border-top: 1px solid #242a46;
  margin-top: 2rem;
  padding: 1.2rem 0;
  font-size: 0.92rem;
}

/* ===================== HOMEPAGE ===================== */
.vb-hero {
  position: relative;
  overflow: hidden;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  padding: 7.5rem 0 8.5rem;
  background-color: #0d1630;
  background-image:
    linear-gradient(90deg, rgba(8, 12, 28, 0.88) 0%, rgba(8, 12, 28, 0.62) 42%, rgba(8, 12, 28, 0.18) 100%),
    var(--vb-hero-image, linear-gradient(135deg, #171b2d, #4634ff));
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.vb-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
}
.vb-hero-copy {
  max-width: 38rem;
}
.vb-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: #fff;
  clip-path: ellipse(58% 100% at 50% 100%);
  z-index: 1;
}
.vb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.vb-hero .vb-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(8px);
}
.vb-hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.vb-hero .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  max-width: 34rem;
}
.btn-hero-outline {
  background: transparent !important;
  border: 1.5px solid #fff !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: none !important;
}
.btn-hero-outline:hover {
  background: #fff !important;
  color: var(--vb-primary) !important;
}
.vb-stats {
  margin-top: -4.5rem;
  position: relative;
  z-index: 3;
}
.vb-stats-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(23, 27, 45, 0.1);
  padding: 1.6rem 0.5rem;
  border: 1px solid var(--vb-border);
}
.vb-stat-item {
  text-align: center;
  padding: 0.75rem;
}
.vb-stat-item i {
  color: var(--vb-primary);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.vb-stat-item .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vb-text);
}
.vb-stat-item .label {
  color: var(--vb-muted);
  font-size: 0.9rem;
}
.vb-section {
  padding: 5rem 0;
}
.vb-section-alt {
  background: #f7f8fd;
}
.vb-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.8rem;
}
.vb-section-head .badge-soft {
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}
.vb-section-head h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 0.9rem;
  color: #161a33;
}
.vb-section-head .lead {
  color: var(--vb-muted);
  font-size: 1.02rem;
  margin: 0.7rem 0 0;
}
.vb-feature-card,
.vb-step-card,
.vb-news-card {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  height: 100%;
  box-shadow: var(--vb-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vb-feature-card:hover,
.vb-step-card:hover,
.vb-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(70, 52, 255, 0.1);
}
.vb-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.vb-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--vb-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
}
.vb-accordion .accordion-item {
  border: 1px solid var(--vb-border);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: #fff;
}
.vb-accordion .accordion-button {
  font-weight: 700;
  color: var(--vb-text);
  background: #fff;
  box-shadow: none;
}
.vb-accordion .accordion-button:not(.collapsed) {
  color: var(--vb-primary);
  background: #f6f5ff;
}
.vb-cta {
  background: linear-gradient(120deg, #4634ff, #1e9ff2);
  color: #fff;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}
.vb-cta h2 { color: #fff; font-weight: 800; }
.vb-cta .btn {
  background: #fff !important;
  color: var(--vb-primary) !important;
  border: 0 !important;
  box-shadow: none !important;
}
.vb-cta .btn-hero-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid #fff !important;
}
.vb-cta .btn-hero-outline:hover {
  background: #fff !important;
  color: var(--vb-primary) !important;
}
.vb-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 600;
}
.vb-hero-trust i {
  margin-right: 0.35rem;
  color: #8ee0c8;
}
.vb-promise {
  padding: 2.2rem 0 0;
}
.vb-promise-card {
  background: linear-gradient(135deg, #171b2d 0%, #3426d9 58%, #1e9ff2 140%);
  color: #fff;
  border-radius: 18px;
  padding: 2rem 1.7rem;
  margin-top: 1.6rem;
}
.vb-promise-card .badge-soft {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.vb-promise-card h2 {
  font-weight: 800;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin: 0.85rem 0 0.7rem;
  color: #fff;
}
.vb-promise-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}
.vb-promise-points {
  display: grid;
  gap: 0.75rem;
}
.vb-promise-point {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font-weight: 600;
}
.vb-promise-point i {
  color: #8ee0c8;
  font-size: 1.15rem;
  margin-top: 0.1rem;
}
.vb-product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.25rem;
  height: 100%;
  text-decoration: none;
  color: var(--vb-text);
  box-shadow: var(--vb-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vb-product-card h5 {
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.vb-product-card p {
  color: var(--vb-muted);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}
.vb-product-card span {
  color: var(--vb-primary);
  font-weight: 700;
  font-size: 0.88rem;
}
.vb-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(70, 52, 255, 0.1);
  color: var(--vb-text);
}
.vb-quote-card {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  height: 100%;
  box-shadow: var(--vb-shadow);
}
.vb-quote-stars {
  color: #ffb300;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
}
.vb-quote-card p {
  font-weight: 600;
  color: #2b3050;
  margin-bottom: 1.1rem;
  line-height: 1.55;
}
.vb-quote-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vb-quote-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.vb-quote-person strong {
  display: block;
  font-size: 0.92rem;
}
.vb-quote-person span {
  color: var(--vb-muted);
  font-size: 0.78rem;
}

/* ===================== APP SHELL ===================== */
body.vb-app {
  background: var(--vb-bg);
}
.vb-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--vb-sidebar-width);
  height: 100vh;
  background: var(--vb-sidebar);
  color: #c9cde0;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
  overflow: hidden;
}
.vb-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1.1rem 1.25rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: var(--vb-topbar-height);
}
.vb-sidebar-brand img {
  height: 36px;
  width: auto;
}
.vb-sidebar-brand span {
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-sidebar-scroll {
  overflow-y: auto;
  padding: 1rem 0.85rem 2rem;
  flex: 1;
}
.vb-menu-caption {
  color: #6f7694;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 0.85rem 0.35rem;
}
.vb-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c9cde0;
  text-decoration: none;
  padding: 0.62rem 0.85rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.94rem;
  margin-bottom: 2px;
}
.vb-nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1.05rem;
}
.vb-nav-item:hover {
  background: var(--vb-sidebar-hover);
  color: #fff;
}
.vb-nav-item.active {
  background: var(--vb-sidebar-active);
  color: #fff;
  font-weight: 600;
}
.vb-nav-item.dropdown-toggle::after {
  margin-left: auto;
}
.vb-sidebar .dropdown-menu {
  background: #12162a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.4rem;
  min-width: 230px;
}
.vb-sidebar .dropdown-item {
  color: #c9cde0;
  border-radius: 6px;
  font-size: 0.9rem;
}
.vb-sidebar .dropdown-item:hover {
  background: var(--vb-primary);
  color: #fff;
}
.vb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 24, 0.5);
  z-index: 1035;
}
.vb-overlay.show { display: block; }

.vb-wrapper {
  margin-left: var(--vb-sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.25s ease;
}
.vb-topbar {
  height: var(--vb-topbar-height);
  background: #fff;
  border-bottom: 1px solid var(--vb-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.4rem;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.vb-page-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--vb-text);
}
.vb-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vb-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--vb-border);
  background: #fff;
  color: var(--vb-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
}
.vb-icon-btn:hover { color: var(--vb-primary); }
.vb-icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
}
.vb-user-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--vb-text);
  font-weight: 600;
  padding: 4px 8px 4px 4px;
  border-radius: 8px;
}
.vb-user-toggle img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.vb-main {
  padding: 1.5rem;
  flex: 1;
}
body.vb-public .vb-main,
body.vb-auth .vb-main {
  padding: 0;
}

/* Dashboard widgets */
.vb-widget {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius);
  box-shadow: var(--vb-shadow);
  padding: 1.15rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 108px;
}
.vb-widget-icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}
.vb-widget-icon.purple { background: #ecebff; color: #4634ff; }
.vb-widget-icon.green { background: #e8f8ef; color: #28c76f; }
.vb-widget-icon.blue { background: #e7f6fe; color: #1e9ff2; }
.vb-widget-icon.orange { background: #fff3e8; color: #ff9f43; }
.vb-widget-icon.red { background: #fdecec; color: #ea5455; }
.vb-widget-icon.cyan { background: #e6fbfe; color: #00cfe8; }
.vb-widget-icon.pink { background: #fdeef6; color: #e83e8c; }
.vb-widget-icon.gray { background: #eef0f6; color: #6c7293; }
.vb-widget .value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}
.vb-widget .label {
  color: var(--vb-muted);
  font-size: 0.9rem;
}
.vb-account-card {
  background: linear-gradient(135deg, #4634ff 0%, #1e9ff2 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(70, 52, 255, 0.28);
}
.vb-account-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -40px;
  right: -30px;
}
.vb-account-card .type {
  font-size: 0.92rem;
  opacity: 0.9;
}
.vb-account-card .amount {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0.7rem 0 1.1rem;
}
.vb-account-card .badge-acc {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-family: ui-monospace, monospace;
}
.vb-account-card .actions a {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.vb-account-card .actions a:hover { background: #fff; color: var(--vb-primary); }

.alert-link { font-weight: 700; }

/* Auth pages */
.vb-auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(23, 27, 45, 0.1);
  border: 1px solid var(--vb-border);
  padding: 2rem;
}
.vb-auth-card h1,
.vb-auth-card h2,
.vb-auth-card h3 {
  color: var(--vb-text);
}

/* Inner-page dark-theme compatibility */
body.vb-app .deposit-card,
body.vb-app .withdraw-card,
body.vb-app .account-card,
body.vb-app .transfer-card,
body.vb-app .dps-card,
body.vb-app .fdr-card,
body.vb-app .loan-card,
body.vb-app .loan-type-card,
body.vb-app .credit-score-card,
body.vb-app .referral-card,
body.vb-app .stats-card,
body.vb-app .notification-card,
body.vb-app .profile-card,
body.vb-app .security-card,
body.vb-app .payment-card,
body.vb-app .withdraw-details-card,
body.vb-app .recent-table,
body.vb-app .table-modern,
body.vb-app .balance-card,
body.vb-app .stat-card-large {
  background: #fff !important;
  color: var(--vb-text) !important;
  border: 1px solid var(--vb-border) !important;
  box-shadow: var(--vb-shadow) !important;
}
body.vb-app .balance-card {
  background: linear-gradient(135deg, #4634ff 0%, #1e9ff2 100%) !important;
  color: #fff !important;
  border: 0 !important;
}
body.vb-app .balance-card .balance-amount,
body.vb-app .balance-card .balance-label,
body.vb-app .balance-card .account-badge {
  color: #fff !important;
}
body.vb-app .deposit-label,
body.vb-app .withdraw-label,
body.vb-app .account-type,
body.vb-app .deposit-conversion,
body.vb-app .withdraw-conversion {
  color: var(--vb-primary) !important;
}
body.vb-app .deposit-summary-value,
body.vb-app .withdraw-summary-value,
body.vb-app .balance-amount,
body.vb-app .account-card .balance-amount {
  color: var(--vb-text) !important;
}
body.vb-app .deposit-summary-label,
body.vb-app .withdraw-summary-label {
  color: var(--vb-muted) !important;
}
body.vb-app .deposit-summary-row,
body.vb-app .withdraw-summary-row {
  border-bottom-color: var(--vb-border) !important;
}
body.vb-app .form-control.bg-dark,
body.vb-app .form-select.bg-dark,
body.vb-app .form-control,
body.vb-app .form-select,
body.vb-app .input-group-text {
  background: #fff !important;
  color: var(--vb-text) !important;
  border: 1px solid var(--vb-border) !important;
}
body.vb-app .table-modern th,
body.vb-app .table-modern td,
body.vb-app .recent-table th,
body.vb-app .recent-table td,
body.vb-app .table th,
body.vb-app .table td {
  background: transparent !important;
  color: var(--vb-text) !important;
  border-color: var(--vb-border) !important;
}
body.vb-app .table-modern thead th,
body.vb-app .recent-table th {
  background: #f8f9fd !important;
  color: var(--vb-muted) !important;
}
body.vb-app .stat-card-large {
  background: #fff !important;
  color: var(--vb-text) !important;
  min-height: 120px !important;
  border-radius: 10px !important;
}
body.vb-app .stat-card-large:hover {
  background: #f6f5ff !important;
  transform: translateY(-3px);
}
body.vb-app .text-white {
  color: var(--vb-text) !important;
}
body.vb-app .vb-sidebar .text-white,
body.vb-app .vb-account-card,
body.vb-app .vb-account-card *,
body.vb-app .balance-card,
body.vb-app .balance-card .text-white {
  color: #fff !important;
}
body.vb-app h1.text-white,
body.vb-app .content-no-sidebar > .container-fluid h1.text-white {
  color: var(--vb-text) !important;
}

/* Public inner pages */
body.vb-public .lead {
  color: var(--vb-muted);
}

/* Alerts */
.alert {
  border-radius: 8px;
  border: 0;
}

.vb-scheme-card {
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  padding: 1.7rem 1.4rem 1.4rem;
  height: 100%;
  box-shadow: var(--vb-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vb-scheme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(70, 52, 255, 0.12);
}
.vb-scheme-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.vb-scheme-card h5 {
  font-weight: 800;
  margin-bottom: 1.1rem;
  color: #161a33;
}
.vb-scheme-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.vb-scheme-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--vb-border);
  font-size: 0.92rem;
  color: var(--vb-muted);
}
.vb-scheme-card li:last-child {
  border-bottom: 0;
}
.vb-scheme-card li strong {
  color: var(--vb-primary);
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .vb-sidebar {
    transform: translateX(-100%);
  }
  .vb-sidebar.open {
    transform: translateX(0);
  }
  .vb-wrapper {
    margin-left: 0;
  }
  .vb-hero {
    min-height: 0;
    padding: 2.4rem 0 5.8rem;
    background-position: center;
    background-image:
      linear-gradient(180deg, rgba(8, 12, 28, 0.78) 0%, rgba(8, 12, 28, 0.7) 55%, rgba(8, 12, 28, 0.42) 100%),
      var(--vb-hero-image, linear-gradient(135deg, #171b2d, #4634ff));
  }
  .vb-hero::after {
    height: 70px;
  }
  .vb-main {
    padding: 1rem;
  }
}

@media (max-width: 767.98px) {
  .vb-public-header .navbar {
    padding: 0.55rem 0;
  }
  .vb-brand {
    font-size: 0.92rem;
    max-width: calc(100% - 56px);
  }
  .vb-brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .vb-brand img {
    height: 32px;
  }
  .vb-public-header .navbar-collapse {
    background: #fff;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid var(--vb-border);
    margin-top: 0.55rem;
  }
  .vb-header-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.85rem;
    gap: 0.5rem;
  }
  .vb-header-actions .form-select,
  .vb-header-actions .btn {
    width: 100%;
  }
  .vb-hero h1 {
    font-size: 1.78rem;
  }
  .vb-hero .lead {
    font-size: 0.98rem;
    margin-bottom: 1.15rem !important;
  }
  .vb-hero .vb-kicker {
    font-size: 0.68rem;
    padding: 0.32rem 0.7rem;
    max-width: 100%;
  }
  .vb-hero-actions {
    width: 100%;
  }
  .vb-hero-actions .btn {
    flex: 1 1 100%;
  }
  .vb-hero-trust {
    gap: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
  .vb-promise-card {
    padding: 1.35rem 1.1rem;
    margin-top: 1.15rem;
  }
  .vb-product-card {
    padding: 1.2rem 1.05rem 1.05rem;
  }
  .vb-stats {
    margin-top: -3.1rem;
  }
  .vb-stats-card {
    padding: 0.85rem 0.15rem;
  }
  .vb-stat-item {
    padding: 0.45rem 0.2rem;
  }
  .vb-stat-item .value {
    font-size: 1.05rem;
  }
  .vb-stat-item .label {
    font-size: 0.75rem;
  }
  .vb-section {
    padding: 2.8rem 0;
  }
  .vb-section-head {
    margin-bottom: 1.6rem;
  }
  .vb-section-head h2 {
    font-size: 1.5rem;
  }
  .vb-cta {
    padding: 2rem 1.15rem;
    border-radius: 16px;
  }
  .vb-footer {
    padding-top: 2.2rem;
  }
  .vb-footer h3 {
    font-size: 1.25rem;
  }
  .vb-newsletter-form .btn {
    min-height: 46px;
  }
  .vb-footer-bottom {
    text-align: center;
  }
  .vb-auth-card {
    padding: 1.4rem 1.1rem;
  }
  body.vb-auth .container.py-5,
  body.vb-public .container.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
  .table-responsive {
    width: 100%;
  }
  .vb-dash-hello {
    font-size: 1.55rem;
  }
  .vb-quick-action {
    padding: 0.95rem 0.7rem;
  }
  .vb-tx-head {
    padding: 0.85rem 0.95rem 0.75rem;
  }
  .vb-tx-row {
    padding: 0.65rem 0.95rem;
    gap: 0.6rem;
  }
  .vb-tx-detail {
    display: none;
  }
}

body.vb-app .card-dark.d-flex.flex-row {
  gap: 0.75rem;
}
body.vb-app .card-dark .fs-1 {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--vb-primary-soft);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem !important;
  flex-shrink: 0;
}
body.vb-app .card-dark .btn-sm {
  white-space: nowrap;
}

/* Client dashboard extras */
.vb-dash-hero {
  background: linear-gradient(135deg, #171b2d 0%, #3426d9 55%, #1e9ff2 140%);
  color: #fff;
  border-radius: 18px;
  padding: 1.7rem 1.6rem;
  overflow: hidden;
  position: relative;
}
.vb-dash-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -40px;
  top: -50px;
}
.vb-dash-hero .vb-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.vb-dash-hello {
  font-weight: 800;
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}
.vb-dash-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}
.vb-dash-total {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  position: relative;
  z-index: 1;
}
.vb-dash-total .label,
.vb-dash-total .hint {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}
.vb-dash-total .value {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0.2rem 0;
}
.vb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.vb-chip.success { background: rgba(40, 199, 111, 0.22); }
.vb-chip.warning { background: rgba(255, 159, 67, 0.28); }
a.vb-chip:hover { color: #fff; }
.vb-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: 14px;
  padding: 1.05rem 0.75rem;
  text-decoration: none;
  color: var(--vb-text);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--vb-shadow);
  height: 100%;
  min-height: 92px;
}
.vb-quick-action i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--vb-primary-soft);
  color: var(--vb-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.vb-quick-action:hover {
  color: var(--vb-primary);
  border-color: #d7d4ff;
  transform: translateY(-2px);
}
.vb-account-card.savings {
  background: linear-gradient(135deg, #0f9b8e 0%, #1e9ff2 100%);
}
.vb-account-card.checking {
  background: linear-gradient(135deg, #4634ff 0%, #7367f0 100%);
}
.vb-offer-card {
  display: block;
  background: #fff;
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  padding: 1.35rem 1.3rem;
  height: 100%;
  text-decoration: none;
  color: var(--vb-text);
  box-shadow: var(--vb-shadow);
}
.vb-offer-card h5 {
  font-weight: 800;
  margin: 0.7rem 0 0.45rem;
}
.vb-offer-card p {
  color: var(--vb-muted);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}
.vb-offer-card .link {
  color: var(--vb-primary);
  font-weight: 700;
  font-size: 0.9rem;
}
.vb-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(70, 52, 255, 0.1);
  color: var(--vb-text);
}
.vb-referral-box {
  background: linear-gradient(180deg, #f7f6ff 0%, #fff 40%);
}
.vb-tx-card {
  overflow: hidden;
}
.vb-tx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--vb-border);
}
.vb-tx-head h5 {
  margin: 0;
  font-weight: 800;
  font-size: 1.02rem;
}
.vb-tx-head p {
  margin: 0.15rem 0 0;
  color: var(--vb-muted);
  font-size: 0.78rem;
}
.vb-tx-head a {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.vb-tx-list {
  display: flex;
  flex-direction: column;
}
.vb-tx-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 1.15rem;
  border-bottom: 1px solid #eef0f6;
}
.vb-tx-row:last-child {
  border-bottom: 0;
}
.vb-tx-row:hover {
  background: #f8f9fd;
}
.vb-tx-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.vb-tx-icon.in { background: #e8f8ef; color: #28c76f; }
.vb-tx-icon.out { background: #fdecec; color: #ea5455; }
.vb-tx-icon.xfer { background: #ecebff; color: #4634ff; }
.vb-tx-icon.loan { background: #fff3e8; color: #ff9f43; }
.vb-tx-icon.save { background: #e6fbfe; color: #00cfe8; }
.vb-tx-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}
.vb-tx-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
}
.vb-tx-meta,
.vb-tx-detail {
  color: var(--vb-muted);
  font-size: 0.74rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-tx-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.18rem;
  flex-shrink: 0;
}
.vb-tx-amount {
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
}
.vb-tx-amount.in { color: #28c76f; }
.vb-tx-amount.out { color: #ea5455; }
.vb-tx-amount.xfer,
.vb-tx-amount.loan,
.vb-tx-amount.save { color: var(--vb-text); }
.vb-tx-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  line-height: 1.2;
}
.vb-tx-status.done { background: #e8f8ef; color: #1f9d57; }
.vb-tx-status.pending { background: #fff3e8; color: #d97706; }
.vb-tx-status.failed { background: #fdecec; color: #ea5455; }
.vb-tx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.6rem 1rem;
  color: var(--vb-muted);
}
.vb-tx-empty i {
  font-size: 1.45rem;
  color: #b8bdd3;
}
.vb-tx-empty strong {
  color: var(--vb-text);
  font-size: 0.95rem;
}
.vb-tx-empty span {
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}
