  /* Reduce space between hr and ul */
hr + ul {
  margin-top: 4px;
}

/* Reduce space between p and hr */
p + hr {
  margin-top: 4px;
  margin-bottom: 4px;
}

/* Adjust Accepted/Not Accepted heading spacing */
.accepted-not-accepted-heading {
  padding-top: 20px;
  margin-top: 0;
  margin-bottom: 4px;
}

/* Adjust bullet point spacing */
.responsive-table ul {
  margin-top: 4px;
}
/* Increase horizontal padding on Accepted/Not Accepted */
.accepted-not-accepted-heading strong {
  padding-left: 10px;
  padding-right: 10px;
}

/* Desktop border, alignment, and width for smaller tables */
.responsive-table td {
  border: 2px solid #F3F5F8;
  vertical-align: top;
  width: 50%;
  padding: 8px;
}

/* Mobile responsiveness for smaller tables */
@media (max-width: 575px) {
  .responsive-table {
    width: 100%;
    border-collapse: collapse;
  }

  .responsive-table tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .responsive-table td {
    width: 100%;
    padding: 8px;
    border-bottom: 2px solid #F3F5F8;
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }
}

/* Large Table Styles */
/* Ensure table doesn't stretch too much on desktop */
.large-table {
  width: 100%;
  max-width: 900px; /* Keeps table from becoming too wide */
  border-collapse: collapse;
}

/* Ensure columns distribute evenly */
.large-table th,
.large-table td {
  border: 2px solid #F3F5F8;
  padding: 8px;
  vertical-align: top;
  width: auto; /* Let the browser size columns based on content */
  white-space: normal; /* Allow wrapping on desktop */
}

/* MOBILE: Enable horizontal scrolling only on small screens */
@media (max-width: 575px) {
  .large-table-container {
    overflow-x: auto; /* Enables scrolling */
    -webkit-overflow-scrolling: touch;
  }

  .large-table {
    min-width: 600px; /* Prevents shrinking */
    width: 100%;
  }

  .large-table th,
  .large-table td {
    white-space: nowrap; /* Prevents wrapping only on small screens */
  }
}
