table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.custom-table-scroll {
  overflow: scroll;
}

.table-title {
  font-weight: 700;
  font-size: 20px;
  background-color: var(--comparison-table-bg-heading);
}

#comparison-table .table-title,
#comparison-table .table-content {
  min-width: 18rem !important;
}

.table-head {
  border-bottom: 0;
  background: var(--comparison-table-bg);
  border: 1px solid var(--comparison-table-bg);
  /* border-top: 0; */
  color: var(--comparison-table-color);
  font-family: Nunito;
}

.table-head.section-title {
  border: 1px solid var(--comparison-table-bg);
}

th,
td {
  padding: 10px;
  border-width: 1px 1px 0px 1px;
  border-style: solid;
  border-color: var(--comparison-table-border-color);
}

th:first-child {
  border-top-left-radius: 20px;
}

th:last-child {
  border-top-right-radius: 20px;
  border-right: 1px solid var(--comparison-table-border-color);
  text-align: center;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 20px;
}

tr:last-child td:nth-child(2) {
  border-bottom: 1px solid var(--comparison-table-border-color);
}

tr:last-child td:last-child {
  border-right: 1px solid var(--comparison-table-border-color);
  border-bottom: 1px solid var(--comparison-table-border-color);
  border-bottom-right-radius: 20px;
}

.table-head.table-content {
  font-family: Nunito;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--comparison-table-color);
}

.table-content {
  font-family: Nunito;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #303030;
}

.comparison-table table {
  width: 100%;
  border-radius: 20px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #E2E2E2;
}

.comparison-table thead th {
  padding: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #E2E2E2;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 600;
  font-family: nunito;
  color: #303030;
  background: #F2F2F280;
}

.comparison-table thead th:first-child {
  border-top-left-radius: 20px;
}

.comparison-table thead th:last-child {
  border-top-right-radius: 20px;
  border-right: none;
}

.comparison-table tbody td {
  padding: 20px;
  border: 1px solid #E2E2E2;
  vertical-align: middle;
  font-size: 18px;
  font-weight: 400;
  font-family: nunito;
  color: #303030;
}

.comparison-table .table-no {
  width: 8%;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
}

.comparison-table tbody td:last-child {
  border-right: none;
}

.comparison-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 20px;
}

.comparison-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 20px;
}

@media screen and (max-width: 768px) {
  .table-content {
    font-size: 14px;
  }

  .table-head.table-content {
    font-size: 16px;
  }

  .table-title {
    font-size: 18px;
  }

  th:first-child {
    border-top-left-radius: 10px;
  }

  th:last-child {
    border-top-right-radius: 10px;
  }

  tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
  }

  tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
  }

  .comparison-table table {
    table-layout: fixed;
    border-radius: 10px;
  }

  .comparison-table .table-no {
    width: 28px;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    word-break: break-word;
  }

  .comparison-table thead th {
    padding: 8px 4px;
    font-size: 12px;
  }

  .comparison-table tbody td {
    padding: 8px 4px;
    font-size: 11px;
  }

  .comparison-table tbody td .d-flex.gap-2 {
    gap: 4px !important;
    flex-direction: column;
  }

  .comparison-table .table-icon {
    width: 16px;
    height: 16px;
  }

  .comparison-table thead th:first-child {
    border-top-left-radius: 10px;
  }

  .comparison-table thead th:last-child {
    border-top-right-radius: 10px;
  }

  .comparison-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
  }

  .comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
  }

  #comparison-table table {
    table-layout: fixed;
    width: 100%;
  }

  #comparison-table th,
  #comparison-table td {
    word-break: break-word;
    padding: 8px 6px;
  }

  #comparison-table .table-title {
    font-size: 13px;
    line-height: 1.3;
  }

  #comparison-table .table-content,
  #comparison-table .table-head.table-content {
    font-size: 11px;
    line-height: 1.4;
  }

  #comparison-table .table-head.table-content {
    font-weight: 600;
  }
}