/* Namecast EC-Suite Pro — Frontend styles */

.nec-hidden { display: none !important; }

/* Notices */
.nec-notice {
        padding: 14px 18px;
        border-radius: 8px;
        margin: 16px 0;
        font-size: 15px;
        border: 1px solid transparent;
}
.nec-notice-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.nec-notice-info    { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.nec-notice-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.nec-notice-error   { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

/* Buttons */
.nec-btn {
        display: inline-block;
        padding: 10px 18px;
        border-radius: 6px;
        border: 1px solid #cbd5e1;
        background: #f1f5f9;
        color: #1e293b;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
        font-size: 14px;
        transition: all .15s ease;
}
.nec-btn:hover { background: #e2e8f0; }
.nec-btn-primary { background: #2563eb; border-color: #2563eb; color: #fff; }
.nec-btn-primary:hover { background: #1d4ed8; color: #fff; }
.nec-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Registration form */
.nec-registration {
        max-width: 760px;
        margin: 0 auto;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 32px;
        box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.nec-reg-header { text-align: center; margin-bottom: 24px; }
.nec-reg-header h2 { margin: 0 0 6px; color: #1a2b4a; }
.nec-reg-header p { color: #64748b; margin: 0; }

.nec-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 2px solid #e2e8f0; }
.nec-tab-btn {
        flex: 1;
        padding: 12px;
        background: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        color: #64748b;
        margin-bottom: -2px;
}
.nec-tab-btn.active { color: #2563eb; border-bottom-color: #2563eb; }

.nec-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nec-form-grid p { margin: 0; }
.nec-form-grid .nec-full { grid-column: 1 / -1; }
.nec-form-grid label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; color: #334155; }
.nec-form-grid input, .nec-form-grid textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-size: 14px;
        box-sizing: border-box;
}
.nec-reg-form > button { margin-top: 20px; width: 100%; padding: 14px; font-size: 15px; }

.nec-resend { margin-top: 20px; text-align: center; font-size: 14px; }
.nec-resend-box { margin-top: 12px; display: flex; gap: 8px; justify-content: center; }
.nec-resend-box input { padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; }

/* Dashboards */
.nec-dashboard { max-width: 1000px; margin: 0 auto; }
.nec-welcome-banner {
        background: linear-gradient(135deg, #1a2b4a, #2563eb);
        color: #fff;
        border-radius: 12px;
        padding: 28px 32px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
}
.nec-welcome-banner h2 { margin: 0 0 4px; color: #fff; }
.nec-welcome-banner p { margin: 0; opacity: .85; }
.nec-tier-badge {
        background: rgba(255,255,255,.2);
        padding: 8px 18px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 15px;
        white-space: nowrap;
}
.nec-tier-gold   { background: rgba(234,179,8,.9); color: #1a2b4a; }
.nec-tier-silver { background: rgba(203,213,225,.9); color: #1a2b4a; }
.nec-tier-bronze { background: rgba(180,120,80,.9); }

/* Widgets */
.nec-widgets {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
        margin-bottom: 24px;
}
.nec-widget {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.nec-widget-label { display: block; font-size: 13px; color: #64748b; margin-bottom: 6px; }
.nec-widget-value { display: block; font-size: 24px; font-weight: 700; color: #1e293b; }
.nec-widget-green  { border-top: 3px solid #16a34a; }
.nec-widget-blue   { border-top: 3px solid #2563eb; }
.nec-widget-purple { border-top: 3px solid #7c3aed; }
.nec-widget-teal   { border-top: 3px solid #0d9488; }

/* Cards */
.nec-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 24px;
        margin-bottom: 20px;
        box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.nec-card h3 { margin-top: 0; color: #1a2b4a; }

/* Link box */
.nec-link-box { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.nec-link-box input {
        flex: 1;
        min-width: 220px;
        padding: 10px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-size: 14px;
        background: #f8fafc;
}
.nec-code {
        background: #f1f5f9;
        padding: 4px 10px;
        border-radius: 4px;
        font-family: monospace;
        font-size: 15px;
        letter-spacing: 1px;
}

/* Tables */
.nec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.nec-table th, .nec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.nec-table th { background: #f8fafc; font-weight: 600; color: #475569; }

/* Badges (frontend) */
.nec-badge {
        display: inline-block;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 600;
        color: #fff;
        text-transform: capitalize;
}
.nec-badge-pending  { background: #f59e0b; }
.nec-badge-approved { background: #16a34a; }
.nec-badge-rejected { background: #dc2626; }
.nec-badge-paid     { background: #2563eb; }

/* Progress bar */
.nec-progress { background: #e2e8f0; border-radius: 999px; height: 24px; overflow: hidden; margin-top: 10px; }
.nec-progress-bar {
        background: linear-gradient(90deg, #2563eb, #7c3aed);
        color: #fff;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        transition: width .4s ease;
}

/* Payout request */
.nec-payout-request { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nec-payout-request select { padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; }

/* Status page */
.nec-status-page { max-width: 640px; margin: 0 auto; }
.nec-status-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 32px;
        text-align: center;
        border-top: 5px solid #f59e0b;
}
.nec-status-card.nec-status-approved { border-top-color: #16a34a; }
.nec-status-card.nec-status-rejected { border-top-color: #dc2626; }
.nec-status-line { font-size: 16px; margin: 16px 0; }
.nec-reject-reason { background: #fef2f2; border-radius: 8px; padding: 16px; margin: 16px 0; text-align: left; }

.nec-tax-note { color: #64748b; font-size: .8em; }

/* Responsive */
@media (max-width: 680px) {
        .nec-form-grid { grid-template-columns: 1fr; }
        .nec-welcome-banner { flex-direction: column; gap: 16px; text-align: center; }
        .nec-registration { padding: 20px; }
}



/* =====================================================================
 * v1.1.0 — Wholesale catalog
 * ===================================================================== */
.nec-catalog { max-width: 1200px; margin: 0 auto; }
.nec-catalog-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 2px solid #e2e8f0;
}
.nec-catalog-header h2 { margin: 0 0 4px; }
.nec-catalog-tier { margin: 0; color: #475569; font-size: 15px; }
.nec-catalog-search { display: flex; gap: 8px; }
.nec-catalog-search input[type="search"] {
        padding: 10px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        min-width: 220px;
}
.nec-catalog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
}
.nec-catalog-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: box-shadow .2s ease, transform .2s ease;
}
.nec-catalog-card:hover { box-shadow: 0 10px 25px rgba(15,23,42,.12); transform: translateY(-2px); }
.nec-catalog-thumb { position: relative; display: block; background: #f8fafc; }
.nec-catalog-thumb img { width: 100%; height: auto; display: block; }
.nec-catalog-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #1a2b4a;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 12px;
        text-transform: uppercase;
        letter-spacing: .03em;
}
.nec-catalog-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nec-catalog-title { font-size: 15px; margin: 0; line-height: 1.35; }
.nec-catalog-title a { color: #1a2b4a; text-decoration: none; }
.nec-catalog-title a:hover { text-decoration: underline; }
.nec-catalog-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.nec-price-retail { color: #94a3b8; text-decoration: line-through; font-size: 14px; }
.nec-price-wholesale { color: #16a34a; font-weight: 700; font-size: 19px; }
.nec-catalog-min { margin: 0; font-size: 12px; color: #64748b; }
.nec-catalog-add { display: flex; gap: 8px; margin-top: auto; }
.nec-catalog-qty {
        width: 68px;
        padding: 9px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        text-align: center;
}
.nec-catalog-add .nec-btn { flex: 1; }
.nec-catalog-oos { margin: auto 0 0; color: #dc2626; font-weight: 600; font-size: 14px; }
.nec-catalog-empty { text-align: center; padding: 60px 20px; color: #64748b; font-size: 16px; }
.nec-catalog-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.nec-page-link {
        display: inline-block;
        min-width: 38px;
        text-align: center;
        padding: 8px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        color: #1a2b4a;
        text-decoration: none;
        font-weight: 600;
}
.nec-page-link:hover { background: #f1f5f9; }
.nec-page-link.is-current { background: #1a2b4a; color: #fff; border-color: #1a2b4a; }

@media (max-width: 680px) {
        .nec-catalog-header { flex-direction: column; align-items: stretch; }
        .nec-catalog-search input[type="search"] { min-width: 0; flex: 1; }
        .nec-catalog-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
}


/* ==========================================================================
   EC-SUITE PRO — MODERN AFFILIATE DASHBOARD & METRICS
   ========================================================================== */

:root {
  --nec-navy-dark: #1E2452;
  --nec-indigo: #333F8C;
  --nec-indigo-hover: #252e69;
  --nec-blue: #2563eb;
  --nec-green: #10b981;
  --nec-green-dark: #059669;
  --nec-amber: #f59e0b;
  --nec-purple: #8b5cf6;
  --nec-teal: #0d9488;
  --nec-slate-50: #f8fafc;
  --nec-slate-100: #f1f5f9;
  --nec-slate-200: #e2e8f0;
  --nec-slate-300: #cbd5e1;
  --nec-slate-400: #94a3b8;
  --nec-slate-500: #64748b;
  --nec-slate-600: #475569;
  --nec-slate-700: #334155;
  --nec-slate-800: #1e293b;
  --nec-slate-900: #0f172a;
}

.nec-hidden { display: none !important; }

/* Main Dashboard Wrapper */
.nec-dashboard.nec-affiliate-dashboard {
  max-width: 1140px;
  margin: 0 auto 60px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--nec-slate-800);
}

/* Gate Cards (Logged-out / Not an affiliate) */
.nec-gate-card {
  background: #ffffff;
  border: 1px solid var(--nec-slate-200);
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.nec-gate-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--nec-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.nec-gate-icon-info {
  background: #ecfdf5;
  color: var(--nec-green-dark);
}
.nec-gate-card h2 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--nec-slate-900) !important;
  margin: 0 0 10px 0 !important;
}
.nec-gate-card p {
  color: var(--nec-slate-500) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 auto 24px auto !important;
  max-width: 440px;
}
.nec-btn-lg {
  padding: 13px 28px !important;
  font-size: 15px !important;
  border-radius: 10px !important;
}

/* Admin Preview Mode Banner */
.nec-admin-preview-bar {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #92400e;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nec-admin-preview-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nec-admin-badge {
  background: #d97706;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.nec-admin-switch-form select {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #f59e0b;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #78350f;
  cursor: pointer;
}

/* Welcome Header Banner */
.nec-welcome-banner {
  background: linear-gradient(135deg, #1E2452 0%, #333F8C 100%) !important;
  color: #ffffff !important;
  border-radius: 16px !important;
  padding: 32px 36px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  box-shadow: 0 10px 25px -5px rgba(30, 36, 82, 0.25) !important;
}
.nec-welcome-text h2 {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.02em;
}
.nec-welcome-text p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 15px !important;
  margin: 0 !important;
}
.nec-welcome-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.nec-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.nec-badge-tier {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nec-badge-perk {
  background: #10b981;
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* Perk Callout Alert */
.nec-callout-perk {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #166534;
  font-size: 14px;
  line-height: 1.5;
}
.nec-callout-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.nec-callout-content code {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #86efac;
  font-family: monospace;
}

/* ==========================================================================
   KPI METRICS GRID — 5 CARDS CLEAN & RESPONSIVE
   ========================================================================== */
.nec-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 1100px) {
  .nec-kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nec-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .nec-kpi-grid { grid-template-columns: 1fr; }
}

.nec-kpi-card {
  background: #ffffff;
  border: 1px solid var(--nec-slate-200);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
  overflow: hidden;
}
.nec-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}
.nec-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.nec-kpi-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--nec-slate-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
}
.nec-kpi-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nec-icon-blue   { background: #eff6ff; color: #2563eb; }
.nec-icon-green  { background: #ecfdf5; color: #059669; }
.nec-icon-purple { background: #f5f3ff; color: #7c3aed; }
.nec-icon-amber  { background: #fffbeb; color: #d97706; }
.nec-icon-teal   { background: #f0fdfa; color: #0d9488; }

.nec-kpi-value {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--nec-slate-900);
  line-height: 1.2;
  margin-bottom: 8px;
  word-break: break-word;
}
.nec-kpi-value.text-green { color: #059669; }
.nec-kpi-value.text-teal  { color: #0d9488; }

.nec-kpi-footer {
  font-size: 12px;
  color: var(--nec-slate-400);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nec-kpi-badge-rate {
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

/* ==========================================================================
   CARDS & SECTIONS
   ========================================================================== */
.nec-card {
  background: #ffffff !important;
  border: 1px solid var(--nec-slate-200) !important;
  border-radius: 14px !important;
  padding: 28px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}
.nec-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}
.nec-section-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--nec-slate-900) !important;
  margin: 0 !important;
}
.nec-section-subtitle {
  font-size: 13.5px !important;
  color: var(--nec-slate-500) !important;
  margin: 4px 0 18px 0 !important;
}

/* Chart Card & Range Pills */
.nec-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.nec-chart-range-pills {
  display: inline-flex;
  background: var(--nec-slate-100);
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
}
.nec-pill {
  background: transparent !important;
  border: none !important;
  color: var(--nec-slate-600) !important;
  padding: 7px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}
.nec-pill:hover {
  color: var(--nec-slate-900) !important;
}
.nec-pill.active {
  background: #ffffff !important;
  color: var(--nec-indigo) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}
.nec-chart-wrapper {
  position: relative;
  height: 320px;
  width: 100%;
}
.nec-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(51, 63, 140, 0.2);
  border-top-color: var(--nec-indigo);
  border-radius: 50%;
  animation: nec-spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes nec-spin {
  to { transform: rotate(360deg); }
}

/* Affiliate Links & Slug Management */
.nec-link-group {
  margin-bottom: 24px;
}
.nec-field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nec-slate-700);
  margin-bottom: 8px;
}
.nec-link-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nec-link-input {
  flex: 1;
  background: var(--nec-slate-50) !important;
  border: 1px solid var(--nec-slate-300) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14.5px !important;
  color: var(--nec-slate-800) !important;
  font-family: monospace;
}
.nec-link-input:focus {
  border-color: var(--nec-indigo) !important;
  background: #fff !important;
}

/* Action Buttons */
.nec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  border: 1px solid transparent;
  text-decoration: none !important;
  white-space: nowrap;
}
.nec-btn-primary {
  background: var(--nec-indigo) !important;
  border-color: var(--nec-indigo) !important;
  color: #ffffff !important;
}
.nec-btn-primary:hover {
  background: var(--nec-indigo-hover) !important;
  color: #ffffff !important;
}
.nec-btn-secondary {
  background: var(--nec-slate-100) !important;
  border-color: var(--nec-slate-300) !important;
  color: var(--nec-slate-700) !important;
}
.nec-btn-secondary:hover {
  background: var(--nec-slate-200) !important;
  color: var(--nec-slate-900) !important;
}
.nec-btn.nec-copied {
  background: var(--nec-green) !important;
  border-color: var(--nec-green) !important;
  color: #ffffff !important;
}

/* Slug Editor Section */
.nec-slug-editor-box {
  background: var(--nec-slate-50);
  border: 1px solid var(--nec-slate-200);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.nec-slug-editor-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--nec-slate-800);
  margin: 0 0 4px 0;
}
.nec-slug-editor-box p {
  font-size: 13.5px;
  color: var(--nec-slate-500);
  margin: 0 0 16px 0;
  line-height: 1.5;
}
.nec-slug-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.nec-slug-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--nec-slate-300);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}
.nec-slug-prefix {
  background: var(--nec-slate-100);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nec-slate-500);
  border-right: 1px solid var(--nec-slate-300);
}
.nec-slug-input-wrap input {
  border: none !important;
  outline: none !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  color: var(--nec-indigo) !important;
  min-width: 140px;
}
.nec-form-msg {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}
.nec-text-success { color: #059669 !important; }
.nec-text-error { color: #dc2626 !important; }

/* Campaign Generator */
.nec-campaign-box {
  background: var(--nec-slate-50);
  border: 1px solid var(--nec-slate-200);
  border-radius: 12px;
  padding: 22px 24px;
}
.nec-campaign-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--nec-slate-800);
  margin: 0 0 4px 0;
}
.nec-campaign-box p {
  font-size: 13.5px;
  color: var(--nec-slate-500);
  margin: 0 0 16px 0;
}
.nec-gen-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 768px) {
  .nec-gen-grid { grid-template-columns: 1fr; }
}
.nec-gen-grid label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--nec-slate-600);
  margin-bottom: 6px;
}
.nec-gen-grid input {
  width: 100%;
  padding: 10px 14px !important;
  border: 1px solid var(--nec-slate-300) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  font-size: 13.5px !important;
}

/* Tables */
.nec-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}
.nec-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
}
.nec-table th {
  background: var(--nec-slate-50) !important;
  color: var(--nec-slate-600) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: .04em !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--nec-slate-200) !important;
  text-align: left !important;
}
.nec-table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid var(--nec-slate-200) !important;
  color: var(--nec-slate-700) !important;
}
.nec-table tbody tr:hover td {
  background: var(--nec-slate-50) !important;
}

/* Payout Request Row */
.nec-payout-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.nec-payout-row select {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--nec-slate-300);
  background: #ffffff;
  font-size: 14px;
  color: var(--nec-slate-700);
}

/* Empty State */
.nec-empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--nec-slate-400);
}
.nec-empty-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.nec-empty-state strong {
  display: block;
  font-size: 15px;
  color: var(--nec-slate-700);
  margin-bottom: 4px;
}
.nec-empty-state p {
  font-size: 13.5px;
  color: var(--nec-slate-400);
  margin: 0;
}


/* ==========================================================================
   Welcome Banner Actions & Logout Styling
   ========================================================================== */
.nec-welcome-banner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}
.nec-welcome-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nec-welcome-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nec-banner-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}
.nec-banner-btn svg {
  flex-shrink: 0;
}
.nec-banner-btn-ghost {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.nec-banner-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}
.nec-banner-btn-logout {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #fee2e2 !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
}
.nec-banner-btn-logout:hover {
  background: rgba(239, 68, 68, 0.4) !important;
  color: #ffffff !important;
  border-color: rgba(239, 68, 68, 0.7) !important;
}

/* ==========================================================================
   Dashboard Footer Bar
   ========================================================================== */
.nec-dashboard-footer-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 22px !important;
  margin-top: 28px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  color: #64748b !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
.nec-footer-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nec-footer-user-info strong {
  color: #0f172a;
}
.nec-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nec-footer-link {
  color: #475569 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}
.nec-footer-link:hover {
  color: #0f172a !important;
}
.nec-footer-logout {
  color: #ef4444 !important;
  font-weight: 600 !important;
}
.nec-footer-logout:hover {
  color: #dc2626 !important;
  text-decoration: underline !important;
}
.nec-footer-sep {
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .nec-welcome-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .nec-welcome-actions {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .nec-dashboard-footer-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}


/* ==========================================================================
   Wholesale Portal Specific Styles
   ========================================================================== */
.nec-ws-banner {
  background: linear-gradient(135deg, #0f172a, #0f766e) !important;
}

.nec-badge-status-approved {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #a7f3d0 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  font-weight: 600;
}

/* Tier Card & Progress */
.nec-ws-tier-card {
  border-top: 3px solid #0d9488 !important;
}
.nec-tier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.nec-tier-progress-badge {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.nec-progress-bar-wrap {
  width: 100%;
  height: 9px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0 20px;
}
.nec-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0d9488, #10b981);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.nec-tier-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.nec-tier-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  border-radius: 8px;
}
.nec-tier-perk-item strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 2px;
}
.nec-tier-perk-item p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}
.nec-perk-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

/* Fast Order Catalog */
.nec-catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.nec-fast-order-table th {
  background: #f8fafc;
}
.nec-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nec-product-cell img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  flex-shrink: 0;
}
.nec-prod-link {
  color: #0f172a !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s ease;
}
.nec-prod-link:hover {
  color: #0d9488 !important;
}
.nec-prod-type {
  display: block;
  font-size: 11px;
  color: #64748b;
}
.nec-badge-stock-in {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
  font-weight: 600;
  font-size: 11px;
}
.nec-badge-stock-out {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
  font-weight: 600;
  font-size: 11px;
}
.nec-quick-add-form {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  justify-content: flex-end !important;
  margin: 0 !important;
}
.nec-qty-input {
  width: 80px !important;
  min-width: 80px !important;
  height: 38px !important;
  padding: 6px 10px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  text-align: center !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease !important;
}
.nec-qty-input:focus {
  border-color: #0d9488 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
}
.nec-quick-add-form .nec-btn {
  height: 38px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
}
.nec-btn-disabled {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  border: 1px solid #cbd5e1 !important;
  cursor: not-allowed !important;
}

/* Wholesale Form Grid */
.nec-wholesale-profile-form {
  margin-top: 14px;
}
.nec-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.nec-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nec-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.nec-form-group input {
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s ease;
}
.nec-form-group input:focus {
  border-color: #0d9488;
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.nec-order-link {
  color: #0d9488 !important;
  text-decoration: none !important;
  font-weight: 600;
}
.nec-order-link:hover {
  text-decoration: underline !important;
}


/* Order Status Badges */
.nec-badge-completed  { background: #10b981 !important; color: #ffffff !important; }
.nec-badge-processing { background: #3b82f6 !important; color: #ffffff !important; }
.nec-badge-on-hold    { background: #f59e0b !important; color: #ffffff !important; }
.nec-badge-cancelled  { background: #94a3b8 !important; color: #ffffff !important; }
.nec-badge-refunded   { background: #64748b !important; color: #ffffff !important; }
.nec-badge-failed     { background: #ef4444 !important; color: #ffffff !important; }

/* 2x2 Form Grid */
.nec-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}
@media (max-width: 768px) {
  .nec-form-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Quantity Stepper in Fast Order */
.nec-qty-control {
  display: inline-flex !important;
  align-items: stretch !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  height: 40px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}
.nec-qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 100% !important;
  background: #f8fafc !important;
  border: none !important;
  color: #334155 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  user-select: none !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
}
.nec-qty-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
.nec-qty-input-modern {
  width: 65px !important;
  min-width: 65px !important;
  height: 100% !important;
  border: none !important;
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  background: #ffffff !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border-radius: 0 !important;
  -moz-appearance: textfield !important;
}
.nec-qty-input-modern::-webkit-outer-spin-button,
.nec-qty-input-modern::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.nec-qty-input-modern:focus {
  outline: none !important;
  background: #f0fdf4 !important;
}
.nec-btn-add-fast {
  height: 40px !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
}


/* Mobile Responsive Quick Reorder Table */
.nec-mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .nec-table-wrap {
    overflow-x: visible !important;
  }
  .nec-fast-order-table thead {
    display: none !important;
  }
  .nec-fast-order-table,
  .nec-fast-order-table tbody {
    display: block !important;
    width: 100% !important;
  }
  .nec-fast-order-table tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "product product"
      "pricing stock"
      "action action" !important;
    padding: 16px !important;
    margin-bottom: 14px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    gap: 12px !important;
  }
  .nec-fast-order-table td {
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
  }
  
  .nec-col-product {
    grid-area: product !important;
  }
  .nec-col-sku {
    display: none !important;
  }
  .nec-col-retail {
    display: none !important;
  }
  .nec-col-wholesale {
    grid-area: pricing !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 16px !important;
  }
  .nec-col-wholesale del.nec-mobile-only {
    display: inline !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
  }
  .nec-col-stock {
    grid-area: stock !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  .nec-col-action {
    grid-area: action !important;
    width: 100% !important;
  }
  .nec-col-action .nec-quick-add-form {
    display: flex !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .nec-col-action .nec-qty-control {
    flex-shrink: 0 !important;
  }
  .nec-col-action .nec-btn-add-fast {
    flex: 1 !important;
    width: 100% !important;
  }
}


@media (max-width: 768px) {
  .nec-order-history-table thead {
    display: none !important;
  }
  .nec-order-history-table,
  .nec-order-history-table tbody {
    display: block !important;
    width: 100% !important;
  }
  .nec-order-history-table tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "ordernum status"
      "date items"
      "total action" !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    gap: 10px !important;
  }
  .nec-order-history-table td {
    padding: 0 !important;
    border: none !important;
  }
  .nec-col-order-id {
    grid-area: ordernum !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }
  .nec-col-order-status {
    grid-area: status !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  .nec-col-order-date {
    grid-area: date !important;
    font-size: 13px !important;
    color: #64748b !important;
  }
  .nec-col-order-items {
    grid-area: items !important;
    font-size: 13px !important;
    color: #64748b !important;
    text-align: right !important;
  }
  .nec-col-order-total {
    grid-area: total !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
  }
  .nec-col-order-actions {
    grid-area: action !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  .nec-col-order-actions .nec-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}


/* Responsive Referral & Payout Tables for Affiliate */
@media (max-width: 768px) {
  .nec-referral-table thead,
  .nec-payouts-table thead {
    display: none !important;
  }
  .nec-referral-table,
  .nec-referral-table tbody,
  .nec-payouts-table,
  .nec-payouts-table tbody {
    display: block !important;
    width: 100% !important;
  }
  .nec-referral-table tr,
  .nec-payouts-table tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "ordernum status"
      "date amount"
      "comm comm" !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    gap: 8px !important;
  }
  .nec-payouts-table tr {
    grid-template-areas:
      "date status"
      "method amount" !important;
  }
  .nec-referral-table td,
  .nec-payouts-table td {
    padding: 0 !important;
    border: none !important;
  }
  .nec-col-ref-order {
    grid-area: ordernum !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }
  .nec-col-ref-status,
  .nec-col-po-status {
    grid-area: status !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  .nec-col-ref-date,
  .nec-col-po-date {
    grid-area: date !important;
    font-size: 13px !important;
    color: #64748b !important;
  }
  .nec-col-ref-amount {
    grid-area: amount !important;
    font-size: 13px !important;
    color: #475569 !important;
    text-align: right !important;
  }
  .nec-col-po-method {
    grid-area: method !important;
    font-size: 13px !important;
    color: #475569 !important;
  }
  .nec-col-po-amount {
    grid-area: amount !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: right !important;
    color: #0f172a !important;
  }
  .nec-col-ref-comm {
    grid-area: comm !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-top: 1px dashed #e2e8f0 !important;
    padding-top: 8px !important;
    margin-top: 4px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .nec-col-ref-comm:before {
    content: "Your Commission:";
    font-size: 12px !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }
}



@media (max-width: 768px) {
  
/* Dashboard Container Spacing - Desktop & Mobile */
main.container,
main.container[style],
.site-page-container {
  padding-top: 28px !important;
}

/* Eliminate excessive top space from theme container */
  main.container,
  main.container[style],
  .container {
    padding-top: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 24px !important;
  }

  .nec-dashboard {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Compact modern banner on mobile */
  .nec-welcome-banner {
    padding: 18px 16px !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
    gap: 12px !important;
  }

  .nec-welcome-text h2 {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin: 0 0 4px 0 !important;
  }

  .nec-welcome-text p {
    font-size: 13px !important;
    line-height: 1.35 !important;
    opacity: 0.9 !important;
    margin: 0 0 10px 0 !important;
  }

  .nec-welcome-badges {
    gap: 6px !important;
    margin-top: 4px !important;
  }

  .nec-badge-pill {
    padding: 4px 10px !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
  }

  .nec-welcome-actions {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .nec-welcome-actions .nec-banner-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    border-radius: 6px !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   Stacked Partner Registration Cards (Affiliate Top, Wholesaler Bottom)
   ========================================================================== */
.nec-registration-stacked {
    max-width: 780px;
    margin: 0 auto;
}
.nec-reg-stack {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 28px;
}
.nec-reg-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 34px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
#nec-card-wholesale {
    margin-top: 16px;
}
.nec-reg-card-header {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}
.nec-reg-card-header h3 {
    margin: 0 0 6px 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}
.nec-reg-card-header p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}
@media (max-width: 640px) {
    .nec-reg-stack {
        gap: 48px;
    }
    .nec-reg-card {
        padding: 22px 18px;
    }
}
