:root {
  --nero-bg: #070a13;
  --nero-bg-2: #0d1222;
  --nero-surface: #12182a;
  --nero-surface-2: #182036;
  --nero-sidebar: #0b1020;
  --nero-card: rgba(18, 24, 42, .88);
  --nero-card-solid: #151c31;
  --nero-border: rgba(148, 163, 184, .18);
  --nero-border-strong: rgba(148, 163, 184, .30);
  --nero-text: #f4f7fb;
  --nero-muted: #9aa8bd;
  --nero-primary: #2978ff;
  --nero-primary-2: #7c3aed;
  --nero-cyan: #20d6ff;
  --nero-success: #22c55e;
  --nero-warning: #facc15;
  --nero-danger: #fb7185;
  --nero-radius-sm: .85rem;
  --nero-radius: 1.15rem;
  --nero-radius-lg: 1.6rem;
  --nero-shadow: 0 20px 60px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -10%, rgba(41, 120, 255, .30), transparent 28rem),
    radial-gradient(circle at 86% 4%, rgba(124, 58, 237, .22), transparent 30rem),
    linear-gradient(135deg, var(--nero-bg) 0%, #0a1020 50%, #05070d 100%);
  color: var(--nero-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 68%);
  z-index: -1;
}

img, svg, video, canvas { max-width: 100%; height: auto; }
a { color: #93c5fd; overflow-wrap: anywhere; }
a:hover { color: #bfdbfe; }
h1, .h1 { font-weight: 850; letter-spacing: -.045em; line-height: 1.05; }
h2, .h2, h3, .h3 { font-weight: 780; letter-spacing: -.03em; }
.text-secondary { color: var(--nero-muted) !important; }

.page-loader {
  position: fixed;
  inset: 0;
  place-items: center;
  background: rgba(5, 8, 16, .68);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
  z-index: 3000;
}
.page-loader.is-active { display: grid !important; opacity: 1; visibility: visible; }
.loader-card {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .95rem 1.2rem;
  border: 1px solid var(--nero-border-strong);
  border-radius: 999px;
  background: rgba(13, 18, 34, .96);
  box-shadow: var(--nero-shadow);
  font-weight: 800;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.auth-card-shell {
  width: min(100%, 980px);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  border: 1px solid var(--nero-border);
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(12, 17, 31, .78);
  box-shadow: 0 30px 100px rgba(0,0,0,.48);
  backdrop-filter: blur(20px);
}
.auth-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.2rem);
  background:
    linear-gradient(140deg, rgba(41, 120, 255, .92), rgba(124, 58, 237, .82)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 22rem);
}
.auth-hero::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}
.eyebrow {
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.auth-hero-title { max-width: 12ch; font-size: clamp(2.4rem, 4.5vw, 4.35rem); }
.auth-hero-text { max-width: 34rem; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.auth-benefits { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }
.auth-benefits span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem .85rem;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 800;
}
.auth-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.auth-form-panel > .row,
.auth-form-panel > .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  margin: 0;
  padding: 0;
}
.auth-form-panel .card {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.auth-form-panel .card-body { padding: 0 !important; }
.auth-form-panel h1, .auth-form-panel .h3 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1.35rem !important; }
.auth-form-panel .form-control { min-height: 3.25rem; }
.auth-form-panel .btn { min-height: 3.15rem; }
.auth-links a { font-weight: 800; text-decoration: none; }
.auth-brand-mobile { display: none; }

.brand-mark { min-width: 0; }
.brand-logo {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  box-shadow: 0 12px 34px rgba(0,0,0,.20);
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: .25rem; }
.brand-logo-lg { width: 84px; height: 84px; border-radius: 26px; }
.brand-logo--fallback::before {
  content: "N";
  color: #fff;
  font-weight: 950;
  font-size: 1.45rem;
}
.brand-logo-lg.brand-logo--fallback::before { font-size: 2.6rem; }
.brand-text { font-weight: 950; letter-spacing: .06em; white-space: nowrap; }

.glass,
.metric,
.package-card,
.card,
.modal-content {
  background: var(--nero-card);
  border: 1px solid var(--nero-border);
  border-radius: var(--nero-radius);
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}
.card .card { box-shadow: none; background: rgba(255,255,255,.035); }

.card .card { box-shadow: none; background: rgba(255,255,255,.035); }

.nero-navbar {
  min-height: 76px;
  background: rgba(13, 18, 34, .92);
  border-bottom: 1px solid var(--nero-border);
  box-shadow: 0 14px 34px rgba(0,0,0,.20);
  backdrop-filter: blur(18px);
}
.nero-navbar .brand-logo { width: 38px; height: 38px; border-radius: 13px; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(41,120,255,.25); }

.app-shell { min-height: calc(100vh - 76px); }
.sidebar {
  min-height: calc(100vh - 76px);
  background: rgba(9, 14, 28, .92);
  border-right: 1px solid var(--nero-border);
}
.sidebar-nav { padding: 1rem .8rem; }
.sidebar a {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #c6d3e8;
  text-decoration: none;
  padding: .85rem .95rem;
  border-radius: 1rem;
  line-height: 1.2;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  font-weight: 750;
}
.sidebar a i { width: 1.25rem; color: #8fb6e8; text-align: center; transition: color .18s ease; }
.sidebar-section-title {
  color: #9fb6d6;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin: .45rem .95rem .65rem;
  text-transform: uppercase;
}
.sidebar a:hover,
.sidebar a:focus,
.sidebar a.active {
  background: linear-gradient(135deg, rgba(41,120,255,.22), rgba(124,58,237,.16));
  color: #fff;
  transform: translateX(2px);
}
.sidebar a.active::before {
  content: "";
  position: absolute;
  left: -.35rem;
  width: .25rem;
  height: 1.45rem;
  border-radius: 999px;
  background: linear-gradient(var(--nero-primary), var(--nero-cyan));
}
.sidebar a:hover i,
.sidebar a:focus i,
.sidebar a.active i { color: #fff; }
.app-main { min-width: 0; background: rgba(3, 6, 13, .28); }
.content-frame { padding: clamp(1.25rem, 2.4vw, 2.2rem); }
.content-frame > h1:first-child { margin-bottom: 1.35rem !important; }

.btn {
  border-radius: .9rem;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--nero-primary), #1967ef 52%, var(--nero-primary-2));
  box-shadow: 0 13px 28px rgba(41,120,255,.28);
}
.btn-danger { border: 0; background: linear-gradient(135deg, #ef4444, #be123c); }
.btn-outline-light { border-color: rgba(226,232,240,.35); color: #f8fafc; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.52); color: #fff; }

.form-control,
.form-select {
  border-radius: .95rem;
  border-color: rgba(148,163,184,.28);
  background-color: rgba(8, 13, 28, .86);
  color: var(--nero-text);
  font-weight: 650;
}
.form-control::placeholder { color: #8190a6; }
.form-control:focus,
.form-select:focus {
  border-color: rgba(41,120,255,.78);
  box-shadow: 0 0 0 .22rem rgba(41,120,255,.18);
}
.form-label { color: #dce8f8; font-weight: 800; }

.metric {
  position: relative;
  min-height: 112px;
  padding: 1.25rem;
  overflow: hidden;
}
.metric::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(41,120,255,.12), transparent 52%);
  pointer-events: none;
}
.metric span { color: var(--nero-muted); font-size: .94rem; }
.metric strong { display: block; margin-top: .35rem; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; overflow-wrap: anywhere; }

.package-card {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.package-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nero-primary), var(--nero-cyan), var(--nero-primary-2));
}
.package-card:hover { transform: translateY(-5px); border-color: rgba(41,120,255,.48); box-shadow: 0 22px 70px rgba(0,0,0,.34); }
.package-card p { overflow-wrap: anywhere; color: #c7d2e2; }
.package-credits { font-size: clamp(2.5rem, 4.3vw, 3.4rem); font-weight: 850; letter-spacing: -.06em; }

.admin-shortcuts a { color: var(--nero-text); text-decoration: none; border: 1px solid var(--nero-border); background: var(--nero-card); transition: .18s ease; }
.admin-shortcuts a:hover,
.admin-shortcuts a:focus { border-color: rgba(41,120,255,.5); transform: translateY(-3px); }
.admin-shortcuts i { color: var(--nero-cyan); font-size: 1.45rem; margin-bottom: .75rem; }

.responsive-table {
  border-radius: var(--nero-radius);
  border: 1px solid var(--nero-border);
  overflow: hidden;
  background: rgba(13, 18, 34, .84);
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
}
.responsive-table .table { margin-bottom: 0; }
.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255,255,255,.035);
  --bs-table-hover-bg: rgba(41,120,255,.08);
  --bs-table-border-color: rgba(148,163,184,.16);
  color: #edf3fb;
}
.table > :not(caption) > * > * { padding: .9rem 1rem; vertical-align: middle; }
.table thead th { color: #dbeafe; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.035); }
.badge { border-radius: 999px; padding: .45rem .65rem; font-weight: 850; }

.alert { border: 1px solid var(--nero-border); border-radius: var(--nero-radius); box-shadow: 0 16px 42px rgba(0,0,0,.18); }
.alert-info { background: rgba(14,165,233,.13); color: #dff7ff; }
.alert-warning { background: rgba(250,204,21,.14); color: #fff5ce; }
.alert-secondary { background: rgba(148,163,184,.12); color: #e5edf9; }
.alert-success { background: rgba(34,197,94,.14); color: #dcfce7; }
.alert-danger { background: rgba(251,113,133,.14); color: #ffe4e6; }

.modal-content { background: rgba(12, 17, 31, .98); }
.modal-header, .modal-footer { border-color: var(--nero-border); }
.responsive-pre { max-width: 100%; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.responsive-form-card { max-width: 760px; }
.dt-container { max-width: 100%; padding: 1rem; }
.dt-container .row { row-gap: .75rem; }
.dt-container .dt-search { text-align: left !important; }
.dt-container .dt-search input { max-width: 100%; }
.swal2-popup.nero-swal { border: 1px solid var(--nero-border); border-radius: 1.25rem; background: rgba(12,17,31,.98); color: var(--nero-text); box-shadow: var(--nero-shadow); }
.swal2-popup.nero-swal .swal2-title { color: #fff; }
.swal2-popup.nero-swal .swal2-html-container { color: var(--nero-muted); }
.is-submitting { pointer-events: none; opacity: .86; }

@media (min-width: 992px) {
  .app-shell > .row { flex-wrap: nowrap; }
  .sidebar { display: block !important; position: sticky; top: 76px; align-self: flex-start; flex: 0 0 280px; width: 280px; max-width: 280px; }
  .app-main { flex: 1 1 auto; width: calc(100% - 280px); max-width: calc(100% - 280px); }
  .navbar-toggler { display: none; }
  .responsive-form-card { max-width: 680px; }
}

@media (max-width: 991.98px) {
  .auth-card-shell { min-height: auto; grid-template-columns: 1fr; width: min(100%, 520px); }
  .auth-hero { display: none; }
  .auth-brand-mobile { display: block; }
  .auth-form-panel { padding: 2rem; }
  .sidebar { min-height: auto; border-right: 0; border-bottom: 1px solid var(--nero-border); }
  .sidebar-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .sidebar a { background: rgba(255,255,255,.035); padding: .85rem; }
  .sidebar a:hover, .sidebar a:focus, .sidebar a.active { transform: none; }
  .sidebar-section-title { grid-column: 1 / -1; margin: .5rem .25rem .1rem; }
  .content-frame { padding: 1rem; }
  .package-card:hover { transform: none; }
}

@media (max-width: 575.98px) {
  body { font-size: .95rem; }
  .auth-page { padding: 1rem; place-items: start center; }
  .auth-card-shell { border-radius: 1.35rem; }
  .auth-form-panel { padding: 1.35rem; }
  .auth-links { flex-direction: column; align-items: stretch; gap: .65rem !important; }
  .auth-links a { display: block; padding: .75rem; border-radius: .85rem; background: rgba(255,255,255,.05); text-align: center; }
  .brand-text { font-size: .95rem; }
  .navbar > .container-fluid { gap: .5rem; }
  .navbar-brand { font-size: 1rem; }
  .sidebar-nav { grid-template-columns: 1fr; }
  .content-frame { padding: .9rem; }
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.4rem; }
  .glass .card-body, .card-body { padding: 1rem !important; }
  .metric { padding: 1rem; min-height: 96px; }
  .btn-fluid-mobile { width: 100%; }
  .responsive-table { margin-left: -.25rem; margin-right: -.25rem; width: calc(100% + .5rem); }
  .dt-container .row > div { width: 100%; text-align: left !important; }
  .dt-container .dt-length select { width: auto; display: inline-block; }
  .dt-container .dt-search input { width: 100%; margin-left: 0; margin-top: .35rem; }
  .dataTables_wrapper, .dt-container { overflow-x: auto; }
  .table { font-size: .9rem; }
}

.payment-card {
  border-color: rgba(41, 120, 255, .26);
  box-shadow: 0 26px 78px rgba(0, 0, 0, .32);
}
.payment-total-box {
  min-width: 170px;
  padding: .85rem 1rem;
  border: 1px solid var(--nero-border);
  border-radius: var(--nero-radius);
  background: rgba(255, 255, 255, .045);
}
.payment-total-box span {
  display: block;
  color: var(--nero-muted);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.payment-total-box strong {
  display: block;
  margin-top: .15rem;
  font-size: 1.35rem;
}
.payment-method-panel,
.stripe-payment-shell {
  border: 1px solid var(--nero-border);
  border-radius: var(--nero-radius);
  background: linear-gradient(135deg, rgba(41, 120, 255, .11), rgba(124, 58, 237, .08)), rgba(9, 13, 25, .68);
}
.payment-method-panel { padding: 1rem; }
.payment-method-icon {
  flex: 0 0 auto;
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--nero-primary), var(--nero-primary-2));
  box-shadow: 0 12px 34px rgba(41, 120, 255, .28);
  color: #fff;
  font-size: 1.1rem;
}
.payment-safe-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  padding: 0;
  list-style: none;
}
.payment-safe-list li {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 48px;
  padding: .65rem .75rem;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: .9rem;
  background: rgba(255, 255, 255, .04);
  color: #dbeafe;
  font-size: .9rem;
  font-weight: 750;
}
.payment-safe-list i { color: var(--nero-cyan); }
.stripe-payment-shell {
  padding: 1rem;
  background: rgba(11, 16, 31, .92);
}
#stripePaymentElement {
  min-height: 112px;
}

@media (max-width: 767.98px) {
  .payment-safe-list { grid-template-columns: 1fr; }
  .payment-total-box { width: 100%; }
}

.profile-form-card { max-width: 100%; }
.profile-avatar {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--nero-primary), var(--nero-primary-2));
  box-shadow: 0 12px 34px rgba(41, 120, 255, .26);
}
.profile-avatar--security { background: linear-gradient(135deg, #0ea5e9, #22c55e); }
.profile-summary-list {
  display: grid;
  gap: .75rem;
}
.profile-summary-list div {
  padding: .85rem 1rem;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .04);
}
.profile-summary-list span {
  display: block;
  color: var(--nero-muted);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-summary-list strong {
  display: block;
  margin-top: .2rem;
  overflow-wrap: anywhere;
}

#neroToastRegion {
  z-index: 3600;
  max-width: min(420px, calc(100vw - 1rem));
}
.nero-action-toast {
  --bs-toast-bg: rgba(13, 18, 34, .98);
  --bs-toast-color: #f8fafc;
  min-width: min(360px, calc(100vw - 2rem));
  border: 1px solid var(--nero-border-strong) !important;
  border-radius: 1.1rem;
  color: #f8fafc;
  backdrop-filter: blur(18px);
}
.nero-action-toast::before {
  content: "";
  display: block;
  height: 4px;
  border-radius: 1.1rem 1.1rem 0 0;
  background: linear-gradient(90deg, var(--nero-primary), var(--nero-primary-2), var(--nero-cyan));
}
.nero-action-toast__icon {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border-radius: .75rem;
  background: rgba(255, 255, 255, .08);
  font-size: 1.05rem;
}
.nero-action-toast__title { color: #fff; }
.nero-action-toast__text { color: #cbd5e1 !important; line-height: 1.45; }

.settings-tabs-shell {
  background: linear-gradient(135deg, rgba(41, 120, 255, .10), rgba(124, 58, 237, .08)), rgba(12, 17, 31, .72);
}
.settings-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.settings-tabs .nav-item { min-width: 0; }
.settings-tabs .nav-link {
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon title" "icon description";
  align-items: center;
  column-gap: .8rem;
  row-gap: .1rem;
  padding: .95rem 1rem;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .04);
  color: #dbeafe;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.settings-tabs .nav-link i {
  grid-area: icon;
  width: 2.45rem;
  height: 2.45rem;
  display: inline-grid;
  place-items: center;
  border-radius: .9rem;
  background: rgba(41, 120, 255, .16);
  color: #93c5fd;
}
.settings-tabs .nav-link span {
  grid-area: title;
  min-width: 0;
  font-weight: 900;
}
.settings-tabs .nav-link small {
  grid-area: description;
  min-width: 0;
  color: var(--nero-muted);
  font-weight: 700;
}
.settings-tabs .nav-link:hover,
.settings-tabs .nav-link:focus {
  border-color: rgba(147, 197, 253, .42);
  background: rgba(41, 120, 255, .10);
  transform: translateY(-1px);
}
.settings-tabs .nav-link.active {
  border-color: rgba(147, 197, 253, .62);
  background: linear-gradient(135deg, rgba(41, 120, 255, .34), rgba(124, 58, 237, .26));
  box-shadow: 0 18px 42px rgba(41, 120, 255, .16);
  color: #fff;
}
.settings-tabs .nav-link.active i {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.settings-tabs .nav-link.active small { color: rgba(255, 255, 255, .74); }
.settings-section-card { max-width: 100%; }
.settings-kicker {
  display: inline-flex;
  margin-bottom: .45rem;
  color: #93c5fd;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.settings-preview { overflow-wrap: anywhere; }
.settings-tab-content .tab-pane:focus { outline: none; }

@media (max-width: 767.98px) {
  .settings-tabs { grid-template-columns: 1fr; }
  .settings-tabs .nav-link { min-height: 76px; }
}

.report-filter-card {
  background: linear-gradient(135deg, rgba(41, 120, 255, .12), rgba(124, 58, 237, .08)), rgba(12, 17, 31, .80);
}
.report-chart-card canvas { min-height: 260px; }
.report-ranking-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .035);
}
.report-ranking-item strong,
.report-ranking-item span { display: block; }
.report-ranking-item span { color: var(--nero-muted); font-size: .86rem; }
.report-insight {
  height: 100%;
  display: grid;
  gap: .4rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .035);
}
.report-insight i {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-grid;
  place-items: center;
  border-radius: .9rem;
  color: #bfdbfe;
  background: rgba(41, 120, 255, .16);
}
.report-insight strong { font-size: 1rem; }
.report-insight span { color: var(--nero-muted); font-size: .9rem; }
@media (max-width: 767.98px) {
  .report-ranking-item { flex-direction: column; }
  .report-ranking-item .text-end { text-align: left !important; }
}

.iti {
  width: 100%;
}

.iti__country-list {
  color: #0f172a;
  z-index: 4000;
}

.iti--separate-dial-code .iti__selected-flag {
  border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
}

.customer-registration-form .form-text,
.profile-form-card .form-text {
  min-height: 1.25rem;
}

/* Nero Tech-inspired light portal refresh */
:root,
[data-bs-theme="light"] {
  --nero-bg: #f7f8fb;
  --nero-bg-2: #ffffff;
  --nero-surface: #ffffff;
  --nero-surface-2: #f2f4f7;
  --nero-sidebar: #ffffff;
  --nero-card: #ffffff;
  --nero-card-solid: #ffffff;
  --nero-border: #dfe3e8;
  --nero-border-strong: #cbd2da;
  --nero-text: #172033;
  --nero-muted: #697386;
  --nero-primary: #2f78b7;
  --nero-primary-2: #005b8f;
  --nero-cyan: #58c1e8;
  --nero-success: #54a51c;
  --nero-shadow: 0 14px 35px rgba(35, 55, 80, .08);
}
body,
body.auth-bg,
body.marketing-body {
  background: var(--nero-bg);
  color: var(--nero-text);
}
body::before { display: none; }
a { color: var(--nero-primary-2); }
.nt-topbar,
.nero-navbar {
  min-height: 78px;
  background: var(--nero-surface) !important;
  border-bottom: 1px solid var(--nero-border);
  box-shadow: 0 1px 6px rgba(20, 32, 48, .08);
}
.nt-brand,
.brand-mark { gap: .7rem; color: var(--nero-text) !important; }
.nt-brand-text,
.brand-text {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: #0b3f60;
  line-height: 1;
}
.nt-brand-text span,
.brand-text span { color: var(--nero-success); }
.navbar .nav-link { color: #6d737c; font-size: 1.05rem; font-weight: 500; }
.navbar .nav-link:hover { color: var(--nero-primary-2); }
.btn-success { --bs-btn-bg: var(--nero-success); --bs-btn-border-color: var(--nero-success); --bs-btn-hover-bg: #438815; --bs-btn-hover-border-color: #438815; font-weight: 800; }
.btn-primary { background: #428fe0; box-shadow: none; border: 0; }
.btn-outline-primary { color: var(--nero-primary-2); border-color: var(--nero-primary-2); }
.card,
.glass,
.metric,
.package-card,
.modal-content {
  background: var(--nero-card);
  border: 1px solid var(--nero-border);
  border-radius: 2px;
  box-shadow: var(--nero-shadow);
  backdrop-filter: none;
}
.app-shell { background: var(--nero-bg); }
.app-main { background: var(--nero-bg); }
.content-frame { max-width: 1180px; margin: 0 auto; }
.content-frame > h1:first-child,
.nt-title,
h1 { color: #005b8f; font-weight: 300; letter-spacing: -.04em; }
.sidebar {
  background: var(--nero-bg);
  border-right: 0;
  padding: 1.6rem 1rem;
}
.sidebar-nav {
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.sidebar-section-title {
  margin: 0;
  padding: .85rem 1rem;
  background: var(--nero-surface-2);
  border: 1px solid var(--nero-border);
  color: #4c5664;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}
.sidebar a {
  margin-top: -1.25rem;
  border: 1px solid var(--nero-border);
  border-top: 0;
  border-radius: 0;
  background: var(--nero-surface);
  color: var(--nero-text);
  font-weight: 500;
}
.sidebar a + a { margin-top: -1.25rem; }
.sidebar a.active,
.sidebar a:hover { background: #475159; color: #fff; transform: none; }
.sidebar a.active::before { display: none; }
.metric { min-height: 132px; border-left: 4px solid #58c1e8; }
.metric::before { display: none; }
.metric strong { color: #005b8f; font-size: 2.4rem; font-weight: 300; }
.metric span { text-transform: uppercase; font-weight: 700; }
.package-card::before { background: var(--nero-success); }
.package-credits { color: #005b8f; font-weight: 300; }
.form-control,
.form-select {
  background: var(--nero-surface);
  border-color: var(--nero-border-strong);
  color: var(--nero-text);
  border-radius: 3px;
}
.form-label { color: var(--nero-text); }
.table { color: var(--nero-text); --bs-table-border-color: var(--nero-border); }
.table thead th { color: var(--nero-text); background: var(--nero-surface-2); }

.license-hero { background: var(--nero-surface); border-bottom: 1px solid var(--nero-border); }
.license-hero .lead { max-width: 850px; color: var(--nero-muted); }
.license-hero .nt-title { max-width: 980px; }
.nt-pricing-card { position: relative; overflow: hidden; min-height: 100%; }
.nt-pricing-card.is-popular { border-color: #aac9e9; }
.popular-ribbon {
  position: absolute; right: -42px; top: 22px; transform: rotate(45deg);
  width: 160px; padding: .35rem; background: #2c6aa0; color: #fff; text-align: center; font-weight: 900; text-transform: uppercase;
}
.license-price { font-size: clamp(2.35rem, 5vw, 3.35rem); color: #273142; letter-spacing: -.06em; }
.license-price small { font-size: 1rem; color: var(--nero-muted); letter-spacing: 0; }
.license-features { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.license-features li { display: flex; gap: .75rem; align-items: flex-start; }
.license-features i { color: #2c6aa0; margin-top: .25rem; }
.nt-feature-band { background: #30465b; color: #fff; }
.portal-tile { min-height: 170px; padding: 1.5rem; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); display: grid; gap: .55rem; }
.portal-tile i { font-size: 2rem; color: #9bd2ff; }
.portal-tile strong { font-size: 1.2rem; }
.portal-tile span { color: rgba(255,255,255,.78); }
.auth-card-shell,
.auth-hero,
.auth-form-panel { border-radius: 2px; }
.auth-hero { background: linear-gradient(135deg, #005b8f, #54a51c); }

@media (min-width: 992px) {
  .sidebar { flex: 0 0 300px; width: 300px; max-width: 300px; }
  .app-main { width: calc(100% - 300px); max-width: calc(100% - 300px); }
}

/* Nero Tech client-area refinements */
.nt-breadcrumb {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--nero-border);
  color: var(--nero-muted);
  font-size: .86rem;
}
.nt-stats {
  background: var(--nero-surface-2);
  border: 1px solid var(--nero-border);
}
.nt-stat {
  position: relative;
  min-height: 100px;
  border: 0;
  border-right: 1px solid var(--nero-border);
  border-radius: 0;
  box-shadow: none;
  padding: 1.2rem 5rem 1rem 1.25rem;
  background: var(--nero-surface-2);
}
.nt-stat strong { font-size: 2.2rem; line-height: 1; }
.nt-stat i {
  position: absolute;
  right: 1.35rem;
  top: 1.1rem;
  color: rgba(60, 68, 80, .22);
  font-size: 3rem;
}
.nt-panel {
  border: 1px solid var(--nero-border);
  background: var(--nero-surface);
  box-shadow: 0 10px 26px rgba(20, 32, 48, .06);
}
.nt-panel.accent-orange { border-top: 3px solid #f0a33a; }
.nt-panel__header,
.nt-panel__footer {
  padding: .75rem 1rem;
  background: var(--nero-surface-2);
  border-bottom: 1px solid var(--nero-border);
}
.nt-panel__footer { border-top: 1px solid var(--nero-border); border-bottom: 0; }
.nt-panel__header h2 { margin: 0; font-size: 1.05rem; font-weight: 400; color: var(--nero-text); }
.nt-panel__body { padding: 1rem; }
.responsive-table,
.dt-container,
.dt-container .row,
.dt-container .table,
.dataTables_wrapper {
  background: var(--nero-surface) !important;
  color: var(--nero-text) !important;
  box-shadow: none;
}
.dt-container,
.responsive-table { border-radius: 0; border: 1px solid var(--nero-border); }
.dt-container .dt-input,
.dt-container input,
.dt-container select {
  background: var(--nero-surface) !important;
  color: var(--nero-text) !important;
  border: 1px solid var(--nero-border-strong) !important;
}
.dt-container .page-link { color: var(--nero-primary-2); background: var(--nero-surface); border-color: var(--nero-border); }
.dt-container .active > .page-link { color: #fff; background: #475159; border-color: #475159; }
/* Nero Tech-like login/register */
body.auth-bg {
  background: #fff !important;
  color: #111827 !important;
}
.auth-page { display: block; min-height: auto; padding: 0; }
.auth-card-shell,
.auth-card-shell--single {
  width: 100%;
  max-width: none;
  min-height: 0;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.auth-hero { display: none !important; }
.auth-form-panel {
  min-height: calc(100vh - 260px);
  padding: 3rem clamp(1rem, 4vw, 3.5rem) !important;
  background: #fff !important;
}
.auth-form-panel .card {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid #ddd;
  box-shadow: none;
}
.nt-auth-page { max-width: 1120px; margin: 0 auto; }
.nt-auth-form h1 {
  padding-bottom: .45rem;
  border-bottom: 1px solid #ccc;
  color: #005b8f;
  font-weight: 300;
}
.nt-auth-form h1 small { color: #777; font-size: 1.35rem; font-weight: 300; }
.nt-auth-form .form-control { border-radius: 3px; background: #fff; color: #111827; }
.license-screen {
  width: min(100%, 360px);
  height: 230px;
  border: 10px solid #31465a;
  border-radius: 8px;
  background: #f7fafc;
  box-shadow: 0 16px 32px rgba(49, 70, 90, .16);
  overflow: hidden;
}
.license-screen__bar { height: 28px; background: #fff; border-bottom: 1px solid #d7dde4; }
.license-screen__nav { height: 20px; background: #005b8f; margin: 10px; }
.license-screen__body { display: grid; gap: 12px; padding: 8px 18px; }
.license-screen__body span { height: 14px; background: #dbe6ef; display: block; }
.license-screen__body b { height: 44px; background: linear-gradient(90deg, #b8d98b, #58c1e8); display: block; }
.nt-auth-illustration h2 { margin-top: 1.8rem; font-size: 2.6rem; color: #9aba32; }
.nt-auth-illustration h2 strong { color: #26384c; }
.nt-auth-illustration p { color: #4d5b69; font-size: 1.25rem; }
.auth-brand-mobile { display: block !important; padding: 1.25rem 3rem; text-align: left !important; border-bottom: 1px solid #e5e7eb; }
.auth-brand-mobile .brand-logo { width: 170px; height: 58px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.auth-brand-mobile .brand-logo img { object-fit: contain; object-position: left center; padding: 0; }
@media (max-width: 991.98px) {
  .nt-auth-illustration { display: none; }
  .auth-form-panel { padding: 2rem 1rem !important; }
}

/* 2026 polished marketing and institutional refresh */
.nt-section-pad { padding-top: clamp(4.5rem, 8vw, 7.5rem); padding-bottom: clamp(4.5rem, 8vw, 7.5rem); }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .85rem;
  border: 1px solid rgba(41,120,255,.22);
  border-radius: 999px;
  background: rgba(41,120,255,.10);
  color: #1d4ed8;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 .28rem rgba(41,120,255,.12); }
.marketing-body { background: #f6f8fc; color: #111827; }
.marketing-body::before { display: none; }
.marketing-body .nt-topbar {
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 44px rgba(15,23,42,.08);
  backdrop-filter: blur(18px);
}
.marketing-body .nav-link { color: #475569; font-weight: 800; }
.marketing-body .nav-link:hover { color: #1d4ed8; }
.marketing-hero,
.institutional-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(41,120,255,.16), transparent 28rem),
    radial-gradient(circle at 88% 6%, rgba(124,58,237,.12), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
}
.marketing-hero::after,
.institutional-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% 45%;
  height: 30rem;
  background: linear-gradient(90deg, rgba(41,120,255,.10), rgba(124,58,237,.08));
  filter: blur(44px);
  transform: rotate(-8deg);
  pointer-events: none;
}
.marketing-hero > *, .institutional-hero > * { position: relative; z-index: 1; }
.section-heading { max-width: 760px; }
.trust-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #334155;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}
.product-preview,
.credibility-panel,
.contact-card,
.legal-card,
.institutional-card {
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 2rem;
  background: rgba(255,255,255,.86);
  box-shadow: 0 24px 70px rgba(15,23,42,.10);
  backdrop-filter: blur(18px);
}
.product-preview { overflow: hidden; transform: perspective(1200px) rotateY(-7deg) rotateX(3deg); }
.product-preview__header { display: flex; gap: .45rem; padding: 1rem 1.25rem; background: #0f172a; }
.product-preview__header span { width: .75rem; height: .75rem; border-radius: 50%; background: #60a5fa; }
.product-preview__header span:nth-child(2) { background: #a78bfa; }
.product-preview__header span:nth-child(3) { background: #34d399; }
.product-preview__body { padding: 1.4rem; display: grid; gap: 1rem; }
.preview-stat { display: flex; align-items: end; justify-content: space-between; padding: 1rem; border-radius: 1.25rem; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; }
.preview-stat small { opacity: .78; font-weight: 800; }
.preview-stat strong { font-size: 2.4rem; letter-spacing: -.06em; }
.preview-chart { min-height: 180px; display: flex; align-items: end; gap: .7rem; padding: 1rem; border-radius: 1.25rem; background: #f1f5f9; }
.preview-chart i { flex: 1; border-radius: .8rem .8rem .2rem .2rem; background: linear-gradient(180deg, #38bdf8, #2563eb); }
.preview-chart i:nth-child(1) { height: 42%; } .preview-chart i:nth-child(2) { height: 62%; } .preview-chart i:nth-child(3) { height: 48%; } .preview-chart i:nth-child(4) { height: 76%; } .preview-chart i:nth-child(5) { height: 92%; }
.preview-list { display: grid; gap: .75rem; }
.preview-list span { height: .85rem; border-radius: 999px; background: #dbeafe; }
.preview-list span:nth-child(2) { width: 82%; } .preview-list span:nth-child(3) { width: 64%; }
.nt-pricing-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.09);
  background: #fff;
  color: #111827;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nt-pricing-card:hover { transform: translateY(-6px); border-color: rgba(41,120,255,.32); box-shadow: 0 28px 80px rgba(15,23,42,.14); }
.nt-pricing-card.is-popular { border-color: rgba(41,120,255,.42); box-shadow: 0 26px 76px rgba(41,120,255,.16); }
.popular-ribbon { position: absolute; top: 1rem; right: 1rem; padding: .45rem .75rem; border-radius: 999px; background: #1d4ed8; color: #fff; font-size: .78rem; font-weight: 900; }
.license-price { color: #0f172a !important; }
.license-features li { color: #334155; font-weight: 700; }
.license-features i { color: #16a34a !important; }
.nt-feature-band {
  background:
    radial-gradient(circle at 10% 10%, rgba(59,130,246,.28), transparent 28rem),
    linear-gradient(135deg, #0f172a, #172554 58%, #312e81);
}
.portal-tile {
  min-height: 230px;
  border-radius: 1.75rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}
.institutional-card { padding: clamp(1.35rem, 3vw, 2rem); }
.institutional-card span { display: inline-block; color: #2563eb; font-weight: 950; margin-bottom: 1rem; }
.institutional-card i { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: #dbeafe; color: #1d4ed8; font-size: 1.25rem; margin-bottom: 1rem; }
.institutional-card h2 { font-size: 1.25rem; margin-bottom: .75rem; }
.institutional-card p, .legal-card p { color: #475569; line-height: 1.75; }
.credibility-panel { padding: 1.25rem; }
.credibility-panel__top { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem; border-radius: 1.35rem; background: linear-gradient(135deg, #0f172a, #1d4ed8); color: #fff; }
.credibility-panel__top span { font-weight: 850; opacity: .82; }
.credibility-panel__top strong { font-size: 2.1rem; }
.credibility-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: .9rem; }
.credibility-panel__grid div { padding: 1rem; border: 1px solid rgba(15,23,42,.08); border-radius: 1.25rem; background: #f8fafc; display: grid; gap: .25rem; }
.credibility-panel__grid i { color: #2563eb; }
.credibility-panel__grid small { color: #64748b; }
.legal-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.legal-index { position: sticky; top: 96px; display: grid; gap: .55rem; padding: 1.25rem; border: 1px solid rgba(15,23,42,.08); border-radius: 1.5rem; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.07); }
.legal-index a { color: #475569; text-decoration: none; font-weight: 800; }
.legal-index a:hover { color: #1d4ed8; }
.legal-card { padding: clamp(1.5rem, 3vw, 2.5rem); }
.legal-card h2 { font-size: 1.28rem; margin-top: 1.8rem; }
.legal-card h2:first-child { margin-top: 0; }
.contact-card { padding: clamp(1.35rem, 3vw, 2rem); }
.contact-card .form-control { min-height: 3.25rem; border-radius: 1rem; border-color: #dbe3ef; }
.contact-card textarea.form-control { min-height: 9.5rem; }
.contact-methods { display: grid; gap: .8rem; }
.contact-methods a { display: flex; align-items: center; gap: .75rem; width: fit-content; color: #1e40af; font-weight: 850; text-decoration: none; }
.contact-methods i { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .9rem; background: #dbeafe; }
@media (max-width: 991.98px) {
  .product-preview { transform: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-index { position: static; }
}
@media (max-width: 575.98px) {
  .credibility-panel__grid { grid-template-columns: 1fr; }
  .trust-row span { width: 100%; justify-content: center; }
}

.checkout-page {
  align-items: stretch;
}
.checkout-summary-card,
.checkout-payment-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border-color: rgba(47, 120, 183, .20);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}
.checkout-summary-card::after,
.checkout-payment-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--nero-success), var(--nero-primary), var(--nero-primary-2));
}
.checkout-eyebrow {
  color: var(--nero-primary-2);
  font-weight: 900;
}
.checkout-summary-list {
  display: grid;
  gap: .7rem;
  margin-top: 1.25rem;
}
.checkout-summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--nero-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(47, 120, 183, .06), rgba(47, 120, 183, .02));
}
.checkout-summary-list span {
  color: var(--nero-muted);
  font-weight: 700;
}
.checkout-summary-list strong { color: var(--nero-text); }
.checkout-section-heading {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.checkout-section-icon,
.checkout-gateway-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--nero-primary), var(--nero-primary-2));
  box-shadow: 0 14px 30px rgba(47, 120, 183, .25);
}
.checkout-gateway-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 86px;
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--nero-border-strong);
  border-radius: 16px;
  color: var(--nero-text);
  background: var(--nero-surface);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.checkout-gateway-option:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 120, 183, .45);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}
.checkout-gateway-copy {
  display: grid;
  gap: .15rem;
  line-height: 1.15;
}
.checkout-gateway-copy strong {
  font-size: .98rem;
  font-weight: 900;
}
.checkout-gateway-copy small {
  color: var(--nero-muted);
  font-weight: 700;
}
.checkout-gateway-check {
  position: absolute;
  right: .85rem;
  top: .75rem;
  color: var(--nero-success);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .18s ease, transform .18s ease;
}
.btn-check:checked + .checkout-gateway-option {
  border-color: var(--nero-primary);
  background: linear-gradient(135deg, rgba(47, 120, 183, .12), rgba(84, 165, 28, .08)), var(--nero-surface);
  box-shadow: 0 18px 44px rgba(47, 120, 183, .16);
}
.btn-check:checked + .checkout-gateway-option .checkout-gateway-check {
  opacity: 1;
  transform: scale(1);
}
.checkout-coupon-box {
  padding: 1rem;
  border: 1px solid var(--nero-border);
  border-radius: 16px;
  background: var(--nero-surface-2);
}
.checkout-coupon-box .btn-outline-light {
  border-color: var(--nero-border-strong);
  color: var(--nero-primary-2);
  background: var(--nero-surface);
  font-weight: 800;
}
.checkout-coupon-box .btn-outline-light:hover {
  color: #fff;
  background: var(--nero-primary);
  border-color: var(--nero-primary);
}
.checkout-submit {
  min-height: 58px;
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
}
@media (max-width: 767.98px) {
  .checkout-gateway-option { min-height: 74px; }
  .checkout-coupon-box { padding: .85rem; }
}

.app-main--centered {
  width: 100%;
  max-width: 100%;
}
.app-main--centered .content-frame {
  width: min(100%, 1440px);
  max-width: 1440px;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(2rem, 5vw, 4rem);
}
.app-main--centered .checkout-page {
  width: 100%;
  justify-content: center;
}
@media (min-width: 1200px) {
  .app-main--centered .checkout-page > .col-lg-5 { flex: 0 0 40%; max-width: 560px; }
  .app-main--centered .checkout-page > .col-lg-7 { flex: 0 0 56%; max-width: 795px; }
}
@media (max-width: 991.98px) {
  .app-main--centered .content-frame {
    display: block;
    min-height: auto;
    padding-top: 1.25rem;
  }
}

/* High-contrast light theme fixes for forms, alerts and action states */
[data-bs-theme="light"] .btn-outline-light {
  border-color: #cbd5e1;
  color: #005b8f;
  background: #ffffff;
}
[data-bs-theme="light"] .btn-outline-light:hover,
[data-bs-theme="light"] .btn-outline-light:focus {
  color: #ffffff;
  background: #005b8f;
  border-color: #005b8f;
}
[data-bs-theme="light"] .alert {
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}
[data-bs-theme="light"] .alert-info {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #075985;
}
[data-bs-theme="light"] .alert-warning {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}
[data-bs-theme="light"] .alert-success {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #166534;
}
[data-bs-theme="light"] .alert-danger {
  background: #ffe4e6;
  border-color: #fecdd3;
  color: #9f1239;
}
[data-bs-theme="light"] .modal-content {
  color: #0f172a;
  background: #ffffff;
}
[data-bs-theme="light"] .modal-content .form-text,
[data-bs-theme="light"] .form-text {
  color: #475569;
}
[data-bs-theme="light"] .modal-content .nav-pills .nav-link {
  color: #005b8f;
  font-weight: 800;
}
[data-bs-theme="light"] .modal-content .nav-pills .nav-link.active {
  color: #ffffff;
  background: #2978ff;
}
[data-bs-theme="light"] .form-control::placeholder,
[data-bs-theme="light"] .form-select::placeholder {
  color: #64748b;
  opacity: 1;
}

/* Requested UI refinements */
.brand-logo,
.nero-navbar .brand-logo,
.brand-logo-lg,
.auth-brand-mobile .brand-logo {
  width: auto;
  min-width: 56px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}
.brand-logo img { padding: 0 !important; max-width: 180px; }
.nero-navbar .brand-logo img,
.nt-topbar .brand-logo img { max-height: 56px; }
.invoice-page { max-width: 1120px; margin: 0 auto; }
.invoice-hero { padding: clamp(1rem, 3vw, 1.5rem); background: var(--nero-card); border: 1px solid var(--nero-border); }
.invoice-list { display: grid; gap: 1rem; }
.invoice-card { background: var(--nero-card); border: 1px solid var(--nero-border); padding: clamp(1rem, 2.4vw, 1.35rem); box-shadow: var(--nero-shadow); }
.invoice-card__main,
.invoice-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.invoice-number { font-size: clamp(1.1rem, 3.5vw, 1.45rem); font-weight: 850; color: var(--nero-text); }
.invoice-card__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: 1rem 0; }
.invoice-card__grid div { padding: .85rem; background: var(--nero-surface-2); border: 1px solid var(--nero-border); }
.invoice-card__grid small { display: block; color: var(--nero-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.invoice-card__grid strong { display: block; overflow-wrap: anywhere; font-size: clamp(.95rem, 2vw, 1.05rem); }
.service-card { border-radius: 0; }

@media (max-width: 767.98px) {
  .invoice-card__grid { grid-template-columns: 1fr; }
  .invoice-card__actions .btn { width: 100%; }
  .invoice-hero { text-align: left; }
  .navbar .btn-link { padding-left: .25rem; padding-right: .25rem; }
}

/* Full plans page fix */
.plans-page {
  width: 100%;
}
.plans-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--nero-card);
  border: 1px solid var(--nero-border);
  box-shadow: var(--nero-shadow);
}
.plans-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: .95;
}
.plans-hero p {
  max-width: 760px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.plans-card {
  min-width: 0;
}
.plans-card .card-body {
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.35rem);
}
.plans-card__description {
  color: var(--nero-muted) !important;
  min-height: 3.25rem;
  overflow-wrap: anywhere;
}
.plans-card__credits {
  font-size: clamp(2.5rem, 4vw, 3.45rem);
  line-height: 1;
  margin-top: .5rem;
}
.plans-card__license-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--nero-text);
  font-weight: 700;
  font-size: .95rem;
}
.plans-card__license-note i {
  color: var(--nero-success);
}
.plans-card__price {
  display: block;
  color: var(--nero-text);
  font-size: 1.12rem;
}
@media (max-width: 1199.98px) {
  .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-hero { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 575.98px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plans-hero h1 { font-size: 2.35rem; }
}

/* Marketing navigation, footer and LGPD cookie consent */
.marketing-footer {
  background: var(--nero-surface);
  border-top: 1px solid var(--nero-border);
  padding: 2rem 0;
}
.marketing-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.marketing-footer strong {
  display: block;
  color: var(--nero-text);
  font-size: 1.15rem;
}
.marketing-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem 1.25rem;
}
.marketing-footer a {
  color: var(--nero-primary-2);
  font-weight: 750;
  text-decoration: none;
}
.marketing-footer a:hover { text-decoration: underline; }
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 1085;
  display: grid;
  align-items: end;
  padding: 1rem;
  background: rgba(10, 16, 24, .38);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent__dialog {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--nero-card);
  color: var(--nero-text);
  border: 1px solid var(--nero-border);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}
.cookie-consent__dialog h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  color: var(--nero-text);
}
.cookie-consent__dialog p {
  margin-bottom: .55rem;
  color: var(--nero-muted);
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem;
}
@media (max-width: 991.98px) {
  .marketing-footer__inner,
  .cookie-consent__dialog {
    grid-template-columns: 1fr;
    display: grid;
  }
  .marketing-footer nav,
  .cookie-consent__actions { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
  .nt-topbar .d-flex.align-items-center.gap-2 { flex-wrap: wrap; }
  .cookie-consent__actions .btn { width: 100%; }
}

.crypto-payment-instructions {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(47, 120, 183, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(41, 120, 255, .12), rgba(84, 165, 28, .10)), rgba(255, 255, 255, .92);
  color: #0f172a;
  font-size: 1rem;
  font-weight: 750;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}
.crypto-payment-instructions strong { color: #1d4ed8; font-weight: 950; }
.wallet-copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--nero-border-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}
.wallet-copy-box textarea.form-control {
  min-height: 4.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #071225;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  resize: vertical;
  word-break: break-all;
}
.wallet-copy-box .btn {
  align-self: stretch;
  border-radius: 0;
  white-space: nowrap;
}@media (max-width: 575.98px) {
  .crypto-payment-instructions { border-radius: 18px; }
  .wallet-copy-box { grid-template-columns: 1fr; }
  .wallet-copy-box .btn { width: 100%; }
}

.invoice-card__amount {
  color: var(--nero-text);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}
.invoice-status { vertical-align: middle; }
.invoice-pay-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
}
.invoice-pay-form .form-select { min-width: 140px; }
.receipt-page { max-width: 1120px; margin: 0 auto; }
.receipt-card {
  overflow: hidden;
  border: 1px solid var(--nero-border);
  border-radius: 26px;
  background: var(--nero-card);
  box-shadow: var(--nero-shadow);
}
.receipt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(41,120,255,.14), rgba(84,165,28,.10));
  border-bottom: 1px solid var(--nero-border);
}
.receipt-header h1 {
  margin: 0 0 .55rem;
  color: var(--nero-text);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -.04em;
}
.receipt-muted { color: var(--nero-muted); }
.receipt-total-box {
  min-width: 180px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--nero-border-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  text-align: right;
}
.receipt-total-box span,
.receipt-meta-grid small {
  display: block;
  color: var(--nero-muted);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.receipt-total-box strong {
  display: block;
  color: var(--nero-text);
  font-size: 1.45rem;
  margin-top: .2rem;
}
.receipt-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.receipt-meta-grid div {
  padding: 1rem;
  border: 1px solid var(--nero-border);
  border-radius: 18px;
  background: var(--nero-surface-2);
}
.receipt-meta-grid strong { display: block; margin-top: .25rem; color: var(--nero-text); overflow-wrap: anywhere; }
.receipt-items { padding: 0 clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 2.5vw, 1.5rem); }
.receipt-items__head,
.receipt-items__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 160px;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
}
.receipt-items__head {
  border-radius: 18px;
  background: var(--nero-surface-2);
  color: var(--nero-muted);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.receipt-items__row {
  border-bottom: 1px solid var(--nero-border);
  color: var(--nero-text);
}
.receipt-items__row strong { overflow-wrap: anywhere; }
.receipt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 1.75rem);
  color: var(--nero-muted);
}
@media (max-width: 767.98px) {
  .receipt-header,
  .receipt-footer { flex-direction: column; align-items: stretch; }
  .receipt-total-box { width: 100%; text-align: left; }
  .receipt-meta-grid { grid-template-columns: 1fr; }
  .receipt-items__head { display: none; }
  .receipt-items__row { grid-template-columns: 1fr; gap: .35rem; border: 1px solid var(--nero-border); border-radius: 16px; margin-top: .75rem; }
  .invoice-pay-form, .invoice-pay-form .form-select, .invoice-pay-form .btn { width: 100%; }
}

.provisioning-page {
  display: grid;
  gap: 1.25rem;
}
.provisioning-hero,
.provisioning-table-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nero-border);
  border-radius: 2px;
  background: var(--nero-card);
  box-shadow: var(--nero-shadow);
}
.provisioning-hero {
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  border-left: 4px solid var(--nero-cyan);
}
.provisioning-hero::after { display: none; }
.provisioning-hero > * { position: relative; z-index: 1; }
.provisioning-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: .75rem;
  min-width: min(100%, 520px);
}
.provisioning-stats div {
  padding: .85rem .95rem;
  border: 1px solid var(--nero-border);
  border-radius: 2px;
  background: var(--nero-surface-2);
}
.provisioning-stats span,
.provisioning-count {
  color: var(--nero-muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.provisioning-stats strong {
  display: block;
  margin-top: .15rem;
  color: var(--nero-primary-2);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
}
.provisioning-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--nero-border);
  background: var(--nero-card);
}
.provisioning-count {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  padding: .45rem .7rem;
  border: 1px solid var(--nero-border);
  border-radius: 3px;
  background: var(--nero-surface-2);
  color: var(--nero-muted);
}
.provisioning-table {
  min-width: 940px;
}
.provisioning-table thead th {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--nero-border);
  background: var(--nero-surface-2);
  color: var(--nero-text);
  font-size: .74rem;
}
.provisioning-table tbody tr {
  transition: background .16s ease;
}
.provisioning-table tbody tr:hover {
  background: rgba(47, 120, 183, .06);
}
.provisioning-id,
.provisioning-invoice,
.provisioning-client,
.provisioning-module {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  font-weight: 700;
  color: var(--nero-text);
  white-space: nowrap;
}
.provisioning-id { color: var(--nero-primary-2); }
.provisioning-module {
  padding: .28rem .55rem;
  border: 1px solid var(--nero-border);
  border-radius: 3px;
  background: var(--nero-surface-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .76rem;
}
.provisioning-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.provisioning-status--success { border-color: #badbcc; background: #d1e7dd; color: #0f5132; }
.provisioning-status--warning { border-color: #ffecb5; background: #fff3cd; color: #664d03; }
.provisioning-status--info { border-color: #b6effb; background: #cff4fc; color: #055160; }
.provisioning-status--danger { border-color: #f5c2c7; background: #f8d7da; color: #842029; }
.provisioning-status--muted { border-color: #d3d6d8; background: #e2e3e5; color: #41464b; }
.provisioning-attempts {
  display: inline-flex;
  align-items: baseline;
  gap: .15rem;
  color: var(--nero-text);
  font-weight: 800;
}
.provisioning-attempts small { color: var(--nero-muted); font-weight: 700; }
.provisioning-message {
  display: -webkit-box;
  max-width: 260px;
  overflow: hidden;
  color: var(--nero-muted);
  font-size: .9rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.provisioning-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .45rem;
  min-width: 180px;
}
.provisioning-actions .btn {
  white-space: nowrap;
}
.provisioning-empty {
  display: grid;
  place-items: center;
  gap: .4rem;
  padding: 3rem 1rem;
  color: var(--nero-muted);
  text-align: center;
}
.provisioning-empty i {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 3px;
  background: #e7f1fb;
  color: var(--nero-primary-2);
  font-size: 1.25rem;
}
.provisioning-empty strong { color: var(--nero-text); }

@media (max-width: 1199.98px) {
  .provisioning-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
}
@media (max-width: 575.98px) {
  .provisioning-table-toolbar { align-items: flex-start; flex-direction: column; padding: 1rem; }
  .provisioning-count { width: 100%; justify-content: center; }
  .provisioning-stats { grid-template-columns: 1fr; }
}
