.safety-custom-table {
  @media (width >= 1200px) {
    margin-left: 32px;
    width: 93.8% !important;
  }
  font-weight: 700;
  border-collapse: collapse;
  width: 100%;
  tr:nth-child(1) {
    background: #282a69;
    color: white;
  }
  tr:nth-child(2),
  tr:nth-child(3) {
    border-width: 0 1px 1px;
    border-style: solid;
    border-color: rgba(14, 159, 196, 1);
    td:nth-child(2) {
      background: rgba(14, 159, 196, 0.1);
    }
  }
  @media (width < 768px) {
    th:nth-child(1) {
      padding: 12px;
      padding-right: 0;
    }
    th:nth-child(2) {
      width: 31%;
    }
    th:nth-child(3) {
      width: 34%;
    }
    tr:nth-child(2) {
      td:nth-child(1) {
        padding: 0 16px 0 12px;
      }
      td:nth-child(2) {
        padding: 44px 0;
      }
    }
    tr:nth-child(3) {
      td:nth-child(1) {
        padding-left: 12px;
      }
      td:nth-child(2) {
        padding: 13px 0;
      }
    }
  }
  @media (width >= 768px) {
    th:nth-child(1) {
      padding: 24px 0 24px 48px;
    }
    th:nth-child(2) {
      width: 28.85%;
    }
    th:nth-child(3) {
      width: 35%;
    }
    tr:nth-child(2),
    tr:nth-child(3) {
      td:nth-child(1) {
        padding: 13.5px 0 14px 48px;
      }
    }
  }
}
.safety-custom-table-t1 {
  /* Target: main table element itself */
  /* width: 828px !important; Fixed width for desktop */
  max-width: 828px !important;
  margin: 0 auto;
  border-collapse: collapse;
  font-weight: 700;
  table-layout: fixed; /* Prevent column auto expansion */
}
.f-400 {
  font-weight: 400 !important;
  font-family: "Geologica" !important;
}

/* Header row */
.safety-custom-table-t1 tr:nth-child(1) {
  background: #282a69;
  color: white;
  border-width: 0 !important;
}

/* Row styling */
.safety-custom-table-t1 tr {
  border: 1px solid rgba(14, 159, 196, 1);
}

.safety-custom-table-t1 tr:nth-child(even) {
  background-color: rgba(0, 185, 231, 0.1);
}

.safety-custom-table-t1 tr th span {
  color: rgb(255, 255, 255);
}
.safety-custom-table-t1 td span {
  font-weight: 400 !important;
}

.safety-custom-table-t1 td:first-child span {
  font-weight: 700 !important;
}
.safety-custom-table-t1 tr:last-child {
  border-bottom: 2px solid rgba(14, 159, 196, 1);
}

/* Default padding */
.safety-custom-table-t1 td {
  padding: 16px 26px;
}

/* Large screens (>=1200px) */
@media (min-width: 1200px) {
  .safety-custom-table-t1 {
    /* width: 828px !important; */
    max-width: 828px !important;
    margin: 0 auto !important;
  }
}

/* Tablet and above (>=768px) */
@media (min-width: 768px) {
  .safety-custom-table-t1 {
    width: auto;
  }
  .safety-custom-table-t1 th:nth-child(1) {
    padding: 24px 0 24px 26px;
  }
  .safety-custom-table-t1 th:nth-child(2) {
    width: 28.85%;
  }
  .safety-custom-table-t1 th:nth-child(3) {
    width: 35%;
  }

  .safety-custom-table-t1 tr:nth-child(2),
  .safety-custom-table-t1 tr:nth-child(3) {
    td:nth-child(1) {
      padding: 13.5px 0 14px 26px;
    }
  }
}

/* === MOBILE (<768px) === */

@media (max-width: 767.5px) {
  .safety-custom-table-t1 {
    width: 100% !important;
    /* compact layout as per design */
    margin: 0 auto !important;

    border-spacing: 0;
    .font-body3b,
    .font-body3r {
      font-size: 12px !important;
      line-height: 16px !important;
    }
    li {
      font-size: 12px !important;
      line-height: 16px !important;
      letter-spacing: -0.84px;
    }
  }

  .safety-custom-table-t1 th,
  .safety-custom-table-t1 td {
    padding: 16px 13px;
    text-align: left;
  }
  .safety-custom-table-t1 td {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  /* Keep font sizes consistent */
  .font-body3b {
    font-size: 12px !important;
    line-height: 16px !important;
  }
}
