.al-vme {
  --al-vme-primary: #1f3c88;
  --al-vme-primary-dark: #162c65;
  --al-vme-header-text: #ffffff;
  --al-vme-subheader: #eef2f8;
  --al-vme-border: #d6dbe4;
  --al-vme-text: #30343b;
  --al-vme-background: #ffffff;
  width: 100%;
  color: var(--al-vme-text);
  font-family: inherit;
}

.al-vme *,
.al-vme *::before,
.al-vme *::after {
  box-sizing: border-box;
}

.al-vme__heading {
  margin-bottom: 18px;
}

.al-vme__title {
  margin: 0;
  color: var(--al-vme-text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.al-vme__intro,
.al-vme__note {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
}

.al-vme__table-wrap {
  width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(24, 36, 61, 0.08);
  -webkit-overflow-scrolling: touch;
}

.al-vme__table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--al-vme-background);
  color: var(--al-vme-text);
  font-size: 13px;
  line-height: 1.35;
}

.al-vme__table th,
.al-vme__table td {
  width: 25%;
  padding: 12px 14px;
  border-right: 1px solid var(--al-vme-border);
  border-bottom: 1px solid var(--al-vme-border);
  text-align: center;
  vertical-align: middle;
}

.al-vme__table tr > *:first-child {
  border-left: 1px solid var(--al-vme-border);
}

.al-vme__table thead tr:first-child th {
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid var(--al-vme-primary-dark);
  background: linear-gradient(135deg, var(--al-vme-primary-dark), var(--al-vme-primary));
  color: var(--al-vme-header-text);
  font-weight: 700;
}

.al-vme__table thead tr:first-child th:first-child {
  border-top-left-radius: 14px;
}

.al-vme__table thead tr:first-child th:last-child {
  border-top-right-radius: 14px;
}

.al-vme__table .al-vme__years th {
  background: var(--al-vme-subheader);
  color: var(--al-vme-text);
  font-weight: 700;
}

.al-vme__table tbody th {
  background: #fafbfc;
  text-align: left;
  font-weight: 700;
}

.al-vme__table tbody tr:hover th,
.al-vme__table tbody tr:hover td {
  background: #f7f9fc;
}

.al-vme__table tbody tr:last-child th:first-child {
  border-bottom-left-radius: 14px;
}

.al-vme__table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}

.al-vme__message {
  margin: 20px 0;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.al-vme__message--error {
  border-color: #f0b7b7;
  background: #fff3f3;
  color: #842626;
}

.al-vme__message--warning {
  border-color: #ead69b;
  background: #fff9e8;
  color: #71520c;
}

.al-vme__message a,
.al-vme__note a {
  color: var(--al-vme-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  .al-vme__table-wrap {
    border-radius: 10px;
  }

  .al-vme__table {
    font-size: 12px;
  }

  .al-vme__table th,
  .al-vme__table td {
    padding: 10px;
  }
}
