/* ============================================================
   DaytraderAI — Beautiful Mobile App Redesign
   Modern Design System | Version 2.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --dt-primary: #4361ee;
  --dt-primary-light: #7b8ff5;
  --dt-primary-dark: #2d4acb;
  --dt-primary-rgb: 67, 97, 238;
  --dt-secondary: #7c3aed;
  --dt-success: #10b981;
  --dt-warning: #f59e0b;
  --dt-danger: #ef4444;
  --dt-info: #06b6d4;
  --dt-orange: #f97316;

  /* Gradients */
  --g-primary: linear-gradient(135deg, #4361ee 0%, #7c3aed 100%);
  --g-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --g-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --g-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --g-info: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  --g-purple: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  --g-orange: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --g-dark: linear-gradient(135deg, #1a1f3c 0%, #2d3561 100%);

  /* Backgrounds */
  --dt-bg: #f0f4ff;
  --dt-card-bg: #ffffff;
  --dt-sidebar-bg: #0f1535;
  --dt-sidebar-text: rgba(255,255,255,0.8);

  /* Typography */
  --dt-font: 'Inter', 'Open Sans', system-ui, sans-serif;
  --dt-font-h: 'Poppins', 'Noto Sans', system-ui, sans-serif;

  /* Shadows */
  --sh-xs: 0 1px 4px rgba(67,97,238,0.06);
  --sh-sm: 0 2px 10px rgba(67,97,238,0.1);
  --sh-md: 0 4px 24px rgba(67,97,238,0.14);
  --sh-lg: 0 8px 40px rgba(67,97,238,0.2);
  --sh-card: 0 2px 16px rgba(0,0,0,0.07);

  /* Border Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Transition */
  --ease: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   2. BASE RESET & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--dt-font) !important;
  background-color: var(--dt-bg) !important;
  color: #1a1f3c !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dt-font-h) !important;
  letter-spacing: -0.3px;
}

a {
  text-decoration: none !important;
}

/* ============================================================
   3. PAGE LOADER — Beautiful Brand Splash
   ============================================================ */
.loader-wrap {
  background: linear-gradient(145deg, #0f1535 0%, #1a1f3c 40%, #4361ee 100%) !important;
  z-index: 9999 !important;
}

.loader-wrap h2 {
  color: #ffffff !important;
  font-family: var(--dt-font-h) !important;
  font-weight: 800 !important;
  font-size: 2rem !important;
  letter-spacing: -1px !important;
}

.loader-wrap h2 b {
  color: #7b8ff5 !important;
}

.loader-wrap .text-secondary {
  color: rgba(255,255,255,0.5) !important;
}

.loader-wrap .text-gradient {
  background: linear-gradient(135deg, #f59e0b, #ef4444, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.logo-square {
  border-radius: var(--r-xl) !important;
  background: rgba(255,255,255,0.08) !important;
  box-shadow: 0 20px 60px rgba(67,97,238,0.35), 0 0 0 1px rgba(255,255,255,0.1) !important;
}

/* Dots loader enhanced */
.dotslaoder > div {
  background: rgba(255,255,255,0.7) !important;
}

/* ============================================================
   4. HEADER / NAVBAR
   ============================================================ */
.header .navbar,
nav.navbar.fixed-top {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(67,97,238,0.08) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05) !important;
  padding: 8px 16px !important;
}

.menu-btn {
  width: 40px !important;
  height: 40px !important;
  background: var(--dt-bg) !important;
  border-radius: var(--r-md) !important;
  border: 1px solid rgba(67,97,238,0.1) !important;
  color: #1a1f3c !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: var(--ease) !important;
}

.menu-btn:hover {
  background: var(--dt-primary) !important;
  color: #fff !important;
  border-color: var(--dt-primary) !important;
  box-shadow: var(--sh-sm) !important;
}

.menu-btn .bi { font-size: 1.3rem !important; }

/* User avatar in header */
.avatar.avatar-30.rounded-circle {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}

/* ============================================================
   5. SIDEBAR — Dark Sleek Design
   ============================================================ */
.sidebar-wrap .sidebar {
  background: var(--dt-sidebar-bg) !important;
  border-right: 1px solid rgba(255,255,255,0.05) !important;
  box-shadow: 4px 0 30px rgba(0,0,0,0.3) !important;
}

/* Sidebar logo area */
.sidebar-wrap .sidebar .container > .row:first-child {
  padding: 16px 4px 8px 4px !important;
}

/* Section headings */
.sidebar-wrap .sidebar h6 {
  color: rgba(255,255,255,0.3) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  padding: 0 12px !important;
  margin-bottom: 6px !important;
  margin-top: 8px !important;
}

/* Nav links */
.sidebar-wrap .sidebar .nav.nav-pills .nav-item .nav-link,
.sidebar-wrap .sidebar .nav.nav-pills.nav-iconic .nav-item .nav-link {
  color: var(--dt-sidebar-text) !important;
  border-radius: var(--r-md) !important;
  margin-bottom: 3px !important;
  padding: 10px 14px !important;
  transition: var(--ease) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Icon containers in sidebar */
.sidebar-wrap .sidebar .nav .nav-item .nav-link .avatar.icon {
  background: rgba(255,255,255,0.07) !important;
  border-radius: 10px !important;
  color: rgba(255,255,255,0.6) !important;
  flex-shrink: 0 !important;
  transition: var(--ease) !important;
}

/* Active and hover states */
.sidebar-wrap .sidebar .nav .nav-item .nav-link.active,
.sidebar-wrap .sidebar .nav .nav-item .nav-link:hover {
  background: linear-gradient(135deg, rgba(67,97,238,0.85) 0%, rgba(124,58,237,0.85) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(67,97,238,0.3) !important;
}

.sidebar-wrap .sidebar .nav .nav-item .nav-link.active .avatar.icon,
.sidebar-wrap .sidebar .nav .nav-item .nav-link:hover .avatar.icon {
  background: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
}

/* Sidebar user info */
#usernamedisplay, #usernamedisplay1 {
  font-family: var(--dt-font-h) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

#lblloginId, #lblloginId1 {
  color: rgba(255,255,255,0.5) !important;
  font-size: 12px !important;
}

/* ============================================================
   6. MAIN CONTENT AREA
   ============================================================ */
.main.mainheight {
  background: var(--dt-bg) !important;
}

/* ============================================================
   7. CARDS — Modern Rounded Design
   ============================================================ */
.card {
  border-radius: var(--r-lg) !important;
  border: none !important;
  box-shadow: var(--sh-card) !important;
  background: var(--dt-card-bg) !important;
  transition: var(--ease) !important;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--sh-md) !important;
}

.card-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  padding: 16px 20px !important;
  font-family: var(--dt-font-h) !important;
}

.card-body {
  padding: 20px !important;
}

.card-footer {
  background: transparent !important;
  border-top: 1px solid rgba(0,0,0,0.05) !important;
  padding: 14px 20px !important;
}

/* Themed gradient cards */
.card.bg-gradient-theme-light.theme-green {
  background: linear-gradient(150deg, #f0fdf4 0%, #d1fae5 100%) !important;
  border-left: 3px solid var(--dt-success) !important;
  box-shadow: 0 4px 20px rgba(16,185,129,0.1) !important;
}

.card.bg-gradient-theme-light.theme-yellow {
  background: linear-gradient(150deg, #fffbeb 0%, #fef3c7 100%) !important;
  border-left: 3px solid var(--dt-warning) !important;
  box-shadow: 0 4px 20px rgba(245,158,11,0.1) !important;
}

.card.bg-gradient-theme-light.theme-red {
  background: linear-gradient(150deg, #fff1f2 0%, #ffe4e6 100%) !important;
  border-left: 3px solid var(--dt-danger) !important;
  box-shadow: 0 4px 20px rgba(239,68,68,0.1) !important;
}

/* ============================================================
   8. INCOME SUMMARY STAT CARDS
   ============================================================ */
/* Per-card gradient badges */
.avatar.bg-blue {
  background: var(--g-primary) !important;
  box-shadow: 0 8px 20px rgba(67,97,238,0.35) !important;
  border-radius: var(--r-md) !important;
}

.avatar.bg-yellow {
  background: var(--g-warning) !important;
  box-shadow: 0 8px 20px rgba(245,158,11,0.35) !important;
  border-radius: var(--r-md) !important;
}

.avatar.bg-green {
  background: var(--g-success) !important;
  box-shadow: 0 8px 20px rgba(16,185,129,0.35) !important;
  border-radius: var(--r-md) !important;
}

.avatar.bg-orange {
  background: var(--g-orange) !important;
  box-shadow: 0 8px 20px rgba(249,115,22,0.35) !important;
  border-radius: var(--r-md) !important;
}

.avatar.bg-red, .avatar.bg-light-red {
  background: var(--g-danger) !important;
  box-shadow: 0 8px 20px rgba(239,68,68,0.35) !important;
  border-radius: var(--r-md) !important;
}

/* bg-radial-gradient overrides */
.bg-radial-gradient.theme-yellow {
  background: var(--g-warning) !important;
  border-radius: var(--r-md) !important;
}

.bg-radial-gradient.theme-teal {
  background: var(--g-success) !important;
  border-radius: var(--r-md) !important;
}

/* ============================================================
   9. WELCOME / HERO SECTION
   ============================================================ */
/* Dashboard hero */
.col-12.col-md-7.py-3 h2.fw-light {
  color: #6b7280 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
}

#userid {
  font-family: var(--dt-font-h) !important;
  font-weight: 900 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  color: #ffffff !important;
  font-size: clamp(1.5rem, 5vw, 2.4rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 12px !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35) !important;
}

.swiper.dailyquote .text-gradient {
  background: var(--g-primary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
}

/* Team stats row circles */
.col-md-5 .avatar.avatar-50.rounded-circle {
  width: 48px !important;
  height: 48px !important;
  font-size: 1.2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ============================================================
   10. BUTTONS
   ============================================================ */
.btn {
  border-radius: var(--r-full) !important;
  font-family: var(--dt-font) !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  transition: var(--ease) !important;
}

.btn-theme,
a.btn-theme {
  background: var(--g-primary) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(67,97,238,0.35) !important;
}

.btn-theme:hover,
a.btn-theme:hover {
  background: linear-gradient(135deg, #2d4acb 0%, #5b21b6 100%) !important;
  box-shadow: 0 6px 24px rgba(67,97,238,0.5) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.btn-outline-theme,
.btn-outline-primary,
a.btn-outline-theme {
  border: 2px solid var(--dt-primary) !important;
  color: var(--dt-primary) !important;
  background: transparent !important;
}

.btn-outline-theme:hover,
.btn-outline-primary:hover,
a.btn-outline-theme:hover {
  background: var(--g-primary) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: var(--sh-md) !important;
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.6) !important;
  color: #ffffff !important;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
}

.btn-primary {
  background: var(--g-primary) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(67,97,238,0.3) !important;
}

.btn-lg {
  padding: 14px 32px !important;
  font-size: 16px !important;
}

.btn-sm {
  padding: 6px 16px !important;
  font-size: 13px !important;
}

/* ============================================================
   11. FORM ELEMENTS
   ============================================================ */
.form-control {
  border-radius: var(--r-md) !important;
  border: 1.5px solid rgba(67,97,238,0.15) !important;
  font-size: 14px !important;
  transition: var(--ease) !important;
  background: #ffffff !important;
  color: #1a1f3c !important;
}

.form-control:focus {
  border-color: var(--dt-primary) !important;
  box-shadow: 0 0 0 3px rgba(67,97,238,0.12) !important;
  background: #ffffff !important;
}

.input-group .input-group-text {
  background: #f8faff !important;
  border: 1.5px solid rgba(67,97,238,0.15) !important;
  border-right: none !important;
  color: var(--dt-primary) !important;
  border-radius: var(--r-md) 0 0 var(--r-md) !important;
  font-size: 1.1rem !important;
}

.input-group .form-control {
  border-left: none !important;
  border-radius: 0 var(--r-md) var(--r-md) 0 !important;
}

.input-group .form-floating .form-control {
  border-left: none !important;
  border-radius: 0 var(--r-md) var(--r-md) 0 !important;
}

.form-floating > label {
  color: #9ca3af !important;
  font-size: 13px !important;
}

/* ============================================================
   12. BOTTOM NAVIGATION — Tab Bar
   ============================================================ */
.footer-sticky {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid rgba(67,97,238,0.08) !important;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08) !important;
  border-radius: 20px 20px 0 0 !important;
  padding: 6px 0 !important;
}

.footer-sticky .nav .nav-item .nav-link {
  color: #94a3b8 !important;
  padding: 6px 4px 4px !important;
  border-radius: var(--r-sm) !important;
  transition: var(--ease) !important;
  text-align: center !important;
}

.footer-sticky .nav .nav-item .nav-link:hover {
  color: var(--dt-primary) !important;
}

.footer-sticky .nav .nav-item .nav-link .nav-icon {
  font-size: 1.35rem !important;
  display: block !important;
  line-height: 1.2 !important;
  margin-bottom: 2px !important;
}

.footer-sticky .nav .nav-item .nav-link .nav-text {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  display: block !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

/* Center home button */
.footer-sticky .nav-item.centerbutton .nav-link span {
  width: 54px !important;
  height: 54px !important;
  background: var(--g-primary) !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 1.4rem !important;
  box-shadow: 0 8px 24px rgba(67,97,238,0.4), 0 0 0 4px rgba(67,97,238,0.1) !important;
  margin: -16px auto 4px !important;
  transition: var(--ease) !important;
}

.footer-sticky .nav-item.centerbutton .nav-link:hover span {
  transform: scale(1.08) !important;
  box-shadow: 0 12px 30px rgba(67,97,238,0.5) !important;
}

/* ============================================================
   13. TABLES — Clean Modern Look
   ============================================================ */
.table {
  border-radius: var(--r-md) !important;
  overflow: hidden !important;
  margin-bottom: 0 !important;
}

.table thead th {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%) !important;
  color: var(--dt-primary) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  border-bottom: 2px solid rgba(67,97,238,0.15) !important;
  padding: 13px 14px !important;
  white-space: nowrap !important;
}

.table tbody td {
  padding: 12px 14px !important;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  font-size: 13.5px !important;
  vertical-align: middle !important;
  color: #374151 !important;
}

.table tbody tr:last-child td {
  border-bottom: none !important;
}

.table tbody tr:hover td {
  background: rgba(67,97,238,0.03) !important;
}

.table-responsive {
  border-radius: var(--r-md) !important;
  overflow: hidden !important;
}

/* GridView pager */
.gridpagerstyle span {
  background: var(--dt-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: var(--sh-xs) !important;
}

.gridpagerstyle a {
  background: #fff !important;
  color: var(--dt-primary) !important;
  border: 1.5px solid rgba(67,97,238,0.2) !important;
  border-radius: 8px !important;
}

.gridpagerstyle a:hover {
  background: var(--dt-primary) !important;
  color: #fff !important;
  border-color: var(--dt-primary) !important;
}

/* ============================================================
   14. ALERTS
   ============================================================ */
.alert {
  border-radius: var(--r-md) !important;
  border: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

.alert-success {
  background: linear-gradient(135deg, #f0fdf4, #d1fae5) !important;
  color: #065f46 !important;
  border-left: 4px solid var(--dt-success) !important;
}

.alert-danger, .alert-error {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6) !important;
  color: #991b1b !important;
  border-left: 4px solid var(--dt-danger) !important;
}

.alert-warning {
  background: linear-gradient(135deg, #fffbeb, #fef3c7) !important;
  color: #78350f !important;
  border-left: 4px solid var(--dt-warning) !important;
}

.alert-info {
  background: linear-gradient(135deg, #ecfeff, #cffafe) !important;
  color: #0e7490 !important;
  border-left: 4px solid var(--dt-info) !important;
}

/* ============================================================
   15. DROPDOWN MENUS
   ============================================================ */
.dropdown-menu {
  border: none !important;
  border-radius: var(--r-lg) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.04) !important;
  padding: 8px !important;
  background: #fff !important;
}

.dropdown-item {
  border-radius: var(--r-sm) !important;
  padding: 10px 14px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: var(--ease) !important;
  color: #374151 !important;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: var(--dt-bg) !important;
  color: var(--dt-primary) !important;
}

/* ============================================================
   16. PROGRESS BARS
   ============================================================ */
.progress {
  border-radius: var(--r-full) !important;
  background: rgba(67,97,238,0.08) !important;
  overflow: hidden;
}

.progress-bar {
  border-radius: var(--r-full) !important;
  transition: width 1s ease !important;
}

.progress-bar.bg-green {
  background: var(--g-success) !important;
}

.progress-bar.bg-light-red {
  background: var(--g-danger) !important;
}

/* ============================================================
   17. AVATAR
   ============================================================ */
.avatar {
  border-radius: var(--r-sm) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.avatar.rounded-circle {
  border-radius: 50% !important;
}

/* Light theme avatar */
.bg-light-theme {
  background: rgba(67,97,238,0.1) !important;
}

/* ============================================================
   18. AUTH PAGE BACKGROUND (login / register / index)
   ============================================================ */
.coverimg .overlay {
  background: linear-gradient(145deg,
    rgba(15, 21, 53, 0.88) 0%,
    rgba(67, 97, 238, 0.72) 50%,
    rgba(124, 58, 237, 0.65) 100%) !important;
}

/* Auth form glass container */
.col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3 {
  position: relative;
}

/* Glass card behind forms on auth pages */
.col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3.text-center.text-white {
  background: rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: var(--r-xl) !important;
  padding: 32px 28px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1) !important;
}

/* Input fields on auth pages */
.col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3 .input-group .input-group-text {
  background: rgba(255,255,255,0.85) !important;
  border: none !important;
}

.col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3 .form-control {
  background: rgba(255,255,255,0.9) !important;
  border: none !important;
  color: #1a1f3c !important;
}

.col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3 .form-control:focus {
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(67,97,238,0.25) !important;
}

/* Auth page titles */
.col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3.text-center.text-white h3 {
  font-family: var(--dt-font-h) !important;
  font-weight: 800 !important;
  font-size: 1.8rem !important;
  letter-spacing: -0.5px !important;
}

/* Sign in/up buttons on auth pages */
.col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3.mt-auto.mb-4.text-center.d-grid {
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: var(--r-xl) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  padding: 24px 28px !important;
}

/* Auth page swiper */
.swiper.introSwiper .swiper-slide h2 {
  font-family: var(--dt-font-h) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.swiper.introSwiper .swiper-slide .avatar.bi {
  background: rgba(255,255,255,0.15) !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
}

/* ============================================================
   19. TEXT UTILITIES
   ============================================================ */
.text-theme { color: var(--dt-primary) !important; }
.text-gradient {
  background: var(--g-primary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
}

/* ============================================================
   20. BACKGROUND UTILITIES
   ============================================================ */
.bg-radial-gradient-theme,
.bg-theme {
  background: var(--g-primary) !important;
}

.bg-blue { background: var(--g-primary) !important; }
.bg-yellow { background: var(--g-warning) !important; }
.bg-green { background: var(--g-success) !important; }
.bg-orange { background: var(--g-orange) !important; }
.bg-red { background: var(--g-danger) !important; }
.bg-light-red { background: var(--g-danger) !important; }
.bg-light-yellow { background: rgba(245,158,11,0.12) !important; }
.bg-light-theme { background: rgba(67,97,238,0.08) !important; }

/* ============================================================
   21. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(67,97,238,0.25); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--dt-primary); }

/* ============================================================
   22. ANIMATION
   ============================================================ */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(67,97,238,0.4); }
  50% { box-shadow: 0 8px 40px rgba(67,97,238,0.7); }
}

.card {
  animation: slideInUp 0.35s ease both;
}
.card:nth-child(2) { animation-delay: 0.07s; }
.card:nth-child(3) { animation-delay: 0.14s; }
.card:nth-child(4) { animation-delay: 0.21s; }
.card:nth-child(5) { animation-delay: 0.28s; }
.card:nth-child(6) { animation-delay: 0.35s; }

.footer-sticky .nav-item.centerbutton .nav-link span {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ============================================================
   23. SECTION HEADINGS IN DASHBOARD
   ============================================================ */
.row.mb-4.py-2 .col.text-center h4 {
  font-family: var(--dt-font-h) !important;
  font-weight: 700 !important;
  color: #1a1f3c !important;
  font-size: 1.3rem !important;
}

.row.mb-4.py-2 .col.text-center p.text-secondary {
  color: #6b7280 !important;
  font-size: 14px !important;
}

/* ============================================================
   24. RESPONSIVE MOBILE TOUCH-UPS
   ============================================================ */
@media (max-width: 576px) {
  .card-body { padding: 16px !important; }
  .card-header { padding: 14px 16px !important; }

  .btn-lg {
    padding: 12px 24px !important;
    font-size: 15px !important;
  }

  .col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3.text-center.text-white {
    padding: 24px 16px !important;
  }

  .col-12.col-sm-8.col-md-6.col-lg-5.col-xl-4.col-xxl-3.mt-auto.mb-4.text-center.d-grid {
    padding: 16px !important;
  }

  .footer-sticky .nav-item.centerbutton .nav-link span {
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 375px) {
  .footer-sticky .nav-link .nav-text { display: none !important; }
  .footer-sticky .nav-link .nav-icon { font-size: 1.5rem !important; margin-bottom: 0 !important; }
}

/* ============================================================
   25. SWIPER DOTS
   ============================================================ */
.swiper-pagination-bullet { background: rgba(255,255,255,0.5) !important; }
.swiper-pagination-bullet-active { background: #ffffff !important; }

/* ============================================================
   26. SMALL CHART CONTAINER
   ============================================================ */
.smallchart {
  border-radius: var(--r-md) !important;
  overflow: hidden;
}

/* ============================================================
   27. INCR COUNT NUMBERS
   ============================================================ */
.increamentcount {
  font-family: var(--dt-font-h) !important;
  font-weight: 800 !important;
  color: #1a1f3c !important;
  letter-spacing: -0.5px !important;
}

/* ============================================================
   28. SIDEBAR USER PHOTO
   ============================================================ */
.avatar.avatar-90.rounded-circle.coverimg,
.avatar.avatar-100.rounded-circle {
  border: 3px solid rgba(255,255,255,0.2) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}

/* ============================================================
   29. QUICK INCOME CARD LABELS
   ============================================================ */
.col.text-center .small.text-secondary {
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #6b7280 !important;
}

/* ============================================================
   30. BEAUTIFUL HEADER H6 IN CARDS
   ============================================================ */
.card-header h6.fw-medium {
  font-family: var(--dt-font-h) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #1a1f3c !important;
}

/* ============================================================
   31. TAG / BADGE STYLES
   ============================================================ */
.tag {
  background: var(--dt-bg) !important;
  color: #374151 !important;
  border-radius: var(--r-full) !important;
  padding: 4px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* ============================================================
   32. WELCOME INVITE LINK STYLE
   ============================================================ */
#spName {
  color: #10b981 !important;
  font-weight: 700 !important;
  font-family: var(--dt-font-h) !important;
  font-size: 15px !important;
}

/* ============================================================
   33. GRID IMPROVEMENTS FOR DASHBOARD SUMMARY
   ============================================================ */
/* Income cards get beautiful consistent styling */
.col-6.col-md-6.col-lg-6.col-xxl-4 .card-body {
  padding: 16px !important;
}

.col-6.col-md-6.col-lg-6.col-xxl-4 .card-body p.text-secondary.small.mb-1 {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #6b7280 !important;
}

.col-6.col-md-6.col-lg-6.col-xxl-4 .card-body h5.fw-medium {
  font-family: var(--dt-font-h) !important;
  font-weight: 800 !important;
  color: #1a1f3c !important;
  font-size: 1.05rem !important;
}

/* ============================================================
   34. BALANCE SECTION IN ACCOUNTS CARD
   ============================================================ */
#mybalance, #mypocketbalance {
  font-family: var(--dt-font-h) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  font-size: 1.25rem !important;
}

/* ============================================================
   35. INVESTMENT STATS
   ============================================================ */
.rounded.bg-green.text-white.p-3 {
  border-radius: var(--r-md) !important;
  background: var(--g-success) !important;
}

.rounded.bg-light-red.text-dark.p-3 {
  border-radius: var(--r-md) !important;
  background: var(--g-danger) !important;
  color: #fff !important;
}

/* ============================================================
   36. FIGURE/IMAGE COVER
   ============================================================ */
figure.coverimg.rounded {
  border-radius: var(--r-lg) !important;
  overflow: hidden !important;
}

/* ============================================================
   37. SIGN IN / SIGN UP BUTTON AREA OVERRIDE
   ============================================================ */
.btn.btn-lg.btn-theme.z-index-5 {
  background: var(--g-primary) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(67,97,238,0.4) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  transition: var(--ease) !important;
}

.btn.btn-lg.btn-theme.z-index-5:hover {
  background: linear-gradient(135deg, #2d4acb, #5b21b6) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(67,97,238,0.55) !important;
}

/* ============================================================
   38. CLOSE BUTTON IN SIDEBAR
   ============================================================ */
.sidebar-wrap .sidebar .btn-close,
.closebutton {
  background: rgba(255,255,255,0.1) !important;
  border-radius: 50% !important;
  color: rgba(255,255,255,0.8) !important;
}

/* ============================================================
   39. TEMP / CLOCK DISPLAY ON AUTH PAGES
   ============================================================ */
.display-3.mb-0, .display-5.mb-0 {
  font-family: var(--dt-font-h) !important;
  font-weight: 300 !important;
  color: rgba(255,255,255,0.9) !important;
}

/* ============================================================
   40. OVERALL POLISH — MISC
   ============================================================ */
/* Remove border radius from BS form-control inside input-group (handled above) */
.input-group > .form-floating:not(:last-child) > .form-control {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* myTotalIncome is inside a dark hero — keep white */
#myTotalIncome {
  font-family: var(--dt-font-h) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  font-size: 1rem !important;
}

/* Background image wrapper with better overlay depth */
#image-daytime {
  z-index: -1 !important;
}

/* Ensure footer is above content */
.footer-sticky {
  z-index: 100 !important;
}

/* Header z-index */
.header .navbar,
nav.navbar.fixed-top {
  z-index: 200 !important;
}

/* Sidebar z-index */
.sidebar-wrap {
  z-index: 300 !important;
}

/* Loader z-index */
.loader-wrap {
  z-index: 9999 !important;
}

/* ============================================================
   41. CRITICAL TABLE VISIBILITY FIX
   Forces white background + dark readable text on ALL tables
   ============================================================ */

/* Override Bootstrap 5 CSS variables for tables */
.table {
  --bs-table-bg: #ffffff !important;
  --bs-table-color: #1a1f3c !important;
  --bs-table-border-color: rgba(0,0,0,0.07) !important;
  --bs-table-striped-bg: #f8faff !important;
  --bs-table-striped-color: #1a1f3c !important;
  --bs-table-hover-bg: rgba(67,97,238,0.04) !important;
  --bs-table-hover-color: #1a1f3c !important;
  --bs-table-active-bg: rgba(67,97,238,0.06) !important;
  --bs-table-active-color: #1a1f3c !important;
}

/* Direct element overrides — catches inline styles and specificity battles */
table,
.table,
table.table,
div.table-responsive table,
.card-body table,
.card-body .table {
  background-color: #ffffff !important;
  color: #1a1f3c !important;
}

table thead,
.table thead,
table thead tr,
.table thead tr {
  background-color: transparent !important;
}

table thead tr th,
table thead th,
.table thead tr th,
.table thead th,
.table > thead > tr > th {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%) !important;
  color: var(--dt-primary) !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.7px !important;
  border-bottom: 2px solid rgba(67,97,238,0.15) !important;
  padding: 13px 14px !important;
  white-space: nowrap !important;
}

table tbody tr,
.table tbody tr,
.table > tbody > tr {
  background-color: #ffffff !important;
  color: #374151 !important;
}

table tbody tr td,
table tbody td,
.table tbody td,
.table > tbody > tr > td {
  background-color: #ffffff !important;
  color: #374151 !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  padding: 12px 14px !important;
  font-size: 13.5px !important;
  vertical-align: middle !important;
}

table tbody tr:hover td,
.table tbody tr:hover td,
.table > tbody > tr:hover > td {
  background-color: rgba(67,97,238,0.04) !important;
  color: #1a1f3c !important;
}

table tbody tr:last-child td,
.table tbody tr:last-child td {
  border-bottom: none !important;
}

/* ASP.NET GridView specific — overrides ForeColor attributes */
.table-bordered td,
.table-bordered th {
  border: 1px solid rgba(0,0,0,0.07) !important;
}

/* Table inside card-body */
.card-body .table-responsive,
.card .table-responsive {
  border-radius: var(--r-md) !important;
  overflow: hidden !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
}

/* ============================================================
   42. CARD BACKGROUND — always white/light
   ============================================================ */
.card,
.card-body,
.card-header,
.card-footer {
  background-color: #ffffff !important;
  color: #1a1f3c !important;
}

/* Exception: themed gradient cards keep their backgrounds */
.card.bg-gradient-theme-light.theme-green,
.card.bg-gradient-theme-light.theme-yellow,
.card.bg-gradient-theme-light.theme-red {
  background-color: unset !important;
}

/* ============================================================
   43. GENERAL TEXT VISIBILITY
   Forces readable text everywhere in main content
   ============================================================ */
.main.mainheight,
.main.mainheight p,
.main.mainheight span,
.main.mainheight label,
.main.mainheight h1,
.main.mainheight h2,
.main.mainheight h3,
.main.mainheight h4,
.main.mainheight h5,
.main.mainheight h6,
.main.mainheight li,
.main.mainheight div {
  color: inherit;
}

/* Explicit dark-on-light for content area */
.card-body h5,
.card-body h6,
.card-body p,
.card-body span,
.card-body label {
  color: #1a1f3c !important;
}

.card-body p.text-secondary,
.card-body span.text-secondary,
.text-secondary {
  color: #6b7280 !important;
}

/* Page title/heading inside card */
.card-body h5.title,
.card-body .title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  color: #1a1f3c !important;
  font-size: 1.1rem !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid rgba(67,97,238,0.12) !important;
}

/* ============================================================
   44. LABEL / ASPNET LABEL TEXT
   ============================================================ */
span[id*="lbl"],
label {
  color: #374151 !important;
}

/* Green labels (positive amounts) */
span[style*="color:Green"],
span[style*="color: Green"],
span[style*="color:#"],
label[style*="Green"] {
  color: #10b981 !important;
}

/* ============================================================
   45. PAGE HEADING SECTION (card-header h6)
   ============================================================ */
.card-header h6 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #6b7280 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 0 !important;
}

/* ============================================================
   46. DARK-MODE COMPLETE OVERRIDE
   The template has dark-mode cookie support. This section
   forces all content areas back to readable light styling.
   ============================================================ */

/* Reset dark-mode CSS variables for content area */
.dark-mode,
html.dark-mode body,
html.dark-mode .main {
  --adminux-theme-text: #1a1f3c !important;
  --adminux-theme-text-secondary: #6b7280 !important;
  --adminux-theme-bg: #f0f4ff !important;
  --adminux-theme-bg-2: #ffffff !important;
  --adminux-formelement-bg: #ffffff !important;
  --adminux-border-color: rgba(0,0,0,0.08) !important;
  --adminux-header-text: #1a1f3c !important;
  --bs-body-color: #1a1f3c !important;
  --bs-body-bg: #f0f4ff !important;
  --bs-table-color: #374151 !important;
  --bs-table-bg: #ffffff !important;
  --bs-table-border-color: rgba(0,0,0,0.06) !important;
  --bs-table-striped-color: #374151 !important;
  --bs-table-hover-color: #1a1f3c !important;
}

/* Body & main background in dark mode */
html.dark-mode body,
html.dark-mode .main.mainheight {
  background-color: #f0f4ff !important;
  color: #1a1f3c !important;
}

/* Header — keep it white/frosted regardless of mode */
html.dark-mode .header > .navbar,
html.dark-mode nav.navbar.fixed-top {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(24px) !important;
}

html.dark-mode .header > .navbar *,
html.dark-mode nav.navbar.fixed-top * {
  color: #1a1f3c !important;
}

/* Footer in dark mode */
html.dark-mode .footer-sticky {
  background: rgba(255,255,255,0.97) !important;
}

html.dark-mode .footer-sticky .nav-link {
  color: #94a3b8 !important;
}

/* Cards — always white in content area */
html.dark-mode .card,
html.dark-mode .card-body,
html.dark-mode .card-header,
html.dark-mode .card-footer,
html.dark-mode .modal-content {
  background-color: #ffffff !important;
  color: #1a1f3c !important;
  border-color: rgba(0,0,0,0.06) !important;
}

html.dark-mode .card .card-header {
  background-color: #f8faff !important;
}

html.dark-mode .card .card-body .card {
  background-color: #f8faff !important;
}

/* Tables — white bg, dark readable text */
html.dark-mode table,
html.dark-mode .table {
  background-color: #ffffff !important;
  color: #374151 !important;
}

html.dark-mode table thead th,
html.dark-mode .table thead th,
html.dark-mode .table > thead > tr > th {
  background: linear-gradient(135deg, #f0f4ff, #e8eeff) !important;
  color: #4361ee !important;
  border-bottom: 2px solid rgba(67,97,238,0.15) !important;
}

html.dark-mode table tbody tr,
html.dark-mode .table tbody tr,
html.dark-mode .table > tbody > tr {
  background-color: #ffffff !important;
  color: #374151 !important;
}

html.dark-mode table tbody td,
html.dark-mode table tbody th,
html.dark-mode .table tbody td,
html.dark-mode .table > tbody > tr > td {
  background-color: #ffffff !important;
  color: #374151 !important;
  border-bottom-color: rgba(0,0,0,0.05) !important;
}

html.dark-mode table tbody tr:hover td,
html.dark-mode .table tbody tr:hover td {
  background-color: rgba(67,97,238,0.04) !important;
  color: #1a1f3c !important;
}

/* Table striped rows */
html.dark-mode .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: #f8faff !important;
  color: #374151 !important;
}

/* Table bordered */
html.dark-mode .table-bordered td,
html.dark-mode .table-bordered th {
  border-color: rgba(0,0,0,0.07) !important;
}

/* Dark mode text corrections */
html.dark-mode .text-dark,
html.dark-mode .text-secondary,
html.dark-mode a,
html.dark-mode p,
html.dark-mode span,
html.dark-mode label,
html.dark-mode h1,
html.dark-mode h2,
html.dark-mode h3,
html.dark-mode h4,
html.dark-mode h5,
html.dark-mode h6 {
  color: inherit;
}

html.dark-mode .card-body p,
html.dark-mode .card-body span,
html.dark-mode .card-body h5,
html.dark-mode .card-body h6,
html.dark-mode .card-body label {
  color: #1a1f3c !important;
}

html.dark-mode .text-secondary,
html.dark-mode .card-body .text-secondary,
html.dark-mode .card-body p.text-secondary {
  color: #6b7280 !important;
}

/* Dark mode navigation links in content */
html.dark-mode .sidebar-wrap .sidebar .nav .nav-item .nav-link {
  color: rgba(255,255,255,0.8) !important;
}

html.dark-mode .sidebar-wrap .sidebar .nav .nav-item .nav-link.active,
html.dark-mode .sidebar-wrap .sidebar .nav .nav-item .nav-link:hover {
  color: #ffffff !important;
}

/* Dark mode form inputs */
html.dark-mode .form-control,
html.dark-mode .form-select {
  background-color: #ffffff !important;
  color: #1a1f3c !important;
  border-color: rgba(67,97,238,0.2) !important;
}

html.dark-mode .form-control:focus,
html.dark-mode .form-select:focus {
  background-color: #ffffff !important;
  color: #1a1f3c !important;
}

html.dark-mode .input-group-text {
  background-color: #f8faff !important;
  color: #4361ee !important;
  border-color: rgba(67,97,238,0.2) !important;
}

/* Dark mode dropdown */
html.dark-mode .dropdown-menu {
  background-color: #ffffff !important;
}

html.dark-mode .dropdown-item {
  color: #374151 !important;
}

html.dark-mode .dropdown-item:hover {
  background-color: #f0f4ff !important;
  color: #4361ee !important;
}

/* GridView pager in dark mode */
html.dark-mode .gridpagerstyle span {
  background-color: #4361ee !important;
  color: #ffffff !important;
}

html.dark-mode .gridpagerstyle a {
  background-color: #ffffff !important;
  color: #4361ee !important;
  border-color: rgba(67,97,238,0.25) !important;
}

html.dark-mode .gridpagerstyle a:hover {
  background-color: #4361ee !important;
  color: #ffffff !important;
}

/* ============================================================
   47. BODY BACKGROUND OVERRIDE (both modes)
   ============================================================ */
body {
  background-color: var(--dt-bg) !important;
}

/* Main content area background */
.main.mainheight {
  background-color: var(--dt-bg) !important;
  color: #1a1f3c !important;
}

/* ============================================================
   48. DARK HERO SECTIONS — GLOBAL WHITE TEXT FIX
   All custom dark hero/banner sections across every page.
   Prevents global CSS gradient-clip from making text invisible.
   ============================================================ */

/* Selects every custom dark hero used across redesigned pages */
.dash-hero, .trade-hero, .profile-hero, .mpin-hero,
.withdraw-hero, .transfer-hero, .wallet-hero,
.complaint-hero, .income-hero, .pkg-hero,
[class$="-hero"], [class*="-hero "] {
  /* Force all child text to inherit white rather than gradient */
}

.dash-hero *,
.trade-hero *,
.profile-hero *,
.mpin-hero *,
.withdraw-hero *,
.transfer-hero *,
.wallet-hero *,
.complaint-hero *,
.income-hero *,
.pkg-hero * {
  -webkit-text-fill-color: inherit !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

/* All direct text elements inside dark heroes → white */
.dash-hero h1, .dash-hero h2, .dash-hero h3,
.dash-hero h4, .dash-hero h5, .dash-hero h6,
.dash-hero p, .dash-hero span, .dash-hero div,
.dash-hero label, .dash-hero a {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}

.profile-hero h1, .profile-hero h2, .profile-hero h3,
.profile-hero h4, .profile-hero h5, .profile-hero h6,
.profile-hero p, .profile-hero span, .profile-hero div {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}

/* Specific profile hero text colors */
.profile-hero { color: #ffffff !important; }
.profile-hero h5 { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.profile-hero .user-code-badge {
  color: rgba(255,255,255,0.9) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.9) !important;
}

/* Dashboard hero specific */
.dash-hero { color: #ffffff !important; }
.dash-hero .hero-greeting {
  color: rgba(255,255,255,0.55) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.55) !important;
}
.dash-hero .hero-username, .dash-hero #userid {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4) !important;
}
.h-badge {
  color: rgba(255,255,255,0.9) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.9) !important;
  background: rgba(255,255,255,0.1) !important;
}

/* Wallet card amounts on colored backgrounds */
.w-card .w-lbl, .w-card .w-amt, .w-card .w-btn,
.wallet-item .w-label, .wallet-item .w-amount, .wallet-item .w-btn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}

/* Income / stat card amounts */
.sp-num, .stat-cell h4, .stat-cell p {
  -webkit-text-fill-color: inherit !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}
.sp-num { color: #1a1f3c !important; -webkit-text-fill-color: #1a1f3c !important; }
.sp-lbl { color: #9ca3af !important; -webkit-text-fill-color: #9ca3af !important; }

/* Income card amounts (white bg cards) */
.inc-amt, .ic-amount, .invest-val .iv-num {
  color: #1a1f3c !important;
  -webkit-text-fill-color: #1a1f3c !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}

/* Exchange rate cards */
.ex-price {
  color: #1a1f3c !important;
  -webkit-text-fill-color: #1a1f3c !important;
  background: none !important;
}

/* Donut chart center value */
.donut-center .dc-val, .donut-card .chart-center .total-val, #donutTotalDisp, #donutTotal {
  color: #1a1f3c !important;
  -webkit-text-fill-color: #1a1f3c !important;
  background: none !important;
}

/* Section headers */
.sh h6, .sec-hdr h5 {
  color: #1a1f3c !important;
  -webkit-text-fill-color: #1a1f3c !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}

/* invest-val numbers */
.iv-n, .iv-l {
  -webkit-text-fill-color: inherit !important;
  background: none !important;
}
.iv-n { color: #1a1f3c !important; -webkit-text-fill-color: #1a1f3c !important; }
.iv-l { color: #9ca3af !important; -webkit-text-fill-color: #9ca3af !important; }

/* Business card headers */
.biz-hdr h6 {
  color: #1a1f3c !important;
  -webkit-text-fill-color: #1a1f3c !important;
  background: none !important;
}

/* Profile form labels and inputs */
.profile-section .pf-group label,
.profile-section .section-label {
  -webkit-text-fill-color: inherit !important;
  background: none !important;
  -webkit-background-clip: unset !important;
}
.profile-section .section-label { color: #6b7280 !important; -webkit-text-fill-color: #6b7280 !important; }
.profile-section .pf-group label { color: #6b7280 !important; -webkit-text-fill-color: #6b7280 !important; }
.pf-input-wrap .form-control { color: #1a1f3c !important; -webkit-text-fill-color: #1a1f3c !important; }


