/* ===== Overlay Shell ===== */


/* Ensure the Avada footer doesn't compete */
#footer,
.fusion-footer {
    z-index: 1 !important;
}

#dc-overlays {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  pointer-events: none;
}

#dc-overlays .dc-overlay {
  pointer-events: auto;
}

.dc-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999 !important; /* Extremely high to beat Avada layers */
  display: block; /* toggle with JS */
  font-family: "Figtree";
  color: #111;
}

.dc-overlay.hidden {
   display: none; /* toggle with JS */
}

/* ===== Backdrop ===== */
.dc-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(1,1,28,0.05),
      rgba(1,1,28,0.85) 70%
  );
  backdrop-filter: blur(6px);
}

/* ===== Panel ===== */
.dc-overlay-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: min(90vh, 900px);
  max-height: 90vh;
  width: 88%;
  max-width: 1600px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.92),
    rgba(245,245,245,0.85)
  );
  /* border-radius removed to match site theme */
  box-shadow:
    0 40px 120px rgba(1,1,28,0.45),
    inset 0 1px 0 rgba(255,255,255,0.6);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

/* Target tablets and mobile (standard 1024px breakpoint and down) */
/*
@media (max-width: 1200px) {
  .dc-overlay-panel {
    transform: translate(0, 0) !important;
  }
} */

/* ===== Close Button ===== */
.dc-overlay-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  /* Removed border-radius for site consistency */
  border: none;
  background: #fff;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.dc-overlay-close:hover {
  background: #00a984; /* subtle accent color */
  color: #fff;
}

/* ===== Content Layout ===== */
.dc-overlay-content {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

/* ===== Overlay Pane ===== */
.dc-overlay-pane {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: linear-gradient(180deg, #ffffff, #f4f4f4);
  border: none;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ===== Overlay Pane ===== */
.dc-overlay-pane h2,
.dc-overlay-pane h3 {
  color: #01011c;
}

/* ===== Mobile / Tablet: Fix Scrolling & Layout ===== */
@media (max-width: 1199px) {
  /* 1. Make the root overlay allow vertical scrolling */
  .dc-overlay {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 2. Reset the panel so it can grow naturally */
  .dc-overlay-panel {
    position: relative !important; /* Change from absolute/fixed */
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important; /* Crucial: Let content dictate height */
    max-height: none !important;
    overflow: visible !important;
    padding: 0;
    margin: 0;
    display: block; /* Break the flex column */
    will-change: transform, opacity;
  }

  /* 3. Stack the content and remove fixed heights */
  .dc-overlay-content {
    display: block !important;
    height: auto !important;
  }

  /* 4. Ensure the overlay pane expands fully */
  .dc-overlay-pane {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding: 32px 20px !important;
    display: block !important;
  }

  /* 5. Fix the Table "Scroll-in-Scroll" trap */
  .dc-suppliers.real-table tbody {
    max-height: none !important;
    overflow: visible !important;
  }

  /* Horizontal scroll for the table instead of vertical */
  .dc-suppliers {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}




/* ===== Typography ===== */
.dc-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: #00a984;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0;
}



.dc-subhead {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  max-width: min(100%, 980px);
}

.dc-subhead p {
  margin: 0;
}

.dc-subhead .dc-subhead-text {
  display: inline-block;
  line-height: 1.45;
  overflow: hidden;
  vertical-align: bottom;
  transition: max-height 0.22s ease;
}

.dc-subhead.is-collapsed .dc-subhead-text {
  max-width: calc(100% - 110px);
  max-height: 1.45em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-subhead.is-expanded .dc-subhead-text {
  max-width: 100%;
  max-height: 12em;
  white-space: normal;
}

.dcm-read-info-toggle {
  display: inline;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #00a984;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.dcm-read-info-toggle:hover,
.dcm-read-info-toggle:focus-visible {
  color: #007c61;
  text-decoration: underline;
}


.dc-overlay-pane .top-content,
.dc-overlay-pane .bottom-content {
  padding:
    clamp(20px, 2vw, 34px)
    clamp(28px, 2.5vw, 46px)
    clamp(20px, 2vw, 34px);
}

@media (min-width: 1640px) {
  .dc-overlay-pane .top-content,
  .dc-overlay-pane .bottom-content  {
    padding: 40px 54px;
  }
}

.dc-overlay-pane .top-content {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex: 0 0 auto;
  padding-bottom: 0;
}

.dc-overlay-pane .top-content > :not(.overlay-header-banner) {
  position: relative;
  z-index: 1;
}

.overlay-header-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), #ffffff), var(--dcm-overlay-header-image);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.overlay-header-banner[hidden] {
  display: none;
}

.table-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: text-bottom;
}
.dc-overlay-pane .title-wrapper {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0;
  padding: 0;
  margin-bottom: 1rem;
}

.dc-overlay-pane h2 {
  font-size: clamp(34px, 3vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.title-wrapper h2,
.title-wrapper h3 {
  margin: 0;
}
.dc-overlay-pane h3 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 0;
}
.dc-overlay-pane .dc-cost {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #939292;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.dc-overlay-pane .dc-cost:before {
     background-size: contain;
    background-position: center -3px;
    background-repeat: no-repeat;
    flex: 1 0 32px;
    height: 80px;
  content: '';
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../svg/icons/cost-per-mw.svg');
}



.dc-overlay-pane p {
  font-size: 1rem;
  line-height: 22px;
  color: #333;
  margin-bottom: 16px;
}

.dc-overlay-pane em {
  color: #666;
  font-style: italic;
}

.dc-overlay-pane strong {
  color: #000;
}

/* ===== Supplier Table ===== */

  .dc-overlay-pane {
    width: 100%;
    border: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .dc-overlay-pane .top-content {
    border-bottom: 1px solid rgba(0,0,0,0.1);

  }

  .dc-overlay-pane .hdr-proud-partners {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .dc-overlay-pane .bottom-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
  }
  .dc-suppliers table {
    width: 100%;
   /* position: fixed;*/
  }


.table-wrapper {
  position: relative;
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 12px;
  padding-right: 1px;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dcm-table-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
}

.dcm-table-preloader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #09213c;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 244, 244, 0.86));
  pointer-events: none;
}

.dcm-table-preloader-inner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(1, 1, 28, 0.1);
  box-shadow: 0 18px 60px rgba(1, 1, 28, 0.12);
}

.dcm-table-loader-mark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 169, 132, 0.18);
  border-top-color: #00a984;
  border-radius: 50%;
  animation: dcm-loader-spin 0.8s linear infinite;
}

.dcm-table-loader-text {
  color: #09213c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dcm-table-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 14px;
}

.dcm-table-tools {
  --dcm-table-control-height: 42px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 1rem 0;
  max-width: 100%;
}

.dcm-table-controls-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.dcm-title-heading-pills {
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 3px;
}

.dcm-table-heading-main,
.dcm-heading-partner-count {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #01011c;             /* Kept your sharp, high-contrast dark slate */
  font-size: 13px;            /* Brought the size back up so it isn't tiny */
  font-weight: 700;           /* Clean, readable weight */
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
  border: none;
  border-radius: 0;
  gap: 5px;
}

/* Adds a clean visual separator between the two elements if they sit side-by-side */
.dcm-heading-partner-count::before {
  content: "•";               /* A clean bullet dot to create instant separation */
  margin-right: 8px;
  margin-left: 4px;
  color: #01011c;
  opacity: 0.5;               /* Softens just the dot so it doesn't crowd the words */
}

.dcm-heading-partner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.dcm-heading-partner-icon img,
.dcm-heading-partner-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.dcm-table-search-wrap {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--dcm-table-control-height);
}

.dcm-table-sort-wrap {
  flex: 0 1 220px;
  min-width: 180px;
  height: var(--dcm-table-control-height);
}

.dcm-table-search {
  width: min(100%, 460px);
  height: var(--dcm-table-control-height);
  min-height: var(--dcm-table-control-height);
  padding: 0 16px;
  border: 1px solid rgba(1, 1, 28, 0.18);
  border-radius: 1px;
  box-sizing: border-box;
  background: #ffffff;
  color: #09213c;
  font-size: 15px;
  box-shadow: 0 10px 28px rgba(1, 1, 28, 0.018);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dcm-table-sort {
  border-radius: 1px;
  width: 100%;
  height: var(--dcm-table-control-height);
  min-height: var(--dcm-table-control-height);
  padding: 0 42px 0 14px;
  border: 1px solid rgba(1, 1, 28, 0.18);
  box-sizing: border-box;
  cursor: pointer;
  color: #09213c;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(1, 1, 28, 0.02);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('../svg/icons/down-arrow.svg');
  background-repeat: no-repeat;  
  background-position: right 12px center;
  background-size: 12px 12px;
}



.dcm-table-search:focus,
.dcm-table-sort:focus {
  border-color: #00a984;
  box-shadow: 0 0 0 3px rgba(0, 169, 132, 0.16);
}

.dcm-table-clear-filters {
  flex: 0 0 auto;
  min-height: var(--dcm-table-control-height);
  padding: 0 12px;
  border: 1px solid rgba(1, 1, 28, 0.12);
  border-radius: 999px;
  box-sizing: border-box;
  background: rgba(248, 250, 252, 0.86);
  color: #64748b;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.dcm-table-clear-filters:hover,
.dcm-table-clear-filters:focus-visible {
  border-color: rgba(0, 169, 132, 0.42);
  background: rgba(0, 169, 132, 0.08);
  color: #00a984;
}

.dcm-table-clear-filters:focus-visible {
  outline: 2px solid rgba(0, 169, 132, 0.3);
  outline-offset: 4px;
}

@media (max-width: 1280px) {
  .dcm-table-controls-row {
    justify-content: flex-end;
  }
}

.dcm-table-empty {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(1, 1, 28, 0.1);
  color: #444;
}

.dcm-table-filter-empty {
  margin-top: 12px;
  text-align: center;
}

.dcm-member-legend {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  min-inline-size: 0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dcm-member-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.dcm-member-legend-swatch {
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 1px solid rgba(1, 1, 28, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.dcm-member-legend-swatch.legend-founding {
  background: #fff7d6;
}

.dcm-member-legend-swatch.legend-core {
  background: #edf4fb;
}

.dcm-member-filters {
  gap: 10px;
  height: var(--dcm-table-control-height);
}

.dcm-member-filter-label,
.company-name-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dcm-member-filter-label {
  min-height: var(--dcm-table-control-height);
  height: var(--dcm-table-control-height);
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(1, 1, 28, 0.12);
  box-sizing: border-box;
  color: #213044;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.dcm-member-filter-label:hover {
  border-color: rgba(0, 169, 132, 0.4);
  background: #ffffff;
}

.dcm-member-filter-label.disabled-pill {
  opacity: 0.42;
  pointer-events: none;
}

.dcm-member-filter-label input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #00a984;
}

.row-status-icon,
.filter-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.row-status-icon svg,
.filter-status-icon svg,
.row-status-icon img,
.filter-status-icon img {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

.row-status-icon img,
.filter-status-icon img {
  display: block;
  object-fit: contain;
}

.founding-member-icon {
  color: #c99311;
}

.core-member-icon {
  color: #2563a8;
}

.company-name-container {
  max-width: 100%;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.company-name-container a.internal-link,
.company-name-container a.external-link,
.company-name-container a.no-link {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 28px);
  line-height: 1.3;
  text-align: left;
}

.company-name-container a span {
  display: inline;
}

.company-name-container .row-status-icon {
  order: -1;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.12em;
}

.industry-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;              /* Spacing between the text and the NAICS link */
  justify-content: center; /* Centers items vertically in the cell */
  align-items: flex-start; /* Aligns both items to the left edge */
}

.naics-wrap {
  font-size: .8rem;
}

.naics-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1769aa;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
}

.naics-trigger-btn:hover {
  color: #0b4f82;
  text-decoration: underline;
}

.naics-trigger-btn:focus-visible {
  outline: 2px solid #00a984;
  outline-offset: 3px;
}

.naics-info-icon {
  color: #2b7bbb;
  font-size: 0.86em;
  line-height: 1;
}

.naics-tooltip {
  position: absolute;
  z-index: 1000000;
  width: min(360px, calc(100vw - 32px));
  padding: 16px 18px 17px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  color: #0f172a;
  font-family: Figtree, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1),
    0 24px 64px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  pointer-events: auto;
  will-change: opacity, transform;
}

.naics-tooltip::before {
  content: "";
  position: absolute;
  top: -8px;
  left: var(--naics-tooltip-arrow-x, 28px);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.08));
}

.naics-tooltip.is-above {
  transform: translate3d(0, -4px, 0);
}

.naics-tooltip.is-above::before {
  top: auto;
  bottom: -8px;
  border-bottom: 0;
  border-top: 8px solid rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.08));
}

.naics-tooltip.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.naics-tooltip-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.naics-tooltip-close:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  transform: scale(1.04);
}

.naics-tooltip-close:focus-visible {
  outline: 2px solid #0f67b1;
  outline-offset: 2px;
}

.naics-tooltip-title {
  padding-right: 26px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 5px;
}

.naics-tooltip-code {
  color: #0f67b1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.naics-tooltip p {
  margin: 0 0 12px;
  color: #334155;
  font-size: 13px;
  line-height: 1.48;
}

.naics-tooltip a {
  color: #0f67b1;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 103, 177, 0.28);
}

.naics-tooltip a:hover,
.naics-tooltip a:focus-visible {
  color: #073f73;
  border-bottom-color: currentColor;
  text-decoration: none;
}

@media (max-width: 799px) {
  .dcm-table-controls-row {
    justify-content: flex-start;
  }

  .dcm-table-search-wrap,
  .dcm-member-legend {
    flex: 1 1 100%;
  }

  .dcm-table-search-wrap {
    margin-left: 0;
  }

  .dcm-table-sort-wrap {
    flex: 1 1 180px;
  }

  .dcm-table-search {
    width: 100%;
  }

  .dcm-member-legend {
    justify-content: flex-start;
  }
}

/* sexy scrollbar */
/* Firefox */
.dcm-table-scroll,
.dc-suppliers.real-table tbody {
  scrollbar-width: thin;
  scrollbar-color: #00a984 transparent;
}

/* WebKit browsers (Chrome, Edge, Safari) */
.dcm-table-scroll::-webkit-scrollbar,
.dc-suppliers.real-table tbody::-webkit-scrollbar {
  width: 6px;              /* thin but usable */
  height: 6px;
}

.dcm-table-scroll::-webkit-scrollbar-track,
.dc-suppliers.real-table tbody::-webkit-scrollbar-track {
  background: transparent;
}

.dcm-table-scroll::-webkit-scrollbar-thumb,
.dc-suppliers.real-table tbody::-webkit-scrollbar-thumb {
  background-color: #00a984;
  border-radius: 999px;
  border: 2px solid transparent; /* creates breathing room */
  background-clip: content-box;
}

.dcm-table-scroll::-webkit-scrollbar-thumb:hover,
.dc-suppliers.real-table tbody::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in srgb, #00a984 85%, white);
}



/* Base styling for all table headers */
th[class^="th-"] {
  position: relative;
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  text-transform: uppercase;
  padding-top: 2.3rem;
  padding-bottom: 7px;
}

/* Common pseudo-element setup */
th[class^="th-"]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: .65rem;
  transform: translateX(-50%) scale(.9);
  transform-origin: center!important;
  transition: all 0.3s ease;
  width: 1.75rem;
  height: 1.75rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Specific Icon Assignments */
.dc-suppliers .th-name::before {
  background-image: url('../svg/icons/company-name.svg');
}

.dc-suppliers .th-location::before {
  background-image: url('../svg/icons/location.svg');
}

.dc-suppliers .th-industry::before {
  background-image: url('../svg/icons/industry.svg');
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -.44rem;
}

.dc-suppliers .th-employees::before {
  background-image: url('../svg/icons/employees.svg');
}

.dc-suppliers .th-revenue::before {
  background-image: url('../svg/icons/rev.svg');
  width: 2.6rem;
  height: 2.6rem;
  margin-top: -.5rem;
}

.dc-suppliers {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  /* Removed border-radius for site consistency */
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.08);
    table-layout: fixed;
}
/*
.dc-suppliers thead > tr {
 height: 5rem;
 background-color: rgba(0,169,132,0.05);
}*/
/* Base Link Styles */
.dc-suppliers a {
  color: #00a984;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: left;
  display: inline;
  position: relative;
}
.dc-suppliers a:hover {
  color: #00a984;
}

.dc-suppliers a.external-link::after {
  content: '';
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: 0.4rem;
  vertical-align: middle;

  background-image: url('../svg/icons/website-external.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  transform-origin: left center;
  transform: translateX(0) scale(1);
}

.dc-suppliers a.external-link:hover::after {
   transform: translateX(1px)scale(1.1);
}
.dc-suppliers td {
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(1,1,28,0.15);
  font-size: 14px;
  line-height: 20px;
  text-wrap: balance;
}


.dc-suppliers.real-table {
  width: 100%;
  border-collapse: collapse;
}

/* Make tbody scrollable independently */
.dc-suppliers.real-table tbody {
  display: block;
  overflow-y: auto;
  max-height: 300px; /* adjust as needed */
  width: 100%;
}

/* Make rows flex containers */
.dc-suppliers tr {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
}

/* 5 equal columns */
.dc-suppliers th,
.dc-suppliers td {
  flex: 0 0 20%;   /* exact 5-column widths */
  text-align: center;   /* horizontal center */
  align-items: center;  /* vertical center for flex items */
  display: flex;        /* needed to use align-items */
  justify-content: center; /* center content */
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-suppliers.dcm-members-table th,
.dc-suppliers.dcm-members-table td {
  flex-basis: 20%;
}

.dc-suppliers.dcm-members-table th[data-sort-column] {
  cursor: pointer;
  position: relative;
  user-select: none;
}

.dc-suppliers.dcm-members-table th[data-sort-column]:focus-visible {
  outline: 2px solid #00a984;
  outline-offset: -4px;
}

.dc-suppliers.dcm-members-table th[data-sort-column] span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dc-suppliers.dcm-members-table th[data-sort-column] span::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(0, 169, 132, 0.35);
  transform: translateY(1px);
}

.dc-suppliers.dcm-members-table th[data-sort-direction="asc"] span::after {
  border-top: 0;
  border-bottom: 5px solid #00a984;
}

.dc-suppliers.dcm-members-table th[data-sort-direction="desc"] span::after {
  border-top-color: #00a984;
}

.dc-suppliers.dcm-members-table tbody {
  max-height: none;
  overflow: visible;
}

.dc-suppliers.dcm-members-table tbody tr {
  background: #ffffff;
}

.dc-suppliers.dcm-members-table tbody tr:nth-child(even) {
  background: rgba(0, 169, 132, 0.035);
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member,
.dc-suppliers.dcm-members-table tbody tr.row-core-member {
  background: linear-gradient(90deg, rgba(0, 169, 132, 0.14), rgba(0, 169, 132, 0.055));
  box-shadow: inset 4px 0 0 #00a984;
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member:hover,
.dc-suppliers.dcm-members-table tbody tr.row-core-member:hover {
  background: linear-gradient(90deg, rgba(0, 169, 132, 0.19), rgba(0, 169, 132, 0.08));
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member .company-name-container a,
.dc-suppliers.dcm-members-table tbody tr.row-core-member .company-name-container a {
  color: #007c61;
  font-weight: 900;
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member .row-status-icon,
.dc-suppliers.dcm-members-table tbody tr.row-core-member .row-status-icon {
  transform: scale(1.18);
}

.dc-suppliers.dcm-members-table tbody tr:hover {
  background: rgba(0, 169, 132, 0.075);
}

.dc-suppliers.dcm-members-table tbody td {
  background: transparent;
}

.dc-suppliers.dcm-members-table thead.dcm-desktop-header-pinned {
  z-index: 24 !important;
  background: #f0fbf7 !important;
  box-shadow: 0 8px 18px rgba(1, 1, 28, 0.12) !important;
  will-change: transform;
}

.dc-suppliers.dcm-members-table thead.dcm-desktop-header-pinned > tr {
  background: #f0fbf7 !important;
}

.dc-suppliers th span {
  font-size: 12px;
}

/* Optional: style sticky header */
.dc-suppliers thead {
  background-color: rgba(0, 169, 132, 0.08);
  color: #00a984;
  font-weight: bold;
  display: flex; /* needed for flex row */
}

.dc-suppliers td:first-child {
  padding-left: 1.25rem;
  justify-content: flex-start;
  padding-right: 0;
}

.dc-suppliers tr:last-child td {
  border-bottom: none;
}

.dc-suppliers tbody tr:hover {
  background: linear-gradient(90deg, #f8f8f8, #ffffff);
}







/* ===== Scrollbar ===== */
.dc-overlay-pane::-webkit-scrollbar {
  width: 10px;
}

.dc-overlay-pane::-webkit-scrollbar-track {
  background: transparent;
}

.dc-overlay-pane::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.dcm-overlay-back-top {
  display: none;
}

@media (max-width: 768px) {
  .dc-overlay {
    overflow: hidden !important;
  }

  .dc-overlay-panel {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    transform: none !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .dc-overlay-content {
    display: flex !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .dc-overlay-pane {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column !important;
  }

  .dc-overlay-pane .top-content {
    padding: 14px 10px 8px !important;
  }

  .dc-overlay-pane .bottom-content {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 8px 6px 12px !important;
    overflow: hidden !important;
  }

  .table-wrapper {
    min-height: 0 !important;
    overflow: hidden !important;
    padding-bottom: 68px !important;
  }

  .dcm-table-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    position: relative !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 18px !important;
    --dcm-scroll-cue-opacity: 0;
    --dcm-scroll-cue-hint-opacity: 0;
    --dcm-scroll-cue-hint-x: 0px;
  }

  .dcm-table-scroll.dcm-scroll-cue-active::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 18px;
    z-index: 8;
    width: 148px;
    pointer-events: none;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.96) 46%, rgba(255, 255, 255, 0));
    opacity: var(--dcm-scroll-cue-opacity, 0);
  }

  .dcm-table-scroll.dcm-scroll-cue-active::after {
    content: "Drag or swipe";
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(0, 169, 132, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 34px rgba(1, 1, 28, 0.16);
    color: #006f59;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    opacity: var(--dcm-scroll-cue-hint-opacity, 0);
    transform: translate3d(var(--dcm-scroll-cue-hint-x, 0), -50%, 0);
    transform-origin: center;
  }

  .dc-suppliers.dcm-members-table {
    width: max-content !important;
    min-width: 840px !important;
    table-layout: auto !important;
    overflow: visible !important;
  }

  .dc-suppliers.dcm-members-table thead,
  .dc-suppliers.dcm-members-table tbody,
  .dc-suppliers.dcm-members-table tr {
    width: 100% !important;
    min-width: 840px !important;
  }

  .dc-suppliers.dcm-members-table th,
  .dc-suppliers.dcm-members-table td {
    flex: 0 0 150px !important;
    min-width: 130px !important;
    justify-content: flex-start !important;
    text-align: left !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .dc-suppliers.dcm-members-table thead.dcm-mobile-header-pinned {
    position: sticky !important;
    top: 0 !important;
    z-index: 26 !important;
    background: #f0fbf7 !important;
    box-shadow: 0 8px 18px rgba(1, 1, 28, 0.12) !important;
  }

  .dc-suppliers.dcm-members-table thead.dcm-mobile-header-pinned > tr {
    background: #f0fbf7 !important;
  }

  .dc-suppliers.dcm-members-table th {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .dc-suppliers.dcm-members-table th span {
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .dc-suppliers th[class^="th-"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .dc-suppliers th[class^="th-"]::before {
    left: 1rem !important;
    transform: translateX(0) scale(0.9) !important;
    transform-origin: left center !important;
  }

  .dc-suppliers.dcm-members-table .th-name,
  .dc-suppliers.dcm-members-table td:first-child {
    flex-basis: 240px !important;
    min-width: 240px !important;
  }

  .dcm-table-controls-row {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }

  .dcm-member-filters,
  .dcm-member-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .dcm-member-filter-label {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .dcm-overlay-back-top {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 999999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(0, 169, 132, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #008469;
    box-shadow: 0 14px 32px rgba(1, 1, 28, 0.18);
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .dcm-overlay-back-top:hover,
  .dcm-overlay-back-top:focus-visible {
    background: #00a984;
    color: #ffffff;
    outline: none;
  }
}
