/* ==========================================================================
   Above FX — 2026 visual refresh
   Additive design layer loaded after theme.css/app.css/landing.css.
   Restyles existing markup/classes only — no structural/JS-hook changes.
   ========================================================================== */

:root {
  --afx-navy-950: #050b1a;
  --afx-navy-900: #0a1330;
  --afx-navy-800: #0f1c42;
  --afx-navy-700: #16265c;
  --afx-navy-600: #1f3480;
  --afx-blue-500: #3b62e0;
  --afx-blue-400: #5b8bff;
  --afx-gold-500: #f4b740;
  --afx-gold-400: #ffcf6b;
  --afx-teal-500: #17b9a6;
  --afx-ink-100: #eef1f8;
  --afx-radius-lg: 20px;
  --afx-radius-md: 14px;
  --afx-shadow-soft: 0 10px 30px -12px rgba(10, 19, 48, 0.25);
  --afx-shadow-strong: 0 20px 45px -18px rgba(10, 19, 48, 0.45);
  --afx-gradient-brand: linear-gradient(135deg, var(--afx-navy-900) 0%, var(--afx-navy-700) 45%, var(--afx-blue-500) 100%);
  --afx-gradient-gold: linear-gradient(120deg, var(--afx-gold-400), var(--afx-gold-500));
}

/* ---------- Global feel ---------- */
body.nk-body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nk-body .btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.nk-body .btn-lg { border-radius: 12px; }
.nk-body .btn-primary {
  background: var(--afx-gradient-brand);
  border: none;
  box-shadow: var(--afx-shadow-soft);
}
.nk-body .btn-primary:hover,
.nk-body .btn-primary:focus {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: var(--afx-shadow-strong);
}
.nk-body .btn-warning {
  background: var(--afx-gradient-gold);
  border: none;
  color: var(--afx-navy-950) !important;
  box-shadow: 0 10px 25px -10px rgba(244, 183, 64, 0.55);
}
.nk-body .btn-warning:hover { transform: translateY(-1px); filter: brightness(1.04); }

/* ---------- Cards ---------- */
.nk-body .card-bordered {
  border-color: rgba(15, 28, 66, 0.08);
  box-shadow: 0 6px 20px -14px rgba(10, 19, 48, 0.25);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border-radius: var(--afx-radius-md);
  overflow: hidden;
}
.nk-body .card-bordered:hover {
  box-shadow: var(--afx-shadow-soft);
}
.nk-body .v-card {
  border-radius: var(--afx-radius-lg) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: var(--afx-shadow-soft);
}
.nk-body .v-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--afx-shadow-strong);
}

/* ---------- Landing: header / nav ---------- */
.npc-landing .header-main.is-transparent {
  backdrop-filter: saturate(140%) blur(6px);
}
.npc-landing .header-main {
  z-index: 999;
}
.npc-landing .header-main.has-fixed {
  background: rgba(5, 11, 26, 0.85) !important;
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 8px 30px -14px rgba(0,0,0,0.5);
}
.npc-landing .header-main.has-fixed .menu-link,
.npc-landing .header-main.has-fixed #nav-menu-collapse {
  color: #fff !important;
}

/* ---------- Mobile nav: slide in from the left ---------- */
@media (max-width: 767.98px) {
  .npc-landing .navbar-collapse {
    position: fixed !important;
    top: 0;
    left: -300px;
    width: 280px;
    max-width: 82vw;
    height: 100vh !important;
    margin: 0;
    padding: 90px 0 30px;
    background: var(--afx-navy-950);
    box-shadow: 10px 0 40px rgba(0,0,0,0.4);
    transition: left 0.32s ease;
    overflow-y: auto;
    display: block !important;
    z-index: 1050;
  }
  .npc-landing .navbar-collapse.show,
  .npc-landing .navbar-collapse.collapsing.show {
    left: 0;
  }
  .npc-landing .navbar-collapse .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.5rem;
  }
  .npc-landing .navbar-collapse .menu-link { color: #fff !important; width: 100%; }
  .npc-landing .navbar-collapse .form-inline {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 10px;
  }
  .npc-landing .navbar-collapse .form-inline .btn { margin: 0 !important; width: 100%; }
  .afx-nav-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }
  .afx-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5,11,26,0.6);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  .afx-nav-backdrop.show { opacity: 1; visibility: visible; }
}

/* ---------- Hero carousel ---------- */
.npc-landing header.header-32 {
  min-height: 0 !important;
  display: block !important;
  overflow: hidden;
}
.afx-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--afx-navy-950);
}
.afx-hero-slides { position: relative; min-height: 620px; }
.afx-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease, visibility 1s;
  background-image: url('/images/bg/c.jpeg');
  background-size: cover;
  background-position: center;
}
.afx-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}
.afx-hero-slide.afx-slide-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,11,26,0.92) 10%, rgba(5,11,26,0.55) 55%, rgba(5,11,26,0.35) 100%);
}
.afx-hero-slide.afx-slide-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10,19,48,0.94) 0%, rgba(22,38,92,0.9) 45%, rgba(59,98,224,0.82) 100%),
    radial-gradient(circle at 85% 20%, rgba(244,183,64,0.25), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(23,185,166,0.22), transparent 45%);
}
.afx-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 150px 0 90px;
}
@media (max-width: 767px) {
  .afx-hero-inner { padding: 130px 0 60px; }
}
.afx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.afx-hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--afx-gold-400);
  box-shadow: 0 0 0 4px rgba(244,183,64,0.25);
}
.afx-hero-title {
  color: #fff;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.afx-hero-title .accent {
  background: var(--afx-gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.afx-hero-copy {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 30px;
}
.afx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.afx-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.afx-hero-nav:hover { background: rgba(255,255,255,0.2); }
.afx-hero-nav.prev { left: 20px; }
.afx-hero-nav.next { right: 20px; }
.afx-hero-nav em { font-size: 20px; }

.afx-hero-dots {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.afx-hero-dots button {
  width: 30px; height: 4px;
  border-radius: 4px;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.afx-hero-dots button.is-active {
  background: var(--afx-gold-400);
  width: 44px;
}

@media (max-width: 767px) {
  .afx-hero, .afx-hero-slides { min-height: 560px; }
  .afx-hero-title { font-size: 2.1rem; }
  .afx-hero-nav { display: none; }
}

/* ---------- Weltrade partnership badge/strip ---------- */
.afx-partner-strip {
  background: var(--afx-navy-950);
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.afx-partner-strip .afx-partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.afx-partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.afx-partner-pill .afx-partner-logo-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--afx-gradient-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--afx-navy-950);
}
.afx-partner-pill .afx-partner-logo-img {
  width: 24px; height: 24px;
  border-radius: 7px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}
.afx-partner-strip p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin: 10px 0 0;
}

.afx-partner-card {
  border-radius: var(--afx-radius-lg);
  background: var(--afx-gradient-brand);
  padding: 34px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.afx-partner-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(244,183,64,0.25), transparent 50%);
}
.afx-partner-card .afx-badge-new {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--afx-gradient-gold);
  color: var(--afx-navy-950);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- Auth pages ---------- */
@media (max-width: 991.98px) {
  .pg-auth .nk-split-content.bg-abstract { display: none; }
}
.pg-auth .nk-block-title { font-weight: 800; letter-spacing: -0.01em; font-size: 1.6rem; }
.pg-auth .form-label { font-weight: 600; font-size: 0.88rem; color: var(--afx-navy-800); }
.pg-auth .form-control,
.pg-auth .form-control-lg {
  border-radius: 12px;
  border-color: #e5e9f2;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.pg-auth .form-control:focus,
.pg-auth .form-control-lg:focus {
  border-color: var(--afx-blue-500);
  box-shadow: 0 0 0 4px rgba(59,98,224,0.12);
}
.pg-auth .btn-block { border-radius: 12px; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.pg-auth .btn-primary.btn-block { background: var(--afx-gradient-brand); }

.afx-pw-strength { margin-top: 10px; }
.afx-pw-strength .bars { display: flex; gap: 5px; margin-bottom: 6px; }
.afx-pw-strength .bars span {
  flex: 1; height: 4px; border-radius: 4px;
  background: #e5e9f2;
  transition: background 0.2s ease;
}
.afx-pw-strength .lbl { font-size: 0.78rem; font-weight: 600; color: #98a2b3; }
.afx-pw-strength[data-level="1"] .bars span:nth-child(1) { background: #e0454c; }
.afx-pw-strength[data-level="1"] .lbl { color: #e0454c; }
.afx-pw-strength[data-level="2"] .bars span:nth-child(-n+2) { background: #f4b740; }
.afx-pw-strength[data-level="2"] .lbl { color: #b7791f; }
.afx-pw-strength[data-level="3"] .bars span:nth-child(-n+3) { background: #3b62e0; }
.afx-pw-strength[data-level="3"] .lbl { color: var(--afx-blue-500); }
.afx-pw-strength[data-level="4"] .bars span { background: var(--afx-teal-500); }
.afx-pw-strength[data-level="4"] .lbl { color: var(--afx-teal-500); }

.afx-kyc-icon-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--afx-gradient-brand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--afx-shadow-soft);
}
.afx-kyc-icon-circle em { font-size: 38px; color: #fff; }

/* ---------- Profile detail lists (admin customer view, profile page) ---------- */
.has-sidebar .profile-ud.wider {
  border-radius: 10px;
  transition: background 0.15s ease;
}
.has-sidebar .profile-ud.wider:hover { background: #f8f9fc; }
.has-sidebar .profile-ud-label { font-weight: 600; color: #98a2b3 !important; }
.has-sidebar .profile-ud-value { color: var(--afx-navy-950) !important; font-weight: 600; }
.afx-profile-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem;
  border-radius: var(--afx-radius-md);
  background: var(--afx-gradient-brand);
  color: #fff;
  margin-bottom: 1.5rem;
}
.afx-profile-header .afx-profile-avatar {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
  flex-shrink: 0;
}
.afx-profile-header h5 { color: #fff; font-weight: 700; margin-bottom: 2px; }
.afx-profile-header p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.88rem; }

/* ---------- Topbar user dropdown ---------- */
.afx-user-avatar {
  background: var(--afx-gradient-brand) !important;
  color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}
.afx-user-avatar-lg { width: 48px; height: 48px; font-size: 1rem; }
.has-sidebar .user-dropdown .user-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--afx-blue-500);
}
.has-sidebar .user-dropdown .user-name { font-weight: 700; }
.afx-user-dropdown {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 50px -18px rgba(10,19,48,0.35);
  overflow: hidden;
  padding: 0;
}
.afx-user-dropdown .user-card-wrap { padding: 1.25rem; }
.afx-user-dropdown .link-list li a {
  padding: 0.7rem 1.25rem;
  transition: background 0.15s ease;
  font-weight: 600;
  font-size: 0.9rem;
}
.afx-user-dropdown .link-list li a:hover { background: #f8f9fc; }
.afx-user-dropdown .link-list li a.text-danger:hover { background: #fdecec; }

/* ---------- Modals (sitewide) ---------- */
.modal-content {
  border: none;
  border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(10,19,48,0.35);
  overflow: hidden;
}
.modal-header {
  border-bottom: 1px solid rgba(15,28,66,0.08);
  padding: 1.35rem 1.75rem;
}
.modal-header .modal-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--afx-navy-950);
}
.modal-header .close {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,28,66,0.06);
  opacity: 1;
  transition: background 0.15s ease;
  font-size: 14px;
}
.modal-header .close:hover { background: rgba(15,28,66,0.12); }
.has-sidebar .modal-header {
  background: var(--afx-gradient-brand);
  border-bottom: none;
}
.has-sidebar .modal-header .modal-title { color: #fff; }
.has-sidebar .modal-header .close {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.has-sidebar .modal-header .close:hover { background: rgba(255,255,255,0.28); }
.has-sidebar .modal-header .close em { color: #fff; }
.modal-body { padding: 1.75rem; }
.modal-footer {
  border-top: 1px solid rgba(15,28,66,0.08);
  padding: 1.1rem 1.75rem;
}
.modal-body h4, .modal-body h5 { font-weight: 700; }
.modal .account-details__wrapper {
  background: #f8f9fc;
  border-radius: 14px;
  border: 1px solid rgba(15,28,66,0.06);
}
.modal .account-details__item .text { color: #98a2b3; font-weight: 600; font-size: 0.85rem; }
.modal .account-details__item .value { font-weight: 700; color: var(--afx-navy-950); }

/* ---------- Status badges (reusable across tables/pages) ---------- */
.afx-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}
.afx-status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.afx-status-badge.st-completed,
.afx-status-badge.st-approved,
.afx-status-badge.st-paid,
.afx-status-badge.st-connected,
.afx-status-badge.st-active { background: #ecfaf7; color: #0d8a72; }
.afx-status-badge.st-completed::before,
.afx-status-badge.st-approved::before,
.afx-status-badge.st-paid::before,
.afx-status-badge.st-connected::before,
.afx-status-badge.st-active::before { background: var(--afx-teal-500); }
.afx-status-badge.st-pending { background: #fff8ec; color: #b7791f; }
.afx-status-badge.st-pending::before { background: var(--afx-gold-500); }
.afx-status-badge.st-declined,
.afx-status-badge.st-failed,
.afx-status-badge.st-cancelled,
.afx-status-badge.st-disconnected { background: #fdecec; color: #c8353b; }
.afx-status-badge.st-declined::before,
.afx-status-badge.st-failed::before,
.afx-status-badge.st-cancelled::before,
.afx-status-badge.st-disconnected::before { background: #e0454c; }
.pg-auth .nk-split-content.bg-abstract {
  position: relative;
  background: var(--afx-gradient-brand);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-auth .nk-split-content.bg-abstract::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(23,185,166,0.25), transparent 45%);
}
.afx-auth-showcase {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 380px;
  padding: 40px;
}
.afx-auth-showcase .afx-badge-new {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--afx-gradient-gold);
  color: var(--afx-navy-950);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.afx-auth-showcase h4 {
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.afx-auth-showcase p { color: rgba(255,255,255,0.78); margin-bottom: 26px; }
.afx-auth-showcase ul { list-style: none; padding: 0; margin: 0; }
.afx-auth-showcase ul li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
}
.afx-auth-showcase ul li:first-child { border-top: none; }
.afx-auth-showcase ul li em {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--afx-gold-400); flex-shrink: 0;
}
.pg-auth .brand-logo { padding-bottom: 1.75rem !important; }
.pg-auth .nk-auth-body .card,
.pg-auth .nk-block-head-content { position: relative; }

/* ---------- Dashboard stat / quick-action cards ---------- */
.afx-dash-stat {
  border-radius: var(--afx-radius-md);
  background: #fff;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  box-shadow: 0 4px 16px -12px rgba(10,19,48,0.2);
  border: 1px solid rgba(15,28,66,0.06);
}
.afx-dash-stat .ic {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.afx-dash-stat .num { font-size: 1.4rem; font-weight: 800; color: var(--afx-navy-950); line-height: 1.1; }
.afx-dash-stat .lbl { font-size: 0.8rem; color: #98a2b3; margin-top: 2px; }
.afx-dash-stat .lbl-sub { font-size: 0.72rem; color: #c8cfdb; margin-top: 1px; font-weight: 600; }
.afx-dash-stat.st-blue .ic { background: var(--afx-gradient-brand); }
.afx-dash-stat.st-gold .ic { background: var(--afx-gradient-gold); color: var(--afx-navy-950); }
.afx-dash-stat.st-teal .ic { background: var(--afx-teal-500); }
.afx-dash-stat.st-purple .ic { background: #6b46c1; }

.afx-quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.1rem;
  border-radius: var(--afx-radius-md);
  background: #fff;
  border: 1px solid rgba(15,28,66,0.08);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}
.afx-quick-action:hover {
  transform: translateY(-3px);
  box-shadow: var(--afx-shadow-soft);
  border-color: transparent;
}
.afx-quick-action .ic {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(59,98,224,0.1);
  color: var(--afx-blue-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.afx-quick-action span { font-weight: 700; font-size: 0.9rem; color: var(--afx-navy-950); }
.afx-quick-action em.arrow { margin-left: auto; color: #c8cfdb; font-size: 14px; }

.afx-kyc-banner {
  border-radius: var(--afx-radius-md);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}
.afx-kyc-banner.status-pending { background: #fff8ec; border: 1px solid #f4d789; }
.afx-kyc-banner.status-approved { background: #ecfaf7; border: 1px solid #a6e8da; }
.afx-kyc-banner.status-declined { background: #fdecec; border: 1px solid #f3b8b8; }
.afx-kyc-banner .ic { font-size: 22px; }
.afx-kyc-banner.status-pending .ic { color: #b7791f; }
.afx-kyc-banner.status-approved .ic { color: var(--afx-teal-500); }
.afx-kyc-banner.status-declined .ic { color: #d0454c; }
.afx-kyc-banner p { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--afx-navy-800); }
.afx-kyc-banner a { font-weight: 700; }

/* ---------- Form controls (dashboard/admin/CMS) ---------- */
.has-sidebar .form-control {
  border-radius: 10px;
  border-color: #e5e9f2;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.has-sidebar .form-control:focus {
  border-color: var(--afx-blue-500);
  box-shadow: 0 0 0 4px rgba(59,98,224,0.12);
}
.has-sidebar .form-label { font-weight: 600; font-size: 0.88rem; }
.has-sidebar .card-bordered .btn-primary { background: var(--afx-gradient-brand); border: none; }

/* ---------- Dashboard polish (app shell) ---------- */
.has-sidebar .nk-header.nk-header-fixed {
  background: #fff;
  box-shadow: 0 4px 18px -12px rgba(10,19,48,0.18);
}
/* Unify the sidebar-head logo strip with the top header bar so the
   top of the page reads as one continuous full-width bar instead of
   a dark sidebar column + white header with a visible seam. */
.has-sidebar .nk-sidebar-head {
  background: #fff;
  border-bottom-color: rgba(15,28,66,0.08) !important;
}
.has-sidebar .nk-sidebar-head .logo-dark { opacity: 1; }
.has-sidebar .nk-menu-trigger a { color: var(--afx-navy-950) !important; }
.has-sidebar .nk-sidebar {
  background: var(--afx-navy-950);
  border-right: none;
}
.has-sidebar .nk-sidebar .nk-sidebar-brand {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.has-sidebar .nk-sidebar-footer {
  background: var(--afx-navy-950) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.has-sidebar .nk-menu-link {
  color: rgba(255,255,255,0.68) !important;
  border-radius: 10px;
  margin: 2px 10px;
}
.has-sidebar .nk-menu-item:hover > .nk-menu-link,
.has-sidebar .nk-menu-item.active > .nk-menu-link {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}
.has-sidebar .nk-menu-link .nk-menu-icon em {
  color: var(--afx-gold-400);
}
.has-sidebar .nk-menu-heading .overline-title {
  color: rgba(255,255,255,0.35) !important;
}
.has-sidebar .nk-menu-sub {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  margin: 0 10px;
}

.has-sidebar .nk-block-title.page-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.has-sidebar .card-title .title {
  font-weight: 700;
}
.has-sidebar .nk-order-ovwg-data {
  border: 1px solid rgba(15,28,66,0.06) !important;
  border-radius: var(--afx-radius-md);
  box-shadow: 0 4px 16px -12px rgba(10,19,48,0.2);
  padding: 1.25rem 1.5rem;
  position: relative;
  padding-left: 4.25rem !important;
}
.has-sidebar .nk-order-ovwg-data::before {
  content: "";
  position: absolute;
  left: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 12px;
}
.has-sidebar .nk-order-ovwg-data.buy::before { background: rgba(23,185,166,0.12); }
.has-sidebar .nk-order-ovwg-data.sell::before { background: rgba(244,183,64,0.15); }
.has-sidebar .nk-order-ovwg-data.buy .title .icon,
.has-sidebar .nk-order-ovwg-data.sell .title .icon {
  position: absolute;
  left: 1.6rem; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}
.has-sidebar .nk-order-ovwg-data .amount { font-weight: 800; }
.has-sidebar .nk-order-ovwg-data.buy .amount { color: var(--afx-teal-500); }
.has-sidebar .nk-order-ovwg-data.sell .amount { color: var(--afx-gold-500); }
.has-sidebar .nk-order-ovwg-data .title { color: #98a2b3; font-weight: 600; }
.has-sidebar .nk-order-ovwg-data .title p { color: #98a2b3; font-weight: 400; }

.has-sidebar .alert-pro.alert-success {
  border-left-color: var(--afx-teal-500);
}

/* Stat / action-center cards get a subtle brand top border */
.has-sidebar .nk-wg-action,
.has-sidebar .card-bordered.card-full {
  position: relative;
}
.has-sidebar .card-inner-group > .card-inner:first-child .card-title .title {
  position: relative;
  padding-left: 14px;
}
.has-sidebar .card-inner-group > .card-inner:first-child .card-title .title::before {
  content: "";
  position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 4px; border-radius: 4px;
  background: var(--afx-gradient-gold);
}

/* ---------- Tables (sitewide) ---------- */
.has-sidebar .nk-tb-list .nk-tb-item.nk-tb-head {
  background: #f8f9fc;
}
.has-sidebar .nk-tb-list .nk-tb-item.nk-tb-head .nk-tb-col span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #98a2b3;
}
.has-sidebar .nk-tb-list .nk-tb-item:not(.nk-tb-head) {
  border-bottom: 1px solid rgba(15,28,66,0.05);
}
.has-sidebar .nk-tb-list .nk-tb-item:not(.nk-tb-head):hover {
  background: #f8faff;
  box-shadow: none;
}
.has-sidebar .nk-tb-col { padding: 0.9rem 0.6rem; }
.has-sidebar .nk-tb-col-tools {
  white-space: nowrap;
}
.has-sidebar .nk-tb-col-tools .btn + .btn { margin-left: 6px; }
.has-sidebar .card-preview {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.has-sidebar .card-preview .nk-tb-list {
  min-width: 900px;
}
.has-sidebar table.table-afx {
  margin-bottom: 0;
}
.has-sidebar table.table-afx thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #98a2b3;
  background: #f8f9fc;
  border-bottom: none;
  white-space: nowrap;
}
.has-sidebar table.table-afx tbody td {
  vertical-align: middle;
  border-color: rgba(15,28,66,0.05);
}
.has-sidebar table.table-afx tbody tr:hover {
  background: #f8faff;
}

.afx-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.afx-empty-state .ic {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(59,98,224,0.08);
  color: var(--afx-blue-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 1.25rem;
}
.afx-empty-state h6 { font-weight: 700; margin-bottom: 6px; }
.afx-empty-state p { color: #98a2b3; font-size: 0.9rem; margin: 0; }

.has-sidebar .dataTables_empty {
  padding: 3rem 1.5rem !important;
  color: #98a2b3;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.npc-landing .footer,
.npc-landing .footer-bottom,
.npc-landing .footer-wrap {
  background: var(--afx-navy-950) !important;
}

/* ==========================================================================
   Phase 2 — Premium homepage overhaul
   ========================================================================== */

:root {
  --afx-ring: rgba(255,255,255,0.14);
  --afx-glass-bg: rgba(255,255,255,0.06);
  --afx-glass-border: rgba(255,255,255,0.16);
}

/* ---------- Reusable section head ---------- */
.afx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--afx-blue-500);
  margin-bottom: 14px;
}
.afx-eyebrow::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--afx-gradient-gold);
  border-radius: 2px;
}
.afx-section-head { margin-bottom: 3rem; }
.afx-section-head h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 2.25rem;
  color: var(--afx-navy-950);
}
.afx-section-head p {
  color: #667085;
  font-size: 1.05rem;
  max-width: 620px;
}
.afx-section-head.text-center p { margin-left: auto; margin-right: auto; }

/* ---------- Nav buttons: lighter, premium ---------- */
.npc-landing .header-main .btn,
.npc-landing .header-main form .btn {
  border-radius: 999px !important;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  font-size: 0.92rem;
}
.npc-landing .header-main .btn-warning {
  background: #fff !important;
  color: var(--afx-navy-950) !important;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.6);
}
.npc-landing .header-main .btn-warning:hover { background: var(--afx-gold-400) !important; transform: translateY(-1px); }
.npc-landing .header-main .btn-primary.bg-white {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: none;
}
.npc-landing .header-main .btn-primary.bg-white:hover { background: rgba(255,255,255,0.18) !important; }
.npc-landing .menu-item .new-icon {
  background: var(--afx-gradient-gold);
  color: var(--afx-navy-950);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Hero v2: split layout with illustration ---------- */
.afx-hero-slide .afx-hero-inner .row { align-items: center; }
.afx-hero-copy-col { text-align: left; }
.afx-hero-copy-col .afx-hero-actions { justify-content: flex-start !important; }
.afx-hero-copy-col.text-center-mobile { text-align: center; }

.afx-hero-illustration {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.afx-hero-illustration .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--afx-ring);
  animation: afx-spin 40s linear infinite;
}
.afx-hero-illustration .ring.ring-2 { inset: 12%; animation-duration: 55s; animation-direction: reverse; }
.afx-hero-illustration .glass-card {
  position: absolute;
  inset: 20%;
  border-radius: 28px;
  background: var(--afx-glass-bg);
  border: 1px solid var(--afx-glass-border);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--afx-shadow-strong);
}
.afx-hero-illustration .glass-card em {
  font-size: 64px;
  color: var(--afx-gold-400);
}
.afx-hero-illustration .glass-card img {
  width: 62%;
  max-width: 130px;
}
.afx-hero-illustration .orbit-dot {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--afx-shadow-soft);
  font-size: 20px;
  color: #fff;
  animation: afx-float 5s ease-in-out infinite;
}
.afx-hero-illustration .orbit-dot.d1 { top: 4%; left: 8%; background: var(--afx-gradient-gold); color: var(--afx-navy-950); animation-delay: 0s; }
.afx-hero-illustration .orbit-dot.d2 { bottom: 10%; right: 2%; background: var(--afx-teal-500); animation-delay: 1.2s; }
.afx-hero-illustration .orbit-dot.d3 { bottom: 0%; left: 18%; background: var(--afx-blue-400); animation-delay: 2.4s; }
.afx-hero-illustration svg.chart-path { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

@keyframes afx-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes afx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 991px) {
  .afx-hero-illustration { max-width: 280px; margin-top: 2rem; }
  .afx-hero-copy-col { text-align: center; }
  .afx-hero-copy-col .afx-hero-actions { justify-content: center !important; }
}

/* ---------- Service / feature cards v2 ---------- */
.afx-card-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}
.nk-body .v-card { position: relative; overflow: hidden; }

.afx-service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.afx-service-card:hover .afx-service-card-cta {
  opacity: 1;
  transform: translateX(0);
}
.afx-service-card-cta em { font-size: 14px; transition: transform 0.2s ease; }
.afx-service-card:hover .afx-service-card-cta em { transform: translateX(3px); }

/* ---------- Feature banner (Refer & Earn / KYC) ---------- */
.afx-feature-banner {
  border-radius: var(--afx-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--afx-shadow-soft);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.afx-feature-banner:hover { transform: translateY(-3px); box-shadow: var(--afx-shadow-strong); }
.afx-feature-banner .afx-fb-inner {
  position: relative;
  z-index: 1;
  padding: 2.75rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 260px;
}
.afx-feature-banner.afx-fb-gold { background: linear-gradient(135deg, #7a5b12 0%, #4a3a10 55%, var(--afx-navy-950) 100%); }
.afx-feature-banner.afx-fb-teal { background: linear-gradient(135deg, #0c4a44 0%, #0c2f4a 55%, var(--afx-navy-950) 100%); }
.afx-feature-banner .afx-fb-copy { color: #fff; flex: 1 1 auto; }
.afx-feature-banner .afx-fb-copy h3 { color: #fff; font-weight: 800; font-size: 1.6rem; margin-bottom: 10px; }
.afx-feature-banner .afx-fb-copy p { color: rgba(255,255,255,0.82); margin-bottom: 20px; max-width: 420px; }
.afx-feature-banner .afx-fb-icon {
  flex: 0 0 auto;
  width: 128px; height: 128px;
  border-radius: 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.afx-feature-banner .afx-fb-icon em { font-size: 56px; color: #fff; }
.afx-feature-banner .afx-fb-icon .badge-mini {
  position: absolute;
  bottom: -10px; right: -10px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--afx-gradient-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--afx-navy-950);
  font-size: 18px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5);
}
@media (max-width: 767px) {
  .afx-feature-banner .afx-fb-inner { flex-direction: column; text-align: center; padding: 2.25rem 1.5rem; }
  .afx-feature-banner .afx-fb-copy p { max-width: 100%; }
}

/* ---------- Official Partners v2 ---------- */
.afx-partners-section { background: #f8f9fc; padding: 5rem 0; }
.afx-partners-section .brand-item,
.npc-landing .footer .brand-item {
  height: 60px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.afx-partners-section .brand-item img,
.npc-landing .footer .brand-item img {
  height: auto !important;
  max-height: 100% !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
}
.npc-landing .footer .partner-images-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.npc-landing .footer .partner-images-section > div {
  height: 48px;
  display: flex;
  align-items: center;
}
.npc-landing .footer .partner-images-section img.w-cust-50 {
  height: auto !important;
  max-height: 100% !important;
  width: auto !important;
  max-width: 110px !important;
  object-fit: contain;
}
.afx-partner-card-v2 {
  background: #fff;
  border-radius: var(--afx-radius-lg);
  padding: 2rem;
  box-shadow: var(--afx-shadow-soft);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(15,28,66,0.06);
}
.afx-partner-card-v2:hover { transform: translateY(-4px); box-shadow: var(--afx-shadow-strong); }
.afx-partner-card-v2 .afx-partner-logo-wrap {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.afx-partner-card-v2 .afx-partner-logo-wrap img { max-width: 60%; max-height: 60%; }
.afx-partner-card-v2 h5 { font-weight: 800; margin-bottom: 4px; }
.afx-partner-card-v2 p { color: #667085; margin-bottom: 8px; font-size: 0.92rem; }
.afx-partner-card-v2 .afx-verified {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700; color: var(--afx-teal-500);
}

/* ---------- About Us ---------- */
.afx-stat-tile {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--afx-radius-md);
  background: #fff;
  box-shadow: var(--afx-shadow-soft);
  height: 100%;
}
.afx-stat-tile .num {
  font-size: 2.1rem;
  font-weight: 800;
  background: var(--afx-gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1;
}
.afx-stat-tile .lbl { color: #667085; font-size: 0.88rem; margin-top: 6px; }

.afx-timeline { position: relative; padding-left: 2.5rem; }
.afx-timeline::before {
  content: "";
  position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--afx-blue-500), var(--afx-gold-500));
}
.afx-timeline-item { position: relative; padding-bottom: 2rem; }
.afx-timeline-item:last-child { padding-bottom: 0; }
.afx-timeline-item::before {
  content: "";
  position: absolute; left: -2.5rem; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--afx-blue-500);
}
.afx-timeline-item .yr { font-weight: 800; color: var(--afx-blue-500); font-size: 0.85rem; letter-spacing: 0.04em; }
.afx-timeline-item h6 { font-weight: 700; margin: 4px 0 4px; }
.afx-timeline-item p { color: #667085; margin: 0; font-size: 0.92rem; }

.afx-value-pill {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(15,28,66,0.08);
}
.afx-value-pill:first-child { border-top: none; }
.afx-value-pill .ic {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(59,98,224,0.1);
  color: var(--afx-blue-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.afx-value-pill h6 { font-weight: 700; margin-bottom: 2px; }
.afx-value-pill p { color: #667085; margin: 0; font-size: 0.9rem; }

/* ---------- Why Choose Us v2 ---------- */
.afx-why-card {
  border-radius: var(--afx-radius-md);
  background: #fff;
  padding: 2rem 1.5rem;
  text-align: left;
  height: 100%;
  box-shadow: 0 4px 16px -12px rgba(10,19,48,0.2);
  border: 1px solid rgba(15,28,66,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.afx-why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--afx-shadow-strong);
  border-color: transparent;
}
.afx-why-card .ic-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 1.25rem;
  background: var(--afx-gradient-brand);
}
.afx-why-card h5 { font-weight: 700; margin-bottom: 8px; }
.afx-why-card p { color: #667085; font-size: 0.92rem; margin: 0; }

/* ---------- FAQ v2 ---------- */
.afx-faq-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 2.5rem;
}
.afx-faq-trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15,28,66,0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--afx-navy-800);
}
.afx-faq-trust-item em { color: var(--afx-teal-500); font-size: 16px; }

/* ---------- Our Services storytelling ---------- */
.afx-onboard-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.afx-onboard-step .step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--afx-gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem;
  margin: 0 auto 1rem;
  box-shadow: var(--afx-shadow-soft);
}
.afx-onboard-step h6 { font-weight: 700; margin-bottom: 6px; }
.afx-onboard-step p { color: #667085; font-size: 0.88rem; margin: 0; }
.afx-onboard-connector {
  position: absolute; top: 26px; left: 50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(15,28,66,0.15) 0 8px, transparent 8px 14px);
  z-index: 0;
}
@media (max-width: 767px) { .afx-onboard-connector { display: none; } }
