/* ==========================================================================
   Deutsche Bank Holdings Delaware — Dashboard Theme
   Transforms DashLite admin template into a branded banking interface.
   Preserves all .nk-* and Bootstrap selectors used by scripts.js / custom.js.
   ========================================================================== */

/* --- Montserrat Font --- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/montserrat/Montserrat-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat/Montserrat-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat/Montserrat-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
}

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
  --db-primary: #033d75;
  --db-primary-dark: #022b54;
  --db-primary-light: #045499;
  --db-primary-bg: rgba(3, 61, 117, 0.04);
  --db-accent: #d13636;
  --db-accent-dark: #b02c2c;

  --db-white: #ffffff;
  --db-black: #1a202c;
  --db-gray-50: #f7f9fc;
  --db-gray-100: #edf1f7;
  --db-gray-200: #e2e8f0;
  --db-gray-300: #cbd5e0;
  --db-gray-400: #a0aec0;
  --db-gray-500: #718096;
  --db-gray-600: #526484;
  --db-gray-700: #364a63;
  --db-gray-800: #1c2b46;
  --db-gray-900: #0f1a2e;

  --db-success: #1ee0ac;
  --db-warning: #f4bd0e;
  --db-danger: #e85347;
  --db-info: #09c2de;

  --db-radius-sm: 4px;
  --db-radius-md: 6px;
  --db-radius-lg: 8px;
  --db-radius-xl: 12px;
  --db-radius-2xl: 16px;

  --db-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --db-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07);
  --db-shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08);
  --db-shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.1);
  --db-shadow-card: 0 1px 3px rgba(0,0,0,0.06);
  --db-shadow-card-hover: 0 10px 30px rgba(0,0,0,0.1);

  --db-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --db-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --db-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   TYPOGRAPHY & BASE
   ========================================================================== */

body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  color: var(--db-gray-600);
  background: var(--db-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nk-body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title, .lead-text {
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--db-gray-900);
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.nk-sidebar {
  width: 280px;
  background: var(--db-white);
  border-right: 1px solid var(--db-gray-200);
}

.nk-sidebar.is-light {
  background: var(--db-white);
}

.nk-sidebar.is-theme {
  background: var(--db-white);
}

.nk-sidebar .simplebar-content {
  background: var(--db-white);
}

.nk-sidebar-element {
  background: var(--db-white);
}

/* Sidebar brand */
.nk-sidebar-brand-wrapper {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--db-gray-100);
}

.nk-sidebar-brand-link {
  display: block;
}

.nk-sidebar-brand-logo {
  height: 28px;
  width: auto;
}

/* Sidebar balance card */
.sidebar-balance-card {
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--db-shadow-sm);
}

.sidebar-balance-label {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--db-gray-400);
  margin-bottom: 2px;
}

.sidebar-balance-number {
  font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
  font-size: 0.7rem;
  color: var(--db-gray-400);
  margin-bottom: 10px;
}

.sidebar-balance-divider {
  height: 1px;
  background: var(--db-gray-100);
  margin-bottom: 10px;
}

.sidebar-balance-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.sidebar-balance-currency {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--db-gray-500);
}

.sidebar-balance-value {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--db-gray-900);
  letter-spacing: -0.01em;
}

/* Sidebar quick action buttons */
.sidebar-quick-actions {
  display: flex;
  gap: 8px;
}

.sidebar-quick-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--db-gray-600);
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-quick-btn:hover {
  color: var(--db-primary);
  background: var(--db-primary-bg);
  border-color: var(--db-primary);
  text-decoration: none;
}

.sidebar-quick-btn .icon {
  font-size: 0.9rem;
}

/* Sidebar head */
.nk-sidebar-head {
  height: 65px;
  padding: 14px 24px;
  background: var(--db-white);
  border-bottom: 1px solid var(--db-gray-100);
}

.nk-sidebar-brand {
  display: flex;
  align-items: center;
}

.nk-sidebar-logo {
  height: 32px;
}

/* Sidebar menu */
.nk-sidebar-menu {
  padding-top: 0.5rem;
}

.nk-menu {
  padding: 0;
  margin: 0;
}

.nk-menu-heading {
  padding: 0.5rem 24px 0.25rem;
}

.nk-menu-heading .overline-title {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--db-gray-400);
}

.nk-menu-item {
  padding: 1px 0;
}

.nk-menu-link {
  display: flex;
  align-items: center;
  padding: 0.625rem 28px 0.625rem 24px;
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--db-gray-600);
  text-decoration: none;
  border-radius: 0;
  transition: all var(--db-transition-fast);
  border-left: 3px solid transparent;
}

.nk-menu-link:hover {
  color: var(--db-primary);
  background: var(--db-primary-bg) !important;
  border-left-color: var(--db-primary);
}

.nk-menu-item.active .nk-menu-link,
.nk-menu-item.active > .nk-menu-link {
  color: var(--db-primary);
  background: var(--db-primary-bg) !important;
  border-left-color: var(--db-primary);
  font-weight: 600;
}

/* Kill any white hover background from DashLite */
.nk-sidebar .nk-menu-link:hover,
.nk-sidebar .nk-menu-item:hover .nk-menu-link,
.nk-sidebar .nk-menu-link:focus,
.nk-sidebar .nk-menu-item.current-page .nk-menu-link {
  background: var(--db-primary-bg) !important;
  color: var(--db-primary);
}

.nk-menu-icon {
  width: 36px;
  font-size: 1.15rem;
  color: var(--db-gray-400);
  transition: color var(--db-transition-fast);
}

.nk-menu-link:hover .nk-menu-icon,
.nk-menu-item.active .nk-menu-icon {
  color: var(--db-primary);
}

.nk-menu-text {
  flex: 1;
}

.nk-menu-badge {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: var(--db-radius-sm);
}

/* Sidebar widget */
.nk-sidebar-widget {
  padding: 1rem 24px;
}

.user-account-info {
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: 1rem;
}

.user-account-main .overline-title-alt {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--db-gray-400);
  margin-bottom: 0.25rem;
}

.user-balance {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--db-gray-900);
}

.user-balance .currency {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--db-gray-500);
}

.user-balance-alt {
  font-size: 0.7rem;
  color: var(--db-gray-500);
}

.user-account-data {
  margin-top: 0.75rem;
  list-style: none;
  padding: 0;
}

.user-account-data li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.7rem;
}

.user-account-label .sub-text {
  color: var(--db-gray-400);
  font-size: 0.7rem;
}

.user-account-value {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--db-gray-600);
}

.text-success { color: var(--db-success) !important; }
.text-danger { color: var(--db-danger) !important; }

.user-account-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-account-actions ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-account-actions .btn {
  width: 100%;
  justify-content: center;
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.55rem 1rem;
  border-radius: var(--db-radius-md);
}

/* Sidebar footer */
.nk-sidebar-footer {
  margin-top: auto;
  padding: 1.25rem 24px;
  border-top: 1px solid var(--db-gray-100);
  background: var(--db-white);
}

.nk-menu-footer {
  padding: 0;
}

/* Mobile profile toggle (sidebar) */
.nk-profile-toggle .user-card-wrap {
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: 0.75rem 1rem;
}

.nk-profile-toggle .user-card .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--db-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

.nk-profile-toggle .user-info .lead-text {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  color: var(--db-gray-900);
  font-size: 0.8rem;
}

.nk-profile-toggle .user-info .sub-text {
  font-size: 0.7rem;
  color: var(--db-gray-400);
}

.nk-profile-content {
  background: transparent;
}

.nk-profile-content .link-list a {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  color: var(--db-gray-600);
  font-size: 0.75rem;
}

.nk-profile-content .link-list a:hover {
  color: var(--db-primary);
}

/* ==========================================================================
   HEADER / TOPBAR
   ========================================================================== */

.nk-header {
  background: var(--db-white);
  border-bottom: 1px solid var(--db-gray-200);
  height: 65px;
}

.nk-header.is-secondary {
  background: var(--db-white);
}

.nk-header.is-light {
  background: var(--db-white);
}

.nk-header.is-dark {
  background: var(--db-gray-900);
}

.nk-header-wrap {
  height: 65px;
}

/* Brand logo in header (mobile) */
.nk-header-brand .logo-link img {
  height: 30px;
}

/* Header news ticker */
.nk-news-item {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
}

/* Header tools / quick nav */
.nk-quick-nav-icon {
  font-size: 1.35rem;
  color: var(--db-gray-600);
}

.nk-quick-nav-icon:hover {
  color: var(--db-primary);
}

/* User dropdown */
.user-dropdown .user-toggle .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--db-primary);
  color: #fff;
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
}

.user-dropdown .user-info .user-name {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--db-gray-800);
}

.user-dropdown .user-info .user-status {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--db-success);
}

/* Dropdown menu */
.dropdown-menu {
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  box-shadow: 0 12px 40px rgba(15,23,42,0.12);
  padding: 0.5rem 0;
}

.dropdown-menu-s1 {
  min-width: 260px;
}

.dropdown-inner {
  padding: 0.75rem 1.25rem;
}

.dropdown-inner.user-card-wrap {
  background: var(--db-gray-50);
}

.user-card-wrap .user-card .user-avatar {
  background: var(--db-primary);
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

.user-card-wrap .user-info .lead-text {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

.user-card-wrap .user-info .sub-text {
  font-size: 0.7rem;
  color: var(--db-gray-400);
}

.dropdown-inner.user-account-info .overline-title-alt {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--db-gray-400);
}

.dropdown-inner.user-account-info .user-balance {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--db-gray-900);
}

.dropdown-inner.user-account-info .user-balance-sub {
  font-size: 0.7rem;
  color: var(--db-gray-400);
}

.link-list {
  list-style: none;
  padding: 0;
}

.link-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--db-gray-600);
  text-decoration: none;
  transition: color var(--db-transition-fast);
}

.link-list a:hover {
  color: var(--db-primary);
}

.link-list a .icon {
  width: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--db-gray-400);
}

/* ==========================================================================
   CONTENT AREA
   ========================================================================== */

.nk-content {
  background: var(--db-gray-50);
  padding: 24px 12px;
}

.nk-content-body {
  padding: 0;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  box-shadow: var(--db-shadow-card);
  background: var(--db-white);
  transition: box-shadow var(--db-transition-base), transform var(--db-transition-base);
}

.card:hover {
  box-shadow: var(--db-shadow-card-hover);
}

.card-bordered {
  border-color: var(--db-gray-200);
}

.card-inner {
  padding: 1.5rem;
}

.card-inner-group .card-inner + .card-inner {
  border-top-color: var(--db-gray-100);
}

.card-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--db-gray-100);
}

.card-head .title {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--db-gray-900);
}

.card-title h6.title {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--db-gray-900);
}

.card-title p {
  font-size: 0.75rem;
  color: var(--db-gray-500);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--db-radius-md);
  letter-spacing: 0.01em;
  transition: all var(--db-transition-base);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--db-primary) !important;
  border-color: var(--db-primary) !important;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--db-primary-dark) !important;
  border-color: var(--db-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3,61,117,0.3);
}

.btn-secondary {
  background-color: var(--db-accent) !important;
  border-color: var(--db-accent) !important;
  color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--db-accent-dark) !important;
  border-color: var(--db-accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(209,54,54,0.3);
}

.btn-success { background-color: var(--db-success); border-color: var(--db-success); }
.btn-info { background-color: var(--db-info); border-color: var(--db-info); }
.btn-warning { background-color: var(--db-warning); border-color: var(--db-warning); }
.btn-danger { background-color: var(--db-danger); border-color: var(--db-danger); }

.btn-outline-primary {
  border-color: var(--db-primary);
  color: var(--db-primary);
}
.btn-outline-primary:hover {
  background-color: var(--db-primary);
  color: #fff;
}

.btn-light {
  background: var(--db-gray-100);
  border-color: var(--db-gray-200);
  color: var(--db-gray-700);
}
.btn-light:hover {
  background: var(--db-gray-200);
  border-color: var(--db-gray-300);
}

.btn-white {
  background: #fff;
  border-color: var(--db-gray-200);
  color: var(--db-gray-700);
}

.btn-lg { padding: 0.65rem 1.5rem; font-size: 0.875rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.75rem; }
.btn-xl { padding: 0.75rem 2rem; font-size: 0.95rem; }

.btn-dim.btn-outline-primary {
  background: var(--db-primary-bg);
  color: var(--db-primary);
  border-color: rgba(3,61,117,0.15);
}
.btn-dim.btn-outline-primary:hover {
  background: var(--db-primary);
  color: #fff;
}

.btn-icon .icon { font-size: 1.15rem; }
.btn-trigger { color: var(--db-gray-600); }
.btn-trigger:hover { color: var(--db-primary); }
.btn-trigger::before { background: var(--db-primary-bg); }

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-control {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8125rem;
  color: var(--db-gray-800);
  background: var(--db-white);
  border: 1.5px solid var(--db-gray-200);
  border-radius: var(--db-radius-md);
  padding: 0.55rem 0.875rem;
  transition: all var(--db-transition-fast);
  height: auto;
  min-height: 42px;
}

.form-control:focus {
  border-color: var(--db-primary);
  box-shadow: 0 0 0 3px var(--db-primary-bg);
}

.form-control::placeholder {
  color: var(--db-gray-400);
}

.form-label {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--db-gray-700);
  margin-bottom: 0.35rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-select {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  border-color: var(--db-gray-200);
  border-radius: var(--db-radius-md);
}

.form-control-select {
  border-color: var(--db-gray-200);
  border-radius: var(--db-radius-md);
}

.form-note {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.7rem;
  color: var(--db-gray-400);
}

.form-control.error {
  border-color: var(--db-danger);
}

.form-control.focus {
  border-color: var(--db-primary);
}

.custom-control-label {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

/* ==========================================================================
   TABLES
   ========================================================================== */

.table {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8125rem;
  color: var(--db-gray-600);
}

.table thead th {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--db-gray-400);
  background: var(--db-gray-50);
  border-bottom: 2px solid var(--db-gray-200);
  padding: 0.75rem 1rem;
}

.table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--db-gray-100);
  vertical-align: middle;
}

.table tbody tr:hover {
  background: var(--db-gray-50);
}

/* Transaction tables */
.tb-tnx-head {
  font-size: 0.7rem;
  background: var(--db-gray-50);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tb-tnx-item {
  font-size: 0.8125rem;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--db-gray-100);
}

.tb-tnx-total {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
}

.tb-tnx-date {
  color: var(--db-gray-400);
  font-size: 0.75rem;
}

/* NioApp data tables */
.nk-tb-list {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8125rem;
}

.nk-tb-item {
  border-bottom: 1px solid var(--db-gray-100);
}

.nk-tb-item:hover {
  background: var(--db-gray-50);
}

.tb-lead, .nk-tb-list .tb-lead {
  font-weight: 600;
  color: var(--db-gray-800);
}

.tb-amount, .nk-tb-list .tb-amount {
  font-weight: 600;
}

/* DataTable */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  border-radius: var(--db-radius-md);
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.badge {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--db-radius-sm);
  letter-spacing: 0.02em;
}

.badge-success {
  background: rgba(30,224,172,0.12);
  color: #0ea87a;
  border-color: rgba(30,224,172,0.2);
}

.badge-warning {
  background: rgba(244,189,14,0.12);
  color: #b38a00;
  border-color: rgba(244,189,14,0.2);
}

.badge-danger {
  background: rgba(232,83,71,0.1);
  color: var(--db-danger);
  border-color: rgba(232,83,71,0.2);
}

.badge-info {
  background: rgba(9,194,222,0.1);
  color: #088ea3;
  border-color: rgba(9,194,222,0.2);
}

.badge-primary {
  background: rgba(3,61,117,0.1);
  color: var(--db-primary);
  border-color: rgba(3,61,117,0.2);
}

.badge-secondary {
  background: rgba(54,74,99,0.1);
  color: var(--db-gray-700);
  border-color: rgba(54,74,99,0.2);
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-content {
  border: none;
  border-radius: var(--db-radius-xl);
  box-shadow: 0 20px 60px rgba(15,23,42,0.2);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--db-gray-100);
}

.modal-title {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--db-gray-900);
}

.modal-body {
  padding: 1.5rem;
}

.modal-body-lg { padding: 2rem; }
.modal-body-md { padding: 1.5rem; }
.modal-body-sm { padding: 1rem; }

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--db-gray-100);
}

.modal-content > .close {
  font-size: 1.25rem;
  color: var(--db-gray-400);
  opacity: 0.7;
}

.modal-content > .close:hover {
  color: var(--db-gray-700);
  opacity: 1;
}

/* ==========================================================================
   ALERTS
   ========================================================================== */

.alert {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  border-radius: var(--db-radius-lg);
  border: 1px solid transparent;
  font-size: 0.8125rem;
}

.alert-primary {
  background: rgba(3,61,117,0.06);
  border-color: rgba(3,61,117,0.12);
  color: var(--db-primary);
}

.alert-success {
  background: rgba(30,224,172,0.08);
  border-color: rgba(30,224,172,0.15);
  color: #0ea87a;
}

.alert-warning {
  background: rgba(244,189,14,0.08);
  border-color: rgba(244,189,14,0.15);
  color: #b38a00;
}

.alert-danger {
  background: rgba(232,83,71,0.06);
  border-color: rgba(232,83,71,0.12);
  color: var(--db-danger);
}

.alert-info {
  background: rgba(9,194,222,0.06);
  border-color: rgba(9,194,222,0.12);
  color: #088ea3;
}

/* ==========================================================================
   TABS
   ========================================================================== */

.nav-tabs {
  border-bottom: 2px solid var(--db-gray-200);
}

.nav-tabs .nav-link {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--db-gray-500);
  border: none;
  padding: 0.65rem 1.25rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--db-transition-fast);
}

.nav-tabs .nav-link:hover {
  color: var(--db-gray-800);
  border-bottom-color: var(--db-gray-300);
}

.nav-tabs .nav-link.active {
  color: var(--db-primary);
  border-bottom-color: var(--db-primary);
}

.nav-tabs .nav-link .icon {
  font-size: 1rem;
}

.card-tools-nav .nav-link {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination .page-link {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8125rem;
  color: var(--db-gray-600);
  border-color: var(--db-gray-200);
  border-radius: var(--db-radius-md);
  padding: 0.45rem 0.85rem;
}

.pagination .page-item.active .page-link {
  background: var(--db-primary);
  border-color: var(--db-primary);
  color: #fff;
}

/* ==========================================================================
   TOASTR / NOTIFICATIONS
   ========================================================================== */

.toastr {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  border-radius: var(--db-radius-lg);
  box-shadow: 0 4px 20px rgba(15,23,42,0.12);
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */

body.dark-mode {
  background: #101924;
}

body.dark-mode .nk-header {
  background: #18212d;
  border-bottom-color: #203247;
}

body.dark-mode .nk-content {
  background: #101924;
}

body.dark-mode .card {
  background: #18212d;
  border-color: #203247;
}

body.dark-mode .card-head {
  border-bottom-color: #203247;
}

body.dark-mode .table thead th {
  background: #18212d;
  border-bottom-color: #203247;
  color: #8094ae;
}

body.dark-mode .table tbody td {
  border-bottom-color: #203247;
  color: #b6c6e3;
}

body.dark-mode .table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

body.dark-mode .form-control {
  background: #18212d;
  border-color: #203247;
  color: #b6c6e3;
}

body.dark-mode .form-control:focus {
  border-color: var(--db-primary-light);
}

body.dark-mode .form-label {
  color: #8094ae;
}

body.dark-mode .dropdown-menu {
  background: #18212d;
  border-color: #203247;
}

body.dark-mode .dropdown-inner.user-card-wrap {
  background: #1c2738;
}

body.dark-mode .dropdown-inner.user-account-info .user-balance {
  color: #fff;
}

body.dark-mode .nk-tb-item {
  border-bottom-color: #203247;
}

body.dark-mode .nk-tb-item:hover {
  background: rgba(255,255,255,0.02);
}

body.dark-mode .modal-content {
  background: #18212d;
}

body.dark-mode .modal-header {
  border-bottom-color: #203247;
}

body.dark-mode .modal-footer {
  border-top-color: #203247;
}

body.dark-mode .modal-title {
  color: #fff;
}

body.dark-mode .nav-tabs {
  border-bottom-color: #203247;
}

body.dark-mode .nav-tabs .nav-link.active {
  color: #fff;
}

body.dark-mode .border-bottom,
body.dark-mode .border-top,
body.dark-mode .border-left,
body.dark-mode .border-right {
  border-color: #203247 !important;
}

body.dark-mode .bg-lighter {
  background: #1c2738 !important;
}

body.dark-mode .text-body,
body.dark-mode .text-base {
  color: #b6c6e3 !important;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.nk-sidebar {
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1),
              width 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.fade .modal-dialog {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-2px);
}

.btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
  .nk-sidebar {
    width: 280px;
  }
  .nk-content {
    padding: 20px 8px;
  }
}

@media (max-width: 575px) {
  .nk-content {
    padding: 16px 8px;
  }
  .card-inner {
    padding: 1rem;
  }
  .card-head {
    padding: 1rem;
  }
  .modal-body {
    padding: 1rem;
  }
  .nk-header-wrap {
    padding: 0 8px;
  }
  .table {
    font-size: 0.75rem;
  }
  .table thead th,
  .table tbody td {
    padding: 0.5rem 0.75rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--db-primary) !important;
  outline-offset: 2px !important;
}

.btn:focus-visible {
  outline: 3px solid var(--db-primary) !important;
  outline-offset: 3px !important;
}

.form-control:focus-visible {
  outline: none !important;
  border-color: var(--db-primary);
  box-shadow: 0 0 0 3px var(--db-primary-bg);
}

.nk-menu-link:focus-visible {
  outline: 2px solid rgba(255,255,255,0.5) !important;
  outline-offset: -2px !important;
}

/* ==========================================================================
   VISUAL REFINEMENTS
   ========================================================================== */

.card + .card {
  margin-top: 1.5rem;
}

.sub-text {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  color: var(--db-gray-400);
  font-size: 0.75rem;
}

.data-item .data-label {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--db-gray-400);
}

.data-item .data-value {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--db-gray-900);
}

/* ==========================================================================
   CONTENT PAGE OVERRIDES — standardize all inner pages
   ========================================================================== */

/* Hero / page title area — kill DashLite nk-block-head purple gradient */
.nk-block-head,
.nk-block-head-sm,
.nk-block-head-lg {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
}

.nk-block-head .title,
.nk-block-head .nk-block-title,
.nk-block-head h4,
.nk-block-head h5 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: var(--db-gray-900) !important;
}

.nk-block-head .sub-text,
.nk-block-head p {
  color: var(--db-gray-500) !important;
  font-size: 0.8125rem !important;
}

.nk-block-head .back-to,
.nk-block-head .nk-block-head-sub {
  font-size: 0.75rem;
  color: var(--db-gray-400);
}

/* Overview / dashboard stat cards */
.nk-card,
.nk-card-head {
  border-radius: var(--db-radius-xl) !important;
}

.nk-card .amount,
.nk-card .number {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif !important;
  font-weight: 700 !important;
}

/* Dashboard welcome / account info block */
.nk-block-des,
.nk-block-text {
  font-size: 0.8125rem !important;
  color: var(--db-gray-500) !important;
  line-height: 1.6 !important;
}

/* Coin/currency info rows */
.coin-buysell,
.buysell,
.buysell-field,
.buysell-cc,
.buysell-cc-choosen,
.buysell-cc-amount,
.buysell-cc-opt {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif !important;
}

/* Form action rows */
.form-action {
  gap: 12px;
}

.form-action .btn + .btn {
  margin-left: 0;
}

/* Tabs on all pages */
.nav-tabs .nav-link,
.nav-link,
.nk-nav-tabs .nav-link {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
}

/* Amount inputs */
input[type="number"].form-control,
.form-control-number {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif !important;
  font-weight: 600 !important;
}

/* Profile / settings pages */
.user-avatar,
.user-avatar-lg,
.user-avatar-xl,
.nk-profile-avatar {
  border-radius: 50% !important;
}

.nk-profile-name,
.profile-name {
  font-weight: 700 !important;
}

/* Loan / credit tables */
.loan-table,
.credit-table {
  width: 100%;
}

/* Support ticket area */
.support-ticket,
.ticket-item,
.ticket-msg,
.nk-reply {
  border-radius: var(--db-radius-lg) !important;
}

.nk-reply-tools {
  border-top: 1px solid var(--db-gray-100);
}

/* KYC page */
.kyc-status,
.kyc-alert {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif !important;
}

.kyc-alert .alert-icon {
  font-size: 1.25rem;
}

/* Auth / lock screen */
.auth-card,
.auth-form,
.auth-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.auth-logo {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo img {
  height: 32px;
}

/* Print / receipt pages */
.print-area,
.receipt-area {
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: 2rem;
}

@media print {
  .nk-sidebar,
  .nk-header,
  .nk-footer,
  .nk-nav-toggle { display: none !important; }
  .nk-wrap { padding-left: 0 !important; }
  .nk-content { margin-left: 0 !important; padding: 0 !important; }
}

/* Chart containers */
.chart-wrap,
.nk-chart {
  max-width: 100%;
}

canvas {
  max-width: 100% !important;
}

/* Progress bars */
.progress-bar {
  border-radius: var(--db-radius-sm);
}

.progress {
  background: var(--db-gray-100);
  border-radius: var(--db-radius-sm);
}

/* Text colors — ensure consistency */
.text-primary { color: var(--db-primary) !important; }
.text-accent { color: var(--db-accent) !important; }
.text-muted { color: var(--db-gray-400) !important; }
.text-base { color: var(--db-gray-600) !important; }

/* BG colors */
.bg-primary { background: var(--db-primary) !important; }
.bg-primary-dim { background: var(--db-primary-bg) !important; }
.bg-lighter { background: var(--db-gray-50) !important; }
.bg-light { background: var(--db-gray-100) !important; }
.bg-white { background: #fff !important; }

/* Borders */
.border { border-color: var(--db-gray-200) !important; }
.border-light { border-color: var(--db-gray-100) !important; }
.border-bottom { border-bottom-color: var(--db-gray-100) !important; }

/* Dividers */
.hr, hr {
  border-top-color: var(--db-gray-200) !important;
}

/* Spacing utilities */
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.mb-g { margin-bottom: 24px; }
.mt-g { margin-top: 24px; }

/* Consistent link styling inside content */
.nk-content a:not(.btn):not(.nk-menu-link):not(.nav-link):not(.dropdown-item):not(.page-link) {
  color: var(--db-primary);
  text-decoration: none;
  font-weight: 500;
}

.nk-content a:not(.btn):not(.nk-menu-link):not(.nav-link):not(.dropdown-item):not(.page-link):hover {
  color: var(--db-primary-dark);
  text-decoration: underline;
}

/* Fix DashLite purple/blue info blocks */
.note,
.note-info,
.note-dim,
.nk-iv,
.nk-iv-list,
.nk-kycfm {
  border-radius: var(--db-radius-lg) !important;
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif !important;
}

/* Dot badges in tables */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-success { background: var(--db-success); }
.dot-warning { background: var(--db-warning); }
.dot-danger { background: var(--db-danger); }
.dot-info { background: var(--db-info); }

/* Responsive tables — horizontal scroll container */
.nk-tb-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile card-style transaction rows */
@media (max-width: 767px) {
  .nk-tb-list:not(.nk-tb-responsive) .nk-tb-item {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 4px 16px;
  }
  .nk-tb-col {
    flex: 0 0 auto;
  }
}

/* Icon circles for stat cards */
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bg-primary-dim { background: rgba(3,61,117,0.08); }
.bg-success-dim { background: rgba(30,224,172,0.1); }
.bg-warning-dim { background: rgba(244,189,14,0.12); }
.bg-danger-dim { background: rgba(232,83,71,0.08); }

/* Transaction list items */
.nk-tb-item {
  padding: 12px 0;
}

.nk-tb-col .tb-date {
  display: block;
  font-size: 0.7rem;
  color: var(--db-gray-400);
  margin-top: 2px;
}

.nk-tb-col .tb-sub {
  font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
  font-size: 0.7rem;
  color: var(--db-gray-400);
}

/* Consistent card-head without bottom border when needed */
.card-head {
  border-bottom: 1px solid var(--db-gray-100);
}

/* Link small */
.link-sm {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Rounded circle images */
.rounded-circle {
  border-radius: 50% !important;
}

/* ==========================================================================
   PAGE-SPECIFIC FIXES
   ========================================================================== */

/* --- Summary / transaction table --- */
.nk-content > .card.card-preview {
  border-radius: var(--db-radius-xl);
  border: 1px solid var(--db-gray-200);
  margin-top: 0;
}

.card-preview .card-inner.p-0 {
  padding: 0 !important;
}

.card-preview .table {
  margin-bottom: 0;
}

/* --- Transfer / buy-sell forms --- */
.buysell.wide-xs {
  max-width: 520px;
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: 24px;
}

.buysell.wide-sm {
  max-width: 620px;
  background: var(--db-white);
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: 24px;
}

.buysell-title {
  margin-bottom: 20px;
}

.buysell-title h5,
.buysell-title .title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--db-gray-900);
}

.buysell-field {
  margin-bottom: 16px;
}

.buysell-overview-list {
  list-style: none;
  padding: 20px;
}

.buysell-overview-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--db-gray-100);
  font-size: 0.8125rem;
}

.buysell-overview-item .pm-currency {
  color: var(--db-gray-500);
}

.buysell-overview-item .pm-title {
  font-weight: 600;
  color: var(--db-gray-800);
}

/* --- Profile / data list --- */
.nk-data.data-list {
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-lg);
  overflow: hidden;
}

.data-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--db-gray-100);
}

.data-item:last-child {
  border-bottom: none;
}

.data-label {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--db-gray-600);
}

.data-value {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--db-gray-800);
  text-align: right;
}

.data-more .btn {
  padding: 2px 10px;
  font-size: 0.7rem;
}

/* --- Pay bills --- */
.card-bordered > .card-header {
  background: var(--db-gray-50) !important;
  border-bottom: 1px solid var(--db-gray-200);
  padding: 0 20px;
}

.card-bordered > .card-header .nav-tabs {
  border-bottom: none;
  margin: 0;
}

.card-bordered > .card-header .nav-tabs .nav-link {
  color: var(--db-gray-500);
  padding: 14px 20px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 0.8125rem;
}

.card-bordered > .card-header .nav-tabs .nav-link.active {
  color: var(--db-primary);
  border-bottom-color: var(--db-primary);
  background: transparent;
}

.card-bordered > .card-header .nav-tabs .nav-link:hover {
  color: var(--db-gray-800);
}

/* Card-in-card fix */
.tab-pane > .card.card-preview {
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* --- Empty alerts --- */
.alert:empty,
.alert-warning:empty,
.alert .alert-text:empty {
  display: none !important;
}

/* --- Card-bordered block between --- */
.nk-block-between-md.card-bordered {
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-xl);
  padding: 20px 24px;
  background: var(--db-white);
  margin-bottom: 20px;
}

/* --- Dropdown buy-sell currency --- */
.buysell-cc-dropdown .dropdown-menu {
  border-radius: var(--db-radius-lg);
  border: 1px solid var(--db-gray-200);
  box-shadow: 0 8px 24px rgba(15,23,42,0.1);
}

.buysell-cc-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--db-gray-700);
}

.buysell-cc-item:hover {
  background: var(--db-gray-50);
}

.buysell-cc-choosen {
  font-weight: 600;
  color: var(--db-gray-900);
}

/* --- Form note / hints --- */
.form-note {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.7rem;
  color: var(--db-gray-400);
  margin-top: 8px;
}

/* --- Card tools --- */
.card-tools-nav {
  display: flex;
  gap: 4px;
}

.card-tools-nav li a {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--db-radius-sm);
  color: var(--db-gray-500);
  text-decoration: none;
}

.card-tools-nav li.active a {
  background: var(--db-primary-bg);
  color: var(--db-primary);
}

/* --- Fixed content container for pages missing it --- */
.nk-content:not(.nk-content-fluid) > .container-xl,
.nk-content:not(.nk-content-fluid) > .container-lg {
  padding-left: 12px;
  padding-right: 12px;
}

/* --- Ensure all nk-block-between have proper spacing --- */
.nk-block-between {
  margin-bottom: 16px;
}

.nk-block-between-md {
  margin-bottom: 16px;
}

/* --- Kill any remaining purple/pink DashLite gradients --- */
.nk-block-head .nk-block-head-content .title,
.nk-block-title,
.nk-block-head .title {
  color: var(--db-gray-900) !important;
}

/* --- Fix nested nk-content padding issues --- */
.nk-content .nk-content {
  padding: 0 !important;
}

/* --- Widget / wg cards --- */
.nk-wgw {
  background: transparent;
}

.nk-wgw-inner {
  padding: 16px;
}

.nk-wgw-name {
  margin-bottom: 8px;
}

.nk-wgw-icon {
  margin-bottom: 6px;
  font-size: 1.25rem;
  color: var(--db-gray-400);
}

.nk-wgw-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--db-gray-700);
}

.nk-wgw-balance .amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--db-gray-900);
}

.nk-wgw-balance .currency {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--db-gray-400);
  margin-left: 3px;
}

/* --- transaction item (dashboard old style) --- */
.tranx-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--db-gray-100);
}

.tranx-col {
  flex: 1;
}

.tranx-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tranx-icon {
  font-size: 1.25rem;
}

.tranx-data .tranx-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--db-gray-800);
}

.tranx-data .tranx-date {
  font-size: 0.7rem;
  color: var(--db-gray-400);
}

.tranx-amount {
  text-align: right;
}

.tranx-amount .number,
.tranx-amount .number-sm {
  font-weight: 600;
}

/* --- KYC form --- */
.kyc-form .form-group {
  margin-bottom: 16px;
}

/* --- Auth lock screen --- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--db-white);
  border-radius: var(--db-radius-xl);
  border: 1px solid var(--db-gray-200);
  padding: 32px;
}

/* --- Loan application --- */
.loan-form .form-group {
  margin-bottom: 16px;
}

/* --- Check deposit --- */
.check-upload-area {
  border: 2px dashed var(--db-gray-200);
  border-radius: var(--db-radius-lg);
  padding: 24px;
  text-align: center;
}

/* --- All card headers should use brand colors, not DashLite purple --- */
.card-header {
  background: var(--db-gray-50) !important;
  border-bottom: 1px solid var(--db-gray-200) !important;
}

.card-header .card-title {
  color: var(--db-gray-900);
}

/* --- Support tickets --- */
.ticket-item {
  padding: 16px;
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-lg);
  margin-bottom: 12px;
  background: var(--db-white);
}

.ticket-msg {
  padding: 12px;
  border-radius: var(--db-radius-md);
  margin-bottom: 8px;
}

/* --- Crypto/deposit pages --- */
.coin-item {
  padding: 10px 14px;
  border: 1px solid var(--db-gray-200);
  border-radius: var(--db-radius-md);
  margin-bottom: 8px;
  cursor: pointer;
}

.coin-item:hover {
  border-color: var(--db-primary);
  background: var(--db-primary-bg);
}

.coin-item .coin-name {
  font-weight: 600;
  color: var(--db-gray-800);
}

.coin-item .coin-balance {
  font-size: 0.8125rem;
  color: var(--db-gray-500);
}
