/* ==========================================================================
   DefiCard — "Clean Fintech" redesign (soft blue on navy, Manrope)
   Loads AFTER style.css / custom.css. Overrides marketing pages AND kills
   the legacy purple/pink accent everywhere it appears site-wide.

   2026-11-09: palette swapped from gold to this soft-blue "Clean Fintech"
   direction (approved as direction "A" after trying a dark violet/cyan
   "2030" direction first -- that one is reverted). Token NAMES
   (--dc-gold, --dc-navy, ...) are kept as-is on purpose -- every
   component below (and the tenant-color override block in
   resources/views/front/layout.blade.php) already reads off these same
   variables, so changing only the hex values here re-themes the whole
   site without touching a single selector or template. A non-default
   tenant (e.g. EtherWin) is untouched by this file: its own
   primary_color/secondary_color still drive its accent via that same
   override block, so it keeps its own brand colors.
   ========================================================================== */

:root {
  --dc-navy: #14171F;
  --dc-navy-soft: #2B4FE0;
  --dc-navy-deep: #0B0D14;
  --dc-cream: #fffaf0;
  --dc-gold: #2F6FED;
  --dc-gold-light: #6B96F5;
  --dc-gold-deep: #1D4FC0;
  --dc-gold-gradient: linear-gradient(135deg, #4C7CF2 0%, #2F6FED 55%, #1D4FC0 100%);
  --dc-navy-gradient: linear-gradient(135deg, var(--dc-navy-soft), var(--dc-navy) 60%, var(--dc-navy-deep));
  --dc-text-soft: #5B6274;
  --dc-line: rgba(47, 111, 237, 0.28);
}

/* "Clean Fintech" type — Manrope over the body's Poppins, same family used
   in the approved canvas mockup. Additive only (no prior premium.css rule
   set a heading font), so this can't conflict with anything already
   shipped. */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap");
h1, h2, h3,
.ne-card-setup h1, .ne-card-setup h2, .ne-card-setup h3 {
  font-family: "Manrope", "Poppins", sans-serif;
}

/* ==========================================================================
   PURPLE PURGE — kill every legacy magenta/violet accent site-wide
   ========================================================================== */
.btn.btn-primary,
.btn.btn-default:before, .btn.btn-default:after,
.btn.btn-primary:before, .btn.btn-primary:after {
  background: var(--dc-gold-gradient) !important;
}
.btn.btn-primary { color: #ffffff !important; }
.scroll-top,
.comments-icon,
.ne-card-setup .ne-card-steps-wrapper ul li .icon,
.slick-arrow-style button.slick-arrow:hover,
.user-profile .icon,
.ne-card-tabs .nav-tabs li .nav-link.active {
  background: var(--dc-navy-gradient) !important;
}
.support-ticket { border-color: var(--dc-gold) !important; }
.support-card-header { background: var(--dc-navy-gradient) !important; }
.ne-card-tabs .tab-content .qr-code p {
  background: var(--dc-navy-gradient) !important;
  -webkit-background-clip: text;
  background-clip: text;
}
/* The gradient-clipped-text trick above depends on background-clip: text
   actually clipping to the glyph shapes. On some mobile browsers it silently
   doesn't, leaving the full navy gradient as a solid block AND the text
   painted transparent (-webkit-text-fill-color, set in style.css) on top of
   it — i.e. a solid bar with an invisible deposit address, which is exactly
   what happened here. This is the copyable crypto address users have to
   read correctly to send funds, so it can't depend on a fragile CSS effect.
   Force plain, guaranteed-visible text for it specifically. */
.ne-card-tabs .tab-content .qr-code p.qr-address-text {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--dc-navy) !important;
  color: var(--dc-navy) !important;
}
.ne-card-tabs .tab-content .qr-code p.qr-address-text a,
.ne-card-tabs .tab-content .qr-code p.qr-address-text span {
  -webkit-text-fill-color: var(--dc-navy) !important;
  color: var(--dc-navy) !important;
  word-break: break-all;
}

/* ==========================================================================
   Type / utility
   ========================================================================== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--dc-gold-deep);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--dc-line);
  border-radius: 30px;
  padding: 6px 16px;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dc-gold-gradient);
  display: inline-block;
}
.on-dark .section-eyebrow { color: var(--dc-gold-light); background: rgba(212,175,55,0.14); border-color: rgba(212,175,55,0.35); }
.section-sub { max-width: 620px; color: #5b6579; }
.on-dark .section-sub { color: var(--dc-text-soft); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 45px; border: 0; padding: 14px 36px;
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.3px;
  color: var(--dc-navy-deep); background: var(--dc-gold-gradient);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.38);
  transition: all 0.35s ease;
}
.btn-gold:hover { color: var(--dc-navy-deep); transform: translateY(-3px); box-shadow: 0 20px 44px rgba(212,175,55,0.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 45px; border: 1.5px solid rgba(255,255,255,0.35); padding: 13px 34px;
  font-weight: 700; font-size: 14px; text-transform: uppercase; color: #fff; background: transparent;
  transition: all 0.3s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.header-area.header-wide { background: #fff; }
.main-nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.main-nav a {
  font-size: 14px; font-weight: 600; color: var(--dc-navy); letter-spacing: 0.2px;
  position: relative; padding: 6px 0; text-decoration: none;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--dc-gold-gradient); transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }
.nav-toggle-btn { border: 1px solid rgba(15,47,92,0.18); border-radius: 8px; padding: 8px 12px; background: transparent; color: var(--dc-navy); }
@media (min-width: 992px) {
  .header-collapse { flex: 1 1 auto; justify-content: space-between; margin-left: 40px; }
}
@media (max-width: 991px) {
  header .main-header { flex-wrap: wrap; }
  .header-collapse { flex-basis: 100%; width: 100%; }
  .main-nav { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 4px 6px; }
  .header-collapse > .d-flex { padding: 10px 4px 18px; border-top: 1px solid rgba(15,47,92,0.1); margin-top: 6px; }
}

/* ==========================================================================
   3D card component — used across hero / about / final-cta instead of flat images
   ========================================================================== */
.dc-scene { perspective: 1600px; position: relative; }
.dc-card {
  width: 380px; aspect-ratio: 1.586/1;
  border-radius: 24px;
  position: relative;
  color: #fff;
  box-shadow: 0 45px 80px rgba(6, 14, 30, 0.45), 0 10px 25px rgba(6,14,30,0.2);
  transform-style: preserve-3d;
  overflow: hidden;
}
.dc-card.gold { background: var(--dc-gold-gradient); }
.dc-card.navy { background: var(--dc-navy-gradient); }
.dc-card .sheen {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.08) 24%, rgba(255,255,255,0) 48%);
}
.dc-card .mark {
  position: absolute; top: 22px; left: 22px; width: 32px; height: 32px;
  border: 1.6px solid rgba(255,255,255,0.85); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
}
.dc-card.gold .mark { border-color: rgba(36,26,0,0.6); color: #241a00; }
.dc-card .chip {
  position: absolute; top: 44px; right: 74px; width: 42px; height: 31px; border-radius: 7px;
  background: linear-gradient(135deg, #ffe6a3, #d9a83c); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.dc-card .contactless { position: absolute; top: 48px; right: 28px; opacity: 0.9; }
.dc-card .cname { position: absolute; left: 22px; bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; opacity: 0.9; }
.dc-card .cbrand { position: absolute; right: 22px; bottom: 18px; font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.dc-card.gold .cbrand { color: #241a00; }
.dc-card.navy .cbrand { color: #fff; }

@keyframes dcFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
.dc-float { animation: dcFloat 5s ease-in-out infinite; }
.dc-float-slow { animation: dcFloat 6.5s ease-in-out infinite; animation-delay: -2s; }

/* ==========================================================================
   Hero — asymmetric split, diagonal cut into next section, 3D card group
   ========================================================================== */
.dc-hero {
  position: relative;
  background: var(--dc-navy-gradient);
  padding: 130px 0 160px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.dc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 12% 10%, rgba(212,175,55,0.22), transparent 60%),
    radial-gradient(ellipse 600px 500px at 92% 85%, rgba(255,255,255,0.06), transparent 55%);
  pointer-events: none;
}
.dc-hero .container { position: relative; z-index: 1; }
.dc-hero .eyebrow-row { display:flex; gap:10px; margin-bottom: 20px; }
.dc-hero h1 {
  font-size: 56px; font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -0.8px;
  max-width: 620px;
}
.dc-hero h1 .accent {
  background: var(--dc-gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dc-hero p.lead { color: var(--dc-text-soft); font-size: 17px; line-height: 28px; max-width: 480px; margin: 22px 0 32px; }
.dc-hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.dc-hero .stat-row { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.dc-hero .stat-row .stat b { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.dc-hero .stat-row .stat span { font-size: 12px; color: var(--dc-text-soft); text-transform: uppercase; letter-spacing: 1px; }

.dc-hero-scene { position: relative; height: 420px; }
.dc-hero-scene .dc-card { position: absolute; }
.dc-hero-scene .dc-card.card-back {
  width: 340px; top: 10px; right: 10px;
  transform: rotate(9deg);
  filter: brightness(0.94);
}
.dc-hero-scene .dc-card.card-front {
  width: 390px; top: 70px; right: 70px;
  transform: rotate(-7deg);
}
@media (max-width: 991px) {
  .dc-hero-scene { display: none; }
  .dc-hero { padding: 100px 0 120px; clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
  .dc-hero h1 { font-size: 36px; }
}

/* ==========================================================================
   Marquee ticker
   ========================================================================== */
.dc-marquee {
  background: var(--dc-cream);
  border-top: 1px solid var(--dc-line);
  border-bottom: 1px solid var(--dc-line);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.dc-marquee .track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  animation: dcMarquee 26s linear infinite;
}
.dc-marquee .item {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.6px; color: var(--dc-navy);
  text-transform: uppercase;
}
.dc-marquee .item i { color: var(--dc-gold-deep); }
.dc-marquee .dot { color: var(--dc-gold); font-size: 18px; }
@keyframes dcMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section shells
   ========================================================================== */
.dc-section { padding: 110px 0; position: relative; }
.dc-section.tight { padding: 70px 0; }
.dc-section.on-dark {
  background: var(--dc-navy-gradient);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
  margin: -40px 0;
  padding: 150px 0;
}
@media (max-width: 767px) {
  .dc-section { padding: 64px 0; }
  .dc-section.on-dark { padding: 90px 0; clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 98%); }
}

/* ==========================================================================
   Bento feature grid
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.bento-card {
  background: #fff; border: 1px solid #eef1f6; border-radius: 22px; padding: 30px;
  box-shadow: 0 10px 30px rgba(15,47,92,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative; overflow: hidden;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: 0 26px 55px rgba(212,175,55,0.2); }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.tall { grid-row: span 2; }
.bento-card.on-navy { background: var(--dc-navy-gradient); border-color: transparent; }
.bento-card .icon-circle {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--dc-gold-gradient); color: var(--dc-navy-deep); font-size: 21px; margin-bottom: 16px;
}
.bento-card h5 { font-weight: 700; color: var(--dc-navy); margin-bottom: 8px; font-size: 18px; }
.bento-card p { font-size: 14.5px; color: #64708a; margin: 0; }
.bento-card.on-navy h5, .bento-card.on-navy .big-num { color: #fff; }
.bento-card.on-navy p { color: var(--dc-text-soft); }
.bento-card .big-num { font-size: 42px; font-weight: 800; color: var(--dc-navy); line-height: 1; margin-bottom: 6px; }
.bento-card .mini-scene { position: absolute; right: -30px; bottom: -30px; opacity: 0.9; }
@media (max-width: 991px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-4 { grid-column: span 2; }
}
@media (max-width: 575px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2, .bento-card.span-4 { grid-column: span 1; }
}

/* ==========================================================================
   Zig-zag alternating rows
   ========================================================================== */
.zigzag { display: flex; align-items: center; gap: 60px; margin-bottom: 110px; }
.zigzag:last-child { margin-bottom: 0; }
.zigzag.reverse { flex-direction: row-reverse; }
.zigzag .zz-text { flex: 1 1 46%; }
.zigzag .zz-visual { flex: 1 1 46%; display: flex; justify-content: center; }
.zigzag h3 { font-size: 30px; font-weight: 800; color: var(--dc-navy); margin: 14px 0 16px; }
.zigzag p { color: #5b6579; font-size: 15.5px; line-height: 26px; }
.zz-check-list { margin-top: 20px; }
.zz-check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.zz-check-list .dot { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--dc-gold-gradient); color: var(--dc-navy-deep); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.zz-check-list span { font-size: 14.5px; color: #3c4457; font-weight: 500; }
@media (max-width: 900px) {
  .zigzag, .zigzag.reverse { flex-direction: column; gap: 32px; }
  .zigzag .zz-text, .zigzag .zz-visual { flex: 1 1 auto; }
}

/* Abstract visual blobs used instead of stock photography */
.zz-blob {
  width: 320px; height: 320px; border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  background: linear-gradient(160deg, rgba(212,175,55,0.16), rgba(15,47,92,0.08));
  border: 1px solid var(--dc-line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.zz-blob i { font-size: 92px; color: var(--dc-navy); }
.zz-blob.on-dark { background: linear-gradient(160deg, rgba(212,175,55,0.18), rgba(255,255,255,0.04)); border-color: rgba(212,175,55,0.35); }
.zz-blob.on-dark i { color: var(--dc-gold); }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stat-glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(3px);
  height: 100%;
}
.stat-glass b { display: block; font-size: 38px; font-weight: 800; color: #fff; }
.stat-glass span { font-size: 12.5px; color: var(--dc-text-soft); text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   Use-case horizontal rail
   ========================================================================== */
.uc-rail {
  display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.uc-rail::-webkit-scrollbar { height: 6px; }
.uc-rail::-webkit-scrollbar-thumb { background: var(--dc-line); border-radius: 6px; }
.uc-card {
  flex: 0 0 260px; scroll-snap-align: start;
  background: var(--dc-cream); border: 1px solid #f0ede1; border-radius: 20px; padding: 30px 24px;
  transition: all 0.3s ease;
}
.uc-card:hover { background: #fff; box-shadow: 0 20px 44px rgba(212,175,55,0.18); transform: translateY(-4px); }
.uc-card i {
  font-size: 26px; color: var(--dc-navy); width: 56px; height: 56px; line-height: 56px;
  border-radius: 50%; background: rgba(212,175,55,0.16); display: inline-block; text-align: center; margin-bottom: 14px;
}
.uc-card h6 { font-weight: 700; color: var(--dc-navy); margin-bottom: 6px; }
.uc-card p { font-size: 13.5px; color: #6b7488; margin: 0; }

/* ==========================================================================
   Testimonials — overlapping stack
   ========================================================================== */
.testi-wrap { position: relative; max-width: 900px; margin: 50px auto 0; }
.testi-card {
  background: #fff; border: 1px solid #f0ede1; border-radius: 20px; padding: 36px 34px;
  box-shadow: 0 24px 60px rgba(15,47,92,0.1);
  position: relative;
}
.testi-card p { font-size: 17px; line-height: 28px; color: #3c4457; }
.testi-card p::before {
  content: "\201C"; font-size: 54px; color: var(--dc-gold); line-height: 0; display: block; margin-bottom: 10px; font-family: Georgia, serif;
}
.testi-card h6 { color: var(--dc-navy); margin-top: 14px; font-weight: 700; }
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.testi-nav button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--dc-line); padding: 0; cursor: pointer;
}
.testi-nav button.active { background: var(--dc-gold-gradient); width: 26px; border-radius: 6px; transition: all 0.3s ease; }

/* ==========================================================================
   Final CTA — breakout 3D card
   ========================================================================== */
.final-break {
  position: relative;
  background: var(--dc-navy-gradient);
  border-radius: 32px;
  padding: 80px 40px 60px;
  text-align: center;
  overflow: visible;
  box-shadow: 0 40px 90px rgba(8,27,52,0.35);
}
.final-break .dc-card { margin: -160px auto 30px; position: relative; }
.final-break h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.final-break p { color: var(--dc-text-soft); max-width: 520px; margin: 0 auto 28px; }
@media (max-width: 767px) {
  .final-break .dc-card { display: none; }
  .final-break { padding: 50px 24px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer#footer { background: var(--dc-navy-gradient); }
.footer-col h6 { color: var(--dc-gold-light); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--dc-text-soft); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--dc-gold-light); }

/* Fix: fixed header (position:fixed, ~189px tall) was overlapping the
   Terms of Services page content, which had no top offset to clear it. */
.terms-of-services { padding-top: 210px; }

/* ==========================================================================
   Panel purple purge — the marketing-page purge above never reached the
   signed-in account panel (Account / Card Payment / KYC / Shipping /
   Activation / Load / Transactions). Those tabs still carry the old
   magenta→violet gradient (#d91cc2 → #7d2cfd) on step circles, icons and
   highlights, which is why the panel still reads as a different, older
   product than the marketing site. Brings it onto the same navy + gold
   system, one declaration per leftover spot (no selector rewritten, so
   nothing here can change layout — only color).
   ========================================================================== */
.ne-card-setup .ne-card-steps-wrapper ul li .icon,
.ne-card-setup .ne-card-steps-wrapper ul li a:hover,
.ne-card-tabs .nav-tabs li .nav-link.active::before,
.dash-step-num,
.faq-bot-msg.user {
  background: var(--dc-navy-gradient) !important;
  color: #fff !important;
}
#networkSelect label:hover { border-color: var(--dc-gold) !important; }
#networkSelect label:has(input:checked) { border-color: var(--dc-gold-deep) !important; }
#cardPurchase .btn.btn-default.border:hover { border-color: var(--dc-gold-deep) !important; }
.dash-shipping-tier:has(.form-check-input:checked) { border-color: var(--dc-gold-deep) !important; }
.dash-highlight-box { border-left: 4px solid var(--dc-gold) !important; }

#cardActivation .card-application-icon,
#cardTransactions .card-application-icon,
#kycVerification .card-application-icon,
#cardShipping .card-application-icon,
.kyc-status-retry,
.dash-tracking-number,
.dash-tier-price {
  color: var(--dc-navy) !important;
}
#cardActivation .card-application-icon,
#cardTransactions .card-application-icon,
#kycVerification .card-application-icon,
#cardShipping .card-application-icon {
  background: rgba(212, 175, 55, 0.14) !important;
}

/* Panel chrome: lift the plain white step cards (Account, KYC, etc.) and the
   balance/summary cards to match the marketing site's soft-shadow, rounded
   language instead of flat Bootstrap defaults. */
.dashboard-intro-card {
  border: 1px solid #eef1f6;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 47, 92, 0.06);
}
.dash-step-num {
  box-shadow: 0 8px 20px rgba(15, 47, 92, 0.25);
}
.ne-card-tabs .nav-tabs li .nav-link.active::before {
  box-shadow: 0 6px 16px rgba(15, 47, 92, 0.3) !important;
}
.btn-primary,
#cardPurchase .btn.btn-primary,
.dash-step-body .btn.btn-primary {
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.3);
}
.dash-balance-value {
  color: var(--dc-navy);
}

/* Remaining off-brand leftovers in the panel: a brownish divider/focus
   color (rgba(157,77,31) / rgba(60,24,4)) that predates the navy+gold
   system and was never swapped when the rest of the panel was. */
.ne-card-tabs .tab-content {
  border-bottom-color: var(--dc-line) !important;
}
.ne-form .form-control:focus,
.ne-form .form-upload label:focus-within {
  border-color: var(--dc-gold-deep) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22) !important;
}

/* Soft depth behind the panel instead of flat white, matching the
   cream/navy radial wash used on the marketing hero -- subtle enough not
   to compete with the forms themselves. */
.ne-card-tabs {
  background:
    radial-gradient(ellipse 900px 500px at 8% 0%, rgba(212, 175, 55, 0.06), transparent 55%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(15, 47, 92, 0.04), transparent 55%),
    var(--dc-cream);
}

/* ==========================================================================
   Dashboard home tab — overview landing page for the signed-in panel
   (status at a glance + the virtual card), ahead of the setup wizard.
   ========================================================================== */
.dash-home-greeting h4 { color: var(--dc-navy); font-weight: 800; }

.dash-status-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 36px;
}
.dash-status-chip {
  flex: 1 1 200px;
  border-radius: 16px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #eef1f6;
  box-shadow: 0 10px 30px rgba(15, 47, 92, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-status-label { font-size: 13px; color: #8a93a6; font-weight: 600; }
.dash-status-value { font-size: 19px; font-weight: 800; color: var(--dc-navy); }
.dash-status-chip.is-ok .dash-status-value { color: #1a8f5e; }
.dash-status-chip.is-pending .dash-status-value { color: var(--dc-gold-deep); }
.dash-status-chip.is-none .dash-status-value { color: #9aa3b5; }

.dash-home-setup-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--dc-navy-gradient);
  border-radius: 20px;
  padding: 28px 30px;
  color: #fff;
}
/* Scoped to .ne-card-tabs .tab-content to out-specify style.css's
   .ne-card-tabs .tab-content h5/p rules (#343434), which otherwise beat
   these on specificity and rendered dark text on this dark navy card. */
.ne-card-tabs .tab-content .dash-home-setup-prompt h5 { color: #fff !important; font-weight: 700; }
.ne-card-tabs .tab-content .dash-home-setup-prompt .dash-subtitle-lead { color: var(--dc-text-soft) !important; }

.dash-home-card-row {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.dash-home-card-visual .dc-card { margin: 0; }
.dash-home-card-actions { flex: 1 1 320px; }
.dash-home-card-number {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--dc-navy);
  margin-bottom: 18px;
}
.dash-home-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn-ghost-navy {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 45px; border: 1.5px solid rgba(15, 47, 92, 0.25); padding: 13px 30px;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px;
  color: var(--dc-navy); background: transparent; transition: all 0.3s ease;
}
.btn-ghost-navy:hover { background: rgba(15, 47, 92, 0.06); color: var(--dc-navy); }
@media (max-width: 767px) {
  .dash-home-card-row { gap: 24px; }
  .dash-home-setup-prompt { padding: 22px 20px; }
}

/* ==========================================================================
   Dashboard home — "Clean Fintech" (A) layout: card stacked with a
   balance card and a KYC chip in a left column, a Recent Activity card
   in a right column. Replaces the old single dark .dash-glass-panel
   (card + an absolutely-positioned balance chip overlapping it) per
   user feedback, matching the approved canvas mockup's structure.
   ========================================================================== */
.dash-home-grid {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.dash-home-col-left {
  flex: 1 1 360px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dash-home-col-right {
  flex: 2 1 480px;
  min-width: 0;
}
.dash-card-visual-wrap .dc-card { margin: 0 0 16px; }
.dash-card-visual-wrap .dash-home-card-number {
  margin-bottom: 0;
  text-align: center;
}

.dash-balance-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 47, 92, 0.05);
  display: flex;
  flex-direction: column;
}
.dash-balance-card-label { font-size: 13px; color: #8a93a6; font-weight: 600; }
.dash-balance-card-value {
  font-size: 34px;
  font-weight: 800;
  color: var(--dc-navy);
  margin-top: 4px;
}
.dash-balance-card .dash-home-action-buttons { margin-top: 18px; }
.dash-balance-card .btn { flex: 1; text-align: center; justify-content: center; }

.dash-kyc-chip {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(15, 47, 92, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-kyc-chip-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #eef1f6; color: #9aa3b5;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dash-kyc-chip.is-ok .dash-kyc-chip-icon { background: rgba(26, 143, 94, 0.12); color: #1a8f5e; }
.dash-kyc-chip-title { font-size: 13.5px; font-weight: 700; color: var(--dc-navy); }
.dash-kyc-chip-sub { font-size: 12px; color: #8a93a6; }

.dash-activity-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 47, 92, 0.05);
  height: 100%;
  box-sizing: border-box;
}
.dash-activity-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--dc-navy);
  margin-bottom: 6px;
}
.dash-activity-head a { font-size: 13px; font-weight: 600; color: var(--dc-gold); text-decoration: none; }
.dash-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2f6;
}
.dash-activity-row:last-child { border-bottom: none; }
.dash-activity-row-left { display: flex; align-items: center; gap: 12px; }
.dash-activity-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #f0f2f6; color: var(--dc-navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px;
}
.dash-activity-icon.is-ok { background: rgba(26, 143, 94, 0.12); color: #1a8f5e; }
.dash-activity-label { font-size: 13.5px; font-weight: 700; color: var(--dc-navy); }
.dash-activity-sub { font-size: 12px; color: #8a93a6; }
.dash-activity-amount { font-size: 14px; font-weight: 700; color: var(--dc-navy); }
.dash-activity-amount.is-ok { color: #1a8f5e; }
.dash-activity-empty { color: #8a93a6; font-size: 13.5px; padding: 10px 0; }
@media (max-width: 767px) {
  .dash-home-col-left { max-width: none; }
}

/* Card Activation tab: replaces a stock Visa-card photo on a purple glow
   with the same navy/gold 3D card used on the dashboard and marketing
   site, so "your card" reads as the actual product, not a stock photo. */
.dash-activation-card-visual {
  display: flex;
  justify-content: center;
  padding: 20px 0 30px;
}

/* ==========================================================================
   Dashboard glass panel — a dark, layered backdrop behind the virtual
   card (soft blurred navy/gold blobs + a translucent glass balance chip
   overlapping the card), instead of the card sitting on plain white.
   ========================================================================== */
.dash-glass-panel {
  position: relative;
  background: var(--dc-navy-gradient);
  border-radius: 28px;
  padding: 56px 48px;
  overflow: hidden;
  isolation: isolate;
}
.dash-glass-blob {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.dash-glass-blob.blob-gold {
  background: var(--dc-gold);
  top: -110px;
  right: -40px;
}
.dash-glass-blob.blob-navy {
  background: #3a6bc4;
  bottom: -120px;
  left: -40px;
  opacity: 0.25;
}
.dash-glass-panel .dash-home-card-row {
  position: relative;
  z-index: 1;
}
.dash-home-card-visual {
  position: relative;
}
/* Solid-enough navy glass (not light/translucent) so the chip reads the
   same whether it's sitting over the gold card or the dark backdrop --
   a light translucent chip picked up whatever color was behind it and
   became illegible over the gold card.
   2026-11-09: moved out of the card's footprint per user feedback -- it
   was absolutely positioned over the bottom of the card, covering the
   cardholder name/brand text. Now sits in normal flow just below the
   card instead of overlapping it. */
.dash-glass-balance-chip {
  position: static;
  margin: 16px auto 0;
  min-width: 240px;
  max-width: 100%;
  background: rgba(8, 27, 52, 0.78);
  border: 1px solid rgba(47, 111, 237, 0.35);
  border-radius: 16px;
  padding: 14px 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(6, 14, 30, 0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.dash-glass-balance-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}
.dash-glass-balance-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.dash-home-card-actions {
  padding-top: 26px;
  position: relative;
  z-index: 2;
}
.dash-glass-panel .dash-home-card-number {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  font-weight: 700;
}
.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 45px; border: 1.5px solid rgba(255, 255, 255, 0.35); padding: 13px 30px;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px;
  color: #fff; background: transparent; transition: all 0.3s ease;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
@media (max-width: 575px) {
  .dash-glass-panel { padding: 44px 24px; }
}

/* ==========================================================================
   Application-form section grouping — the KYC form (and other long
   .ne-form forms) listed every field in one flat grid with no visual
   breaks. Section titles group related fields the way a well-designed
   application form does, without changing any field, name, or logic.
   ========================================================================== */
.dash-form-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dc-gold-deep);
  padding-bottom: 10px;
  margin: 8px 0 18px;
  border-bottom: 1px solid var(--dc-line);
}
.dash-form-section-title:first-child { margin-top: 0; }
.ne-form .row > .col-12 + .col-lg-4,
.ne-form .row > .col-12:not(:first-child) {
  margin-top: 4px;
}
