/* ===========================
   Wrapper
   =========================== */

.xpo-dxlsx-wrap {
  max-width: 100%;
  margin: 16px 0;
  font-family: inherit;
}

/* ===========================
   Table container
   =========================== */

.xpo-dxlsx-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 680px;
  table-layout: fixed; /* prevents long URLs from expanding columns */
}

.xpo-dxlsx-table thead th {
  position: sticky;
  top: 0;
  background-color: #64AC47 !important;
  color: #ffffff !important;
  text-align: left;
  font-weight: 700;
  padding: 12px 12px;
  font-size: 14px;
  z-index: 1;
}

.xpo-dxlsx-table tbody td {
  padding: 12px 12px;
  border-top: 1px solid rgba(0,0,0,.08);
  vertical-align: middle;
  background: #fff;
  overflow: hidden; /* required for ellipsis */
}

.xpo-dxlsx-table tbody tr:nth-child(even) td {
  background: rgba(0,0,0,.02);
}

/* ===========================
   Text helpers
   =========================== */

.xpo-dxlsx-name {
  font-weight: 700;
}

/* Generic 75-char truncation + hover tooltip */
.xpo-dxlsx-trunc {
  white-space: normal;        /* allow wrapping */
  overflow: visible;          /* no clipping */
  word-break: break-word;     /* long words won’t overflow */
}


/* ===========================
   URL ellipsis (Website column)
   =========================== */

.xpo-dxlsx-table a.xpo-dxlsx-url {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===========================
   Social Media column (NO ellipsis)
   =========================== */

.xpo-dxlsx-table td.xpo-dxlsx-social {
  overflow: visible;
}

.xpo-dxlsx-table td.xpo-dxlsx-social a {
  display: inline-flex;
  width: auto;
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* ===========================
   Social icon strip
   =========================== */

.xpo-dxlsx-icons {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* ICON LINK — REMOVE ALL BOXES */
.xpo-dxlsx-iconlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0;
}

/* Normalize icon size */
.xpo-dxlsx-iconimg {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Subtle hover lift (optional, matches yesterday) */
.xpo-dxlsx-iconlink:hover {
  transform: translateY(-1px);
  box-shadow: none !important;
}

/* Search bar */
.xpo-dxlsx-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px 0;
}
.xpo-dxlsx-search {
  width: 280px;
  max-width: 100%;
  padding: 8px 10px;
}

/* Sort indicators */
.xpo-dxlsx-table thead th.xpo-sort-asc::after {
  content: " ▲";
  font-size: 12px;
}
.xpo-dxlsx-table thead th.xpo-sort-desc::after {
  content: " ▼";
  font-size: 12px;
}
