/* =============================================
   NEW HOME — CUSTOM OVERRIDES (Bootstrap v5.3.2 base)
   Only properties Bootstrap doesn't cover
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --nh-green:        var(--custom-primary);
  --nh-green-dark:   var(--custom-secondary);
  --nh-green-bg:     #e8f5e9;
  --nh-green-icon:   #d4edda;
  --nh-border:       #E5E7EB;
  --nh-border-light: #f0f0f0;
  --nh-page-bg:      #f4f6f8;
  --nh-muted:        #6B7280;
  --nh-radius:       14px;
  --nh-shadow:       0 1px 4px rgba(0,0,0,.07), 0 2px 12px rgba(0,0,0,.04);
  --nh-font:         'Inter', Arial, sans-serif;
}

/* Body */
.nh-body {
  font-family: var(--nh-font);
  background:  var(--nh-page-bg);
  color: #111827;
  font-size: 14px;
}

/* ── Top Header (Row 1) ─────────────────────── */
.nh-header {
  background: #fff;
  z-index: 1031;
}

.nh-header-row1 {
    height: 66px;
    border-bottom: 1px solid var(--nh-border);
    padding: 15px 0;
}

/* ── Sub-nav Row (Row 2) ───────────────────── */
.nh-header-row2 {
  height: 50px;
  border-bottom: 1px solid var(--nh-border); /* full-width border */
}

/* ── Sub Header standalone (if used as separate element) ─ */
.nh-subheader {
  background: #fff;
  border-bottom: 1px solid var(--nh-border);
  z-index: 1030;
  top: 46px;
}

.nh-subheader-inner {
  height: 50px;
}

.nh-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--nh-green);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.nh-brand {
  font-size: 15px;
  font-weight: 600;
  color: #111827 !important;
  text-decoration: none;
}

.nh-check { color: var(--nh-green); }

.nh-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--nh-muted) !important;
  border-radius: 6px;
  padding: 6px 14px !important;
  display: flex;
  align-items: center;
  transition: color .2s, background .2s;
  position: relative;
}

.nh-nav-link:hover {
  color: #111827 !important;
  background: var(--nh-green-bg);
}

.nh-nav-link.active {
  color: var(--nh-green) !important;
  font-weight: 600;
}

.nh-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--nh-green);
  border-radius: 2px 2px 0 0;
}

.nh-link-sm {
  font-size: 12.5px;
  color: var(--nh-muted);
  text-decoration: none;
  transition: color .2s;
}
.nh-link-sm:hover { color: #111827; }

.nh-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--nh-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

.nh-username { font-size: 13px; font-weight: 500; }

/* ── Notice Strip ───────────────────────────── */
.nh-notice-strip-wrap {
  background: var(--nh-green-bg);
  border-bottom: 1px solid #c8e6c9;
  padding: 7px 0;
  font-size: 12.5px;
  color: #2d6a30;
}
.nh-notice-strip-wrap a {
  color: var(--nh-green);
  font-weight: 600;
  text-decoration: none;
}
.nh-notice-strip-wrap a:hover { text-decoration: underline; }

/* ── Page title (inside header row2) ────────── */
.nh-page-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

/* ── Main wrapper ────────────────────────────── */
.nh-main-wrap {
  min-height: calc(100vh - 200px);
}

/* ── Cards ───────────────────────────────────── */
.nh-card {
  border: 1px solid var(--nh-border) !important;
  border-radius: var(--nh-radius) !important;
  box-shadow: var(--nh-shadow) !important;
}

/* ── Sidebar: Company ────────────────────────── */
.nh-company-logo {
  width: 38px; height: 38px;
  background: var(--nh-green-icon);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

.nh-company-name {
  font-size: 12.5px; font-weight: 600;
  color: #111827; line-height: 1.4;
}

.nh-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nh-label-muted { font-size: 12px; color: var(--nh-muted); }
.nh-value-green { font-size: 12.5px; color: var(--nh-green); }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-400 { font-weight: 400; }

.nh-caret { font-size: 10px; color: var(--nh-muted); cursor: pointer; }

.nh-section-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--nh-muted);
}

.nh-icon-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--nh-green-icon);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}

.nh-fav-row { font-size: 11px; color: var(--nh-muted); margin-left: 36px; }

/* ── Buttons ─────────────────────────────────── */
.nh-btn-primary {
  background: var(--nh-green) !important;
  border: none !important;
  border-radius: 9px !important;
  color: #fff !important;
  font-size: 13px; font-weight: 600;
  padding: 10px 14px;
  transition: background .2s, transform .1s;
  text-decoration: none;
  height: 55px;
}
.nh-btn-primary:hover {
  background: var(--nh-green) !important;
  transform: translateY(-1px);
}

.nh-btn-secondary {
  background: #fff !important;
  border: 1px solid var(--nh-border) !important;
  border-radius: 9px !important;
  color: #374151 !important;
  font-size: 12.5px; font-weight: 500;
  padding: 9px 14px;
  width: 100%;
  transition: background .2s;
  text-decoration: none;
  height: 55px;
}
.nh-btn-secondary:hover { background: var(--nh-green-bg) !important; }

.nh-badge-red {
  background: #dc2626; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 10px;
}

/* ── Filters ─────────────────────────────────── */
.nh-select {
  font-size: 12.5px !important;
  color: #374151 !important;
  border: 1px solid var(--nh-border) !important;
  border-radius: 8px !important;
  padding: 6px 30px 6px 12px !important;
  height: 36px;
  line-height: 1.5;
  background-color: #fff !important;
  max-width: 160px;
  cursor: pointer;
}
.nh-select:focus {
  border-color: var(--nh-green) !important;
  box-shadow: 0 0 0 2px rgba(62,142,65,.15) !important;
  outline: none !important;
}

/* Date range input — same look as selects but wider */
.nh-date-input {
  padding: 6px 12px !important;  /* no dropdown arrow → symmetric padding */
  max-width: 200px !important;
  cursor: pointer !important;
  background-image: none !important; /* remove any bootstrap arrow */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Highlights KPI ──────────────────────────── */
.nh-highlights-title {
  font-size: 15px; font-weight: 700; color: #111827;
}

.nh-kpi-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
}

.nh-kpi-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--nh-green-icon);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0; margin-top: 2px;
}

.nh-kpi-value { font-size: 22px; font-weight: 700; color: #111827; line-height: 1.2; word-break: break-word; word-wrap: break-word; }
.nh-kpi-unit  { font-size: 13px; font-weight: 400; color: var(--nh-muted); }
.nh-kpi-label { font-size: 12px; color: var(--nh-muted); margin-top: 2px; }
.nh-kpi-sub   { font-size: 11px; color: var(--nh-muted); }

/* sm border-end helper (visible only on sm+) */
@media (min-width: 576px) {
  .border-end-sm { border-right: 1px solid var(--nh-border-light) !important; }
}
@media (max-width: 767px) {
  .border-top-md-0 { border-top: none !important; }
}
@media (min-width: 768px) {
  .border-top-md-0 { border-top: none !important; }
}

/* ── Case cells ──────────────────────────────── */
.nh-section-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--nh-muted);
}

.nh-case-cell { padding: 12px 16px; }
.nh-case-label { font-size: 12px; color: var(--nh-muted); margin-bottom: 8px; }
.nh-case-icon {
  width: 28px; height: 28px;
  border-radius: 7px; background: var(--nh-green-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.nh-case-value { font-size: 26px; font-weight: 700; color: #111827; line-height: 1.1; }
.nh-case-sub   { font-size: 11px; color: var(--nh-muted); margin-top: 4px; }

.nh-info-btn {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--nh-border);
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--nh-muted);
}

/* ── Chart cards ─────────────────────────────── */
.nh-chart-title { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 0;}

.nh-legend-item { font-size: 11px; color: var(--nh-muted); display: flex; align-items: center; gap: 5px; }
.nh-legend-dot  { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.nh-legend-line { width: 16px; height: 2px;  border-radius: 1px; display: inline-block; }
.nh-donut-dot   { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.ml-5{margin-left: 5px;}

/* ── Country chart controls ──────────────────── */
.nh-export-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--nh-border) !important;
  border-radius: 7px !important;
  background: #fff !important;
  font-size: 12px; color: #374151 !important;
  transition: background .2s;
}
.nh-export-btn:hover { background: var(--nh-green-bg) !important; }

/* Export Dropdown Custom Styles */
.nh-export-dropdown-menu {
  border: 1px solid var(--nh-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  padding: 8px !important;
  min-width: 170px !important;
  margin-top: 5px !important;
}

.nh-export-dropdown-menu .dropdown-item {
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #374151;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease-in-out;
}

.nh-export-dropdown-menu .dropdown-item:hover,
.nh-export-dropdown-menu .dropdown-item:focus {
  background-color: var(--nh-green-bg) !important;
  color: var(--nh-green) !important;
}

.nh-export-icon {
  width: 16px;
  height: 16px;
  color: var(--nh-muted);
  transition: color 0.2s ease;
}

.nh-export-dropdown-menu .dropdown-item:hover .nh-export-icon,
.nh-export-dropdown-menu .dropdown-item:focus .nh-export-icon {
  color: var(--nh-green);
}

.nh-toggle-label { font-size: 12px; color: var(--nh-muted); }

.nh-toggle-switch {
  cursor: pointer;
}
.nh-toggle-switch:checked {
  background-color: var(--nh-green) !important;
  border-color: var(--nh-green) !important;
}

/* ── Detail strip ────────────────────────────── */
.nh-vr {
  width: 1px; height: 36px;
  background: var(--nh-border);
  flex-shrink: 0;
}
.nh-flagged { color: #f59e0b; }

/* ── Footer ──────────────────────────────────── */
.nh-footer-wrap {
  background: #fff;
  border-top: 1px solid var(--nh-border);
}
.nh-footer-brand { font-size: 12.5px; font-weight: 600; color: #374151; }
.nh-footer-link  { font-size: 12px; color: var(--nh-muted); text-decoration: none; transition: color .2s; }
.nh-footer-link:hover { color: var(--nh-green); }
.nh-footer-copy  { font-size: 11.5px; color: var(--nh-muted); }

/* ═══════════════════════════════════════════════
   NOTIFICATION BELL + PANEL
   ═══════════════════════════════════════════════ */

/* Bell button */
.nh-notif-btn {
  position: relative;
  background: none;
  border: none;
  padding: 4px 6px;
  color: #374151;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: background .15s;
}
.nh-notif-btn:hover { background: var(--nh-green-bg); color: var(--nh-green); }

/* Red unread badge on bell */
.nh-notif-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  min-width: 16px;
  height: 16px;
  background: #dc3545;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
}

/* Dropdown panel */
.nh-notif-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 310px;
  background: #fff;
  border: 1px solid var(--nh-border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.13);
  z-index: 2000;
  overflow: hidden;
}
.nh-notif-panel.nh-notif-open { display: block; }

/* Arrow pointer on panel */
.nh-notif-panel::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--nh-border);
  border-top: 1px solid var(--nh-border);
  transform: rotate(45deg);
}

/* Panel header */
.nh-notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--nh-border);
}
.nh-notif-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.nh-notif-count-badge {
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  padding: 2px 8px;
}
.nh-notif-collapse-btn {
  background: none;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  color: var(--nh-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: background .15s;
}
.nh-notif-collapse-btn:hover { background: var(--nh-border); }

/* Mark all / Expand row */
.nh-notif-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  border-bottom: 1px solid var(--nh-border);
}
.nh-notif-mark-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--nh-green);
  text-decoration: none;
  font-weight: 500;
}
.nh-notif-mark-read:hover { text-decoration: underline; }
.nh-notif-expand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--nh-muted);
  text-decoration: none;
}
.nh-notif-expand:hover { color: #111827; }

/* Section label */
.nh-notif-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--nh-muted);
  padding: 8px 14px 4px;
}

/* Scrollable list */
.nh-notif-list {
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nh-notif-list::-webkit-scrollbar { width: 5px; }
.nh-notif-list::-webkit-scrollbar-track { background: transparent; }
.nh-notif-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

/* Individual notification item */
.nh-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--nh-border-light);
  transition: background .15s;
  cursor: pointer;
}
.nh-notif-item:last-child { border-bottom: none; }
.nh-notif-item:hover { background: #f9fafb; }

/* Unread alert item highlight */
.nh-notif-item--unread.nh-notif-item--alert { background: #fff5f5; }
.nh-notif-item--unread.nh-notif-item--alert:hover { background: #fee2e2; }

/* Icon container */
.nh-notif-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.nh-notif-icon--alert   { background: #fee2e2; }
.nh-notif-icon--success { background: #dcfce7; }
.nh-notif-icon--info    { background: #f3f4f6; }
.nh-notif-icon--warning { background: #fff7ed; }

/* Item text */
.nh-notif-body { flex: 1; min-width: 0; }
.nh-notif-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nh-notif-item-desc {
  font-size: 12px;
  color: var(--nh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.nh-notif-item-time {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 3px;
}

/* ── Sidebar notification panel ─────────────────────────────── */
.nh-sidebar-notif-wrap {
  position: relative;
}

/* Trigger card open state */
.nh-notif-trigger-card.nh-notif-open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

/* The panel itself — hidden by default, expands inline */
.nh-sidebar-notif-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--nh-border);
  border-top: none;
  border-radius: 0 0 var(--nh-radius) var(--nh-radius);
  overflow: hidden;
}
.nh-sidebar-notif-panel.nh-notif-open {
  display: block;
}

/* Chevron rotation when open */
.nh-notif-chevron {
  display: inline-block;
  transition: transform .2s;
}
.nh-notif-trigger-card.nh-notif-open .nh-notif-chevron {
  transform: rotate(180deg);
}


/* ═══════════════════════════════════════════════
   NOTIFICATION FULL MODAL
   ═══════════════════════════════════════════════ */

/* Backdrop overlay — hidden by default */
.nh-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nh-modal-overlay.nh-modal-open {
  display: flex;
}

/* Modal card */
.nh-modal-card {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* Sticky modal header */
.nh-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--nh-border);
  flex-shrink: 0;
}
.nh-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

/* Close ✕ button */
.nh-modal-close-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--nh-muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: background .15s, color .15s;
}
.nh-modal-close-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

/* Scrollable body */
.nh-modal-body {
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}
.nh-modal-body::-webkit-scrollbar { width: 5px; }
.nh-modal-body::-webkit-scrollbar-track { background: transparent; }
.nh-modal-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

/* Notification items inside modal — slightly larger padding */
.nh-modal-body .nh-notif-item {
  padding: 12px 18px;
  border-bottom: 1px solid var(--nh-border-light);
}
.nh-modal-body .nh-notif-item:last-of-type { border-bottom: none; }

.nh-modal-body .nh-notif-item-title { font-size: 14px; }
.nh-modal-body .nh-notif-item-desc  { font-size: 13px; }

/* Section labels inside modal */
.nh-modal-body .nh-notif-section-label {
  padding: 10px 18px 4px;
  border-bottom: 1px solid var(--nh-border);
}

/* "No more notifications" end label */
.nh-modal-end-label {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  padding: 16px 0 20px;
}

/* ── Company Summary Card Styles ── */
.nh-company-summary-card {
    background: linear-gradient(180deg, #F0FDF4 0%, #F8FAF9 100%);
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    /* max-width: 280px; */
    width: 100%;
    margin: 0 auto;
}

.nh-company-logo-box {
    width: 48px;
    height: 48px;
    background: var(--custom-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(39, 174, 96, 0.2);
    font-size: 24px;
    flex-shrink: 0;
}

.nh-company-name-text {
    color: #1E293B;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.nh-summary-stat-row {
    background: #F8FAFC;
    border-radius: 8px;
    padding: 10px 15px;
}

.nh-summary-stat-wrapper {
    background: #F8FAFC;
    border-radius: 8px;
    overflow: hidden;
}

.nh-summary-stat-wrapper .nh-summary-stat-row {
    background: transparent;
    padding: 10px 15px;
    border-radius: 0;
}

.nh-summary-detail-label {
    color: #64748B;
    font-size: 13px;
}

.nh-summary-detail-value {
    color: #1E293B;
    font-size: 13px;
    font-weight: 600;
}

.nh-summary-info-box {
    background: #ECFDF5;
    border-radius: 10px;
    padding: 12px 15px;
}

.nh-summary-info-title {
    color: #475569;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.nh-summary-fav-text {
    font-size: 12px;
    color: #64748B;
    margin-top: 4px;
}

.nh-caret-icon {
    transition: transform 0.2s ease-in-out;
}
.nh-caret-icon.up {
    transform: rotate(180deg);
}

/* ── Highlights Card Updated Styles ── */
.nh-kpi-box {
    background: #F4FBF7;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}
.nh-kpi-box-icon {
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nh-kpi-box .nh-kpi-value {
    font-size: 24px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}
.nh-kpi-box .nh-kpi-label {
    font-size: 13px;
    color: #64748B;
    margin-top: 2px;
}
.nh-kpi-box .nh-kpi-sub {
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}
.nh-kpi-box .nh-kpi-unit {
    font-size: 16px;
    font-weight: 600;
    color: #1E293B;
}

/* ── Case Assessments New Styles ── */
.nh-panel-box {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
}
.nh-inner-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px 12px 0 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}
.nh-inner-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.nh-inner-card-title {
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    line-height: 1.3;
}
.nh-inner-icon {
    width: 32px;
    height: 32px;
    background-color: #EAF7F0;
    color: #16A34A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nh-inner-icon svg {
    width: 18px;
    height: 18px;
}
.nh-inner-value {
    font-size: 24px;
    font-weight: 700;
    color: #1E293B;
}
.nh-inner-sub {
    font-size: 12px;
    color: #64748B;
}
.nh-info-btn-new {
    background: transparent;
    border: none;
    color: #94A3B8;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.nh-info-btn-new:hover {
    color: #475569;
}

/* Flagged Locations Disabled Card Style */
.nh-inner-card.hl-kpi-disable {
    background-color: #F8FAFC !important;
    border-color: #E2E8F0 !important;
    box-shadow: none !important;
    cursor: not-allowed;
}
.nh-inner-card.hl-kpi-disable:hover {
    box-shadow: none !important;
}
.nh-inner-card.hl-kpi-disable .nh-inner-card-title {
    color: #94A3B8 !important;
}
.nh-inner-card.hl-kpi-disable .nh-inner-icon {
    background-color: #F1F5F9 !important;
    color: #94A3B8 !important;
}
.nh-inner-card.hl-kpi-disable .nh-inner-value {
    color: #94A3B8 !important;
}
.nh-inner-card.hl-kpi-disable .nh-inner-sub {
    color: #94A3B8 !important;
}
.nh-inner-card.hl-kpi-disable .nh-info-btn-new {
    color: #CBD5E1 !important;
    pointer-events: none;
}

/* ── Detail Strip New Styles ── */
.nh-detail-strip {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    min-height: 110px;
}
.nh-detail-icon-box {
    width: 40px;
    height: 40px;
    background-color: #DCFCE7;
    color: #16A34A;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nh-detail-title {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
}
.nh-detail-label {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 2px;
}
.nh-detail-value {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}

/* ═══════════════════════════════════════════════
   HEADER BELL — OVERRIDES FOR NAVBAR CONTEXT
   ═══════════════════════════════════════════════ */

/* Ensure the wrapper is a positioned ancestor for the dropdown */
#notificationWrapper {
    position: relative;
    display: inline-block;
}

/* Keep the panel right-aligned under the bell */
#notificationWrapper .nh-notif-panel {
    right: 0;
    left: auto;
    top: calc(100% + 8px);
}

/* Animate panel open */
#notificationWrapper .nh-notif-panel.nh-notif-open {
    animation: nhPanelSlideIn 0.18s ease;
}

@keyframes nhPanelSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bell button pulse on unread */
#notificationBell.nh-notif-btn:has(.nh-notif-badge) {
    animation: bellPulse 3s ease-in-out infinite;
}

@keyframes bellPulse {
    0%, 90%, 100% { transform: none; }
    93%  { transform: rotate(-8deg); }
    96%  { transform: rotate(8deg); }
    98%  { transform: rotate(-4deg); }
}

/* The full-screen modal rendered inside header still positions fixed to viewport */
#notifHeaderModal {
    position: fixed !important;
}


/* ── Full-width Notice Banners ────────────────── */

/* Outer wrapper — provides the top separator border from header */
.nh-notice-wrap {
    border-top: 1px solid #e5e7eb;
}

/* Each individual banner row */
.nh-notice-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    border-left: 3px solid transparent;
}

/* Separator between stacked banners */
.nh-notice-banner + .nh-notice-banner {
    /* border-top: 1px solid rgba(0, 0, 0, 0.06); */
}

/* Icon pill — small rounded badge around the SVG */
.nh-notice-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    flex-shrink: 0;
}

.nh-notice-text {
    flex: 1;
}

/* Warning style (maintenance / password expiry) */
.nh-notice-warning {
    background-color: #f0fdf4;
    /* border-left-color: #22c55e; */
    color: #14532d;
}
.nh-notice-icon-pill--warning {
    background-color: #dcfce7;
    color: #16a34a;
    margin-right: 15px;
}
.nh-notice-icon-pill--warning svg {
    stroke: #16a34a;
}
.nh-notice-warning strong {
    font-weight: 700;
    color: #166534;
    margin-right: 5px;
}
.nh-notice-warning a {
    color: #15803d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nh-notice-warning a:hover { color: #166534; }

/* Info style (EU message) */
.nh-notice-info {
    background-color: #eff6ff;
    /* border-left-color: #3b82f6; */
    color: #1e3a8a;
}
.nh-notice-icon-pill--info {
    background-color: #dbeafe;
    color: #2563eb;
    margin-right: 15px;
}
.nh-notice-icon-pill--info svg {
    stroke: #2563eb;
}
.nh-notice-info a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nh-notice-info a:hover { color: #1e40af; }

/* ═══════════════════════════════════════════════
   ONBOARDING CHECKLIST — right content area
   ═══════════════════════════════════════════════ */

/* ── Hero Banner ── */
.nh-onboard-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--nh-radius);
    padding: 28px 32px 24px;
    text-align: center;
}

.nh-onboard-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--custom-primary);
}

.nh-onboard-hero-title {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    margin: 10px 0 8px;
    line-height: 1.25;
    word-spacing: 5px;
}

.nh-onboard-hero-sub {
    font-size: 13.5px;
    color: #6e7d91;
    margin: 0;
    line-height: 1.6;
    max-width: 520px;
    margin-inline: auto;
}

/* ── Step Card ── */
.nh-step-card {
    background: #fff;
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    box-shadow: var(--nh-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.nh-step-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,.10);
}

.nh-step-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
}
.nh-step-card-header:hover {
    background: #fafafa;
}

/* Step number circle */
.nh-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8f5e9;
    color: var(--custom-primary);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid #c8e6c9;
    transition: background 0.2s, color 0.2s;
}

/* Active / expanded state — green filled circle */
.nh-step-card:has(.nh-step-chevron--open) .nh-step-number,
.nh-step-number.nh-step-completed {
    background: var(--custom-primary);
    color: #fff;
    border-color: var(--custom-primary);
}

.nh-step-card-header:not([onclick]) {
    cursor: default;
}
.nh-step-card-header:not([onclick]):hover {
    background: #fff;
}

/* Step icon box */
.nh-step-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e8f5e9;
    color: var(--custom-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

/* Active / expanded state — slightly deeper green icon */
.nh-step-card:has(.nh-step-chevron--open) .nh-step-icon-box {
    background: #c8e6c9;
}

.nh-step-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
}

.nh-step-sub {
    font-size: 12.5px;
    color: var(--nh-muted);
    margin-top: 2px;
}

/* Chevron */
.nh-step-chevron {
    color: var(--nh-muted);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, color 0.2s;
    flex-shrink: 0;
}
.nh-step-chevron--open {
    transform: rotate(90deg);
    color: var(--custom-primary);
}

/* Collapsed body */
.nh-step-body {
    padding: 0 20px 20px;
}

.nh-step-divider {
    border: none;
    border-top: 1px solid var(--nh-border);
    margin: 0 0 16px;
}

.nh-step-body-text {
    font-size: 13.5px;
    color: #6e7d91;
    line-height: 1.65;
    margin-bottom: 14px;
}

/* CTA button inside step body */
.nh-step-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--custom-primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    transition: background 0.2s, transform 0.15s;
}
.nh-step-action-btn:hover {
    background: var(--custom-primary);
    transform: translateY(-1px);
    color: #fff !important;
}
.nh-step-action-btn.disabled {
    background: #cbd5e1 !important;
    color: #94a3b8 !important;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
    transform: none !important;
}

/* ── Progress Footer ── */
.nh-onboard-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #374151;
    padding: 10px 4px 4px;
}
.nh-onboard-footer strong {
    font-weight: 700;
    color: #111827;
}
.nh-onboard-footer-note {
    color: var(--nh-muted);
}
.nh-company-logo-box svg{
  color: #fff;
}
.hl-kpi-commodities-icon{
  font-weight: 700;
  font-size: 25px;
  letter-spacing: .5px;
}
.hl-kpi-commodities-icon img{
  margin-right: 15px;
}

/* ── No Data Found Empty State ── */
.no-data-found {
    border: 1px dashed #cbd5e1 !important;
    box-shadow: none !important;
    background-color: #ffffff;
    display: none;
}

.nh-empty-state-content {
    padding: 60px 20px;
    text-align: center;
}

.nh-empty-state-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.nh-empty-state-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.supplier-strip .nh-detail-value{
    max-width: 110px !important;
}
.nh-detail-value{
    max-width: 300px;
    width: 100%;
}


/* =============================================
   Case Summary Button & Popup
   ============================================= */

.case-summary-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 13px;
    font-size: 13px;
    font-weight: 500;
    color: #005194;
    background: #0051941a;
    border: 2px solid #0051944d;
    border-radius: 20px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    line-height: 1.4;
}

.case-summary-btn:hover {
    border-color: #DF542F;
    color: #DF542F;
    box-shadow: 0 1px 5px rgba(223,84,47,0.12);
}

.case-summary-btn.active {
    border-color: #DF542F;
    color: #DF542F;
    background: #fff8f6;
}

.case-summary-wrapper {
    position: relative;
    display: inline-block;
}

.case-summary-popup {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
    min-width: 360px;
    max-width: 420px;
    border: 1px solid #ececec;
    animation: csFadeIn 0.18s ease;
}

@keyframes csFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.case-summary-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.case-summary-popup-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.case-summary-close-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: #888;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: color 0.15s, background 0.15s;
}

.case-summary-close-btn:hover {
    color: #DF542F;
    background: #fef2ef;
}

.case-summary-popup-body {
    padding: 14px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cs-row {
    display: flex;
    gap: 20px;
}

.cs-row .cs-field {
    flex: 1;
}

.cs-field.full-width {
    width: 100%;
}

.cs-label {
    font-size: 10px;
    font-weight: 600;
    color: #65758b;
    /* text-transform: uppercase; */
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}

.cs-value {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    word-break: break-all;
}