.safety-profile-table {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.safety-profile-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #102062;
  table-layout: fixed;
  margin-top: 24px;
}

.safety-profile-table th,
.safety-profile-table td {
  width: 33.333%;
  box-sizing: border-box;
}

/* Header */
.safety-profile-table thead th {
  background-color: #102062;
  color: #ffffff;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  padding: 16px 32px;
  text-align: center;
  border-bottom: 1px solid #102062;
}

.safety-profile-table thead th:first-child {
  text-align: left;
}

/* Body cells */
.safety-profile-table tbody th,
.safety-profile-table tbody td {
  padding: 16px 32px;
  font-size: 14px;
  line-height: 16px;
  border-bottom: 1px solid #102062;
}

/* Alignment */
.safety-profile-table tbody th {
  text-align: left;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: break-word;
}

.safety-profile-table tbody td {
  text-align: center;
}

/* Column backgrounds */
.safety-profile-table tbody td:nth-child(2) {
  background-color: #D4EFEE4D;
}

.safety-profile-table tbody th:nth-child(1),
.safety-profile-table tbody td:nth-child(3) {
  background-color: #ffffff;
}

/* Bold numbers */
.safety-profile-table td b {
  font-weight: 700;
}

@media (max-width: 576px) {
  .safety-profile-table table {
    table-layout: fixed;
  }

  .safety-profile-table thead th,
  .safety-profile-table tbody td,
  .safety-profile-table tbody th {
    padding: 16px 6px;
    font-size: 14px;
    line-height: 16px;
  }

  /* ✅ Make first column much tighter */
  .safety-profile-table thead th:first-child,
  .safety-profile-table tbody th {
    width: 28%;   /* 🔥 was 38%, reduce it */
  }

  /* ✅ Give more space to numeric columns */
  .safety-profile-table thead th:nth-child(2),
  .safety-profile-table thead th:nth-child(3),
  .safety-profile-table tbody td {
    width: 36%;
  }

  /* ✅ Ensure wrapping works */
  .safety-profile-table thead th:first-child,
  .safety-profile-table tbody th {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}