/* V58.16 — Tableau Explorateur calqué sur le tableau historique du Dashboard. */
.bw-explorer-table-card {
  overflow: hidden !important;
  padding: 0 !important;
}

.bw-explorer-table-card .bw-table-scroll {
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding: 0 0 6px !important;
}

.bw-explorer-dashboard-table {
  width: 100% !important;
  min-width: 1040px !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  background: rgba(4, 15, 28, .45) !important;
}

.bw-explorer-dashboard-table thead th {
  padding: 8px 8px !important;
  color: #eaf7ff !important;
  background: linear-gradient(180deg, rgba(33, 71, 120, .68), rgba(10, 28, 50, .88)) !important;
  border-bottom: 1px solid rgba(125, 180, 240, .28) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  text-align: center !important;
  vertical-align: middle !important;
  text-decoration: underline !important;
  text-decoration-style: dotted !important;
  text-underline-offset: 4px !important;
  white-space: normal !important;
}

.bw-explorer-dashboard-table tbody td {
  height: 46px !important;
  padding: 5px 8px !important;
  border-bottom: 1px solid rgba(125, 180, 240, .18) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.08 !important;
  text-align: center !important;
  vertical-align: middle !important;
  overflow: hidden !important;
}

.bw-explorer-dashboard-table tbody tr:nth-child(odd) td {
  background: rgba(4, 20, 38, .72) !important;
}
.bw-explorer-dashboard-table tbody tr:nth-child(even) td {
  background: rgba(7, 45, 78, .72) !important;
}
.bw-explorer-dashboard-table tbody tr:hover td {
  background: rgba(30, 98, 151, .58) !important;
}

/* Même composition que la première colonne du Dashboard : molécule puis étude en dessous. */
.bw-explorer-dashboard-table th:nth-child(1),
.bw-explorer-dashboard-table td:nth-child(1) {
  width: 31% !important;
  text-align: left !important;
}
.bw-explorer-dashboard-table th:nth-child(2),
.bw-explorer-dashboard-table td:nth-child(2) { width: 13% !important; }
.bw-explorer-dashboard-table th:nth-child(3),
.bw-explorer-dashboard-table td:nth-child(3) { width: 9% !important; }
.bw-explorer-dashboard-table th:nth-child(4),
.bw-explorer-dashboard-table td:nth-child(4) { width: 13% !important; }
.bw-explorer-dashboard-table th:nth-child(5),
.bw-explorer-dashboard-table td:nth-child(5) { width: 14% !important; }
.bw-explorer-dashboard-table th:nth-child(6),
.bw-explorer-dashboard-table td:nth-child(6) { width: 15% !important; }
.bw-explorer-dashboard-table th:nth-child(7),
.bw-explorer-dashboard-table td:nth-child(7) { width: 78px !important; }

.bw-explorer-dashboard-table .bw-study-link {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  cursor: pointer !important;
  color: inherit !important;
  text-align: left !important;
}
.bw-explorer-dashboard-table .bw-study-link strong {
  display: block !important;
  overflow: hidden !important;
  color: #fff !important;
  font-size: 11.5px !important;
  font-weight: 950 !important;
  line-height: 1.08 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.bw-explorer-dashboard-table .bw-study-link small.bw-study-title {
  display: block !important;
  margin-top: 2px !important;
  overflow: hidden !important;
  color: #8fc4e8 !important;
  font-size: 9.5px !important;
  font-weight: 750 !important;
  line-height: 1.05 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Badge de statut identique au Dashboard : contour coloré, fond discret, centré. */
.bw-explorer-dashboard-table .bw-badge.bw-status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 94px !important;
  max-width: 128px !important;
  min-height: 27px !important;
  padding: 4px 9px !important;
  margin: 0 auto !important;
  border: 2px solid currentColor !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, .035) !important;
  font-size: 10.5px !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  text-align: center !important;
  white-space: normal !important;
}
.bw-explorer-dashboard-table .bw-badge.bw-status.failure { color: #ff5d71 !important; background: rgba(255,70,90,.14) !important; }
.bw-explorer-dashboard-table .bw-badge.bw-status.positive,
.bw-explorer-dashboard-table .bw-badge.bw-status.recruiting { color: #35ff79 !important; background: rgba(30,190,100,.14) !important; }
.bw-explorer-dashboard-table .bw-badge.bw-status.closed,
.bw-explorer-dashboard-table .bw-badge.bw-status.uncertain { color: #ffd447 !important; background: rgba(255,205,40,.13) !important; }
.bw-explorer-dashboard-table .bw-badge.bw-status.pending { color: #39d9ff !important; background: rgba(40,190,255,.13) !important; }
.bw-explorer-dashboard-table .bw-badge.bw-status.neutral,
.bw-explorer-dashboard-table .bw-badge.bw-status.unknown { color: #d7e9ff !important; background: rgba(210,230,255,.08) !important; }

.bw-explorer-dashboard-table .bw-objective,
.bw-explorer-dashboard-table .bw-company {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.bw-explorer-dashboard-table .bw-detail-cell {
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}
.bw-explorer-dashboard-table .bw-detail-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 58px !important;
  min-height: 30px !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(215,235,255,.55) !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.09) !important;
  color: #fff !important;
  font-size: 10.5px !important;
  font-weight: 950 !important;
}
