
.az-selection-table-section,
.az-selection-table-section * {
  box-sizing: border-box;
}

.az-selection-table-section {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.az-selection-table-wrap {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 42, 159, 0.16);
  border-radius: 24px;
  box-shadow: 0 20px 46px rgba(13, 22, 78, 0.1);
}

.az-selection-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.az-selection-table th,
.az-selection-table td {
  border: 0;
  text-align: left;
  vertical-align: top;
}

.az-selection-table thead {
  background:
    radial-gradient(
      circle at top right,
      rgba(77, 109, 255, 0.55),
      transparent 34%
    ),
    linear-gradient(135deg, #0d164e, #162a9f);
}

.az-selection-table th {
  padding: 21px 23px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.az-selection-table th:last-child {
  border-right: 0;
}

.az-selection-table th:nth-child(1) {
  width: 27%;
}

.az-selection-table th:nth-child(2) {
  width: 38%;
}

.az-selection-table th:nth-child(3) {
  width: 35%;
}

.az-selection-table td {
  padding: 21px 23px;
  color: #5b6684;
  background: #fff;
  border-right: 1px solid #e4eaf2;
  border-bottom: 1px solid #e4eaf2;
  font-size: 13px;
  line-height: 1.65;
  transition: background-color 0.25s ease;
}

.az-selection-table td:last-child {
  border-right: 0;
}

.az-selection-table tr:last-child td {
  border-bottom: 0;
}

.az-selection-table tbody tr:hover td {
  background: #f7faff;
}

.az-selection-factor {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.az-selection-factor > span {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, #4d6dff, #162a9f);
  border-radius: 11px;
  box-shadow: 0 7px 15px rgba(22, 42, 159, 0.2);
  font-size: 10px;
  font-weight: 900;
}

.az-selection-factor strong {
  margin-top: 3px;
  color: #0d164e;
  font-size: 14px;
  line-height: 1.45;
}

.az-selection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.az-selection-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 6px 10px;
  color: #162a9f;
  background: #edf5fa;
  border: 1px solid #ccdced;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
}

@media (max-width: 720px) {
  .az-selection-table-section {
    padding: 16px;
  }

  .az-selection-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .az-selection-table,
  .az-selection-table tbody,
  .az-selection-table tr,
  .az-selection-table td {
    display: block;
    width: 100%;
  }

  .az-selection-table thead {
    display: none;
  }

  .az-selection-table tbody {
    display: grid;
    gap: 15px;
  }

  .az-selection-table tr {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(22, 42, 159, 0.16);
    border-radius: 17px;
    box-shadow: 0 12px 26px rgba(13, 22, 78, 0.08);
  }

  .az-selection-table td {
    padding: 18px 17px;
    border-right: 0;
    border-bottom: 1px solid #e4eaf2;
  }

  .az-selection-table td:last-child {
    border-bottom: 0;
  }

  .az-selection-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 12px;
    color: #162a9f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
  }
}
