/* ===== Tabs container ===== */
.abas-info-tabs {
  max-width: 1200px;
  margin: 40px auto 60px auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== Single tab ===== */
.abas-info-tab {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1d45 0%, #1a2a5e 30%, #243674 60%, #2e4a8a 100%);
  box-shadow: 0 2px 16px rgba(35,102,168,0.06);
  transition: box-shadow 0.3s;
}

.abas-info-tab:hover {
  box-shadow: 0 4px 24px rgba(35,102,168,0.1);
}

/* ===== Tab header (button) ===== */
.abas-info-tab-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s;
}

.abas-info-tab-header:hover {
  background: rgba(255,255,255,0.08);
}

/* Arrow icon */
.abas-info-tab-arrow {
  flex-shrink: 0;
  color: #243674;
  transition: transform 0.3s;
}

.abas-info-tab.active .abas-info-tab-arrow {
  transform: rotate(180deg);
}

/* ===== Tab body (content) ===== */
.abas-info-tab-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.abas-info-tab.active .abas-info-tab-body {
  grid-template-rows: 1fr;
}

.abas-info-tab-body-inner {
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 0 24px;
  transition: padding 0.35s ease;
}

.abas-info-tab.active .abas-info-tab-body-inner {
  padding: 24px 24px 12px 24px;
}

.abas-info-tab-body p {
  color: #555;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  margin: 0 0 20px 0;
}

.abas-info-tab-body a {
  color: #243674;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  margin: 0 0 20px 0;
}

.abas-info-section-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #243674;
  margin: 24px 0 8px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #eef0f5;
}

.abas-info-section-title:first-child {
  margin-top: 0;
}

.abas-info-highlight-block {
  padding: 18px 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edf8 100%);
  border-radius: 12px;
  border-left: 4px solid #243674;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 8px 0 20px 0;
}

/* ===== Details table ===== */
.abas-info-details {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.abas-info-details tr {
  border-bottom: 1px solid #eef0f5;
}

.abas-info-details tr:last-child {
  border-bottom: none;
}

.abas-info-details td {
  padding: 14px 0;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  vertical-align: top;
}

.abas-info-details td:first-child {
  font-weight: 500;
  color: #243674;
  width: 45%;
  padding-right: 20px;
}

/* ===== Numbered list ===== */
.abas-info-numbered-list {
  list-style: none;
  counter-reset: info-counter;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.abas-info-numbered-list li {
  counter-increment: info-counter;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f5;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

.abas-info-numbered-list li:last-child {
  border-bottom: none;
}

.abas-info-numbered-list li::before {
  content: counter(info-counter);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #243674, #4a6cb3);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50%;
}

/* ===== Stats block ===== */
.abas-info-stats-block {
  margin-top: 8px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edf8 100%);
  border-radius: 14px;
  border-left: 4px solid #243674;
}

.abas-info-stats-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #243674;
  margin: 0 0 16px 0;
}

.abas-info-stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.abas-info-stats-list li {
  position: relative;
  padding-left: 20px;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.abas-info-stats-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #243674;
  border-radius: 50%;
}

/* ===== Program table ===== */
.abas-info-programs-heading {
  font-size: 1.2rem;
  font-weight: 500;
  color: #243674;
  margin: 32px 0 16px 0;
}

.abas-info-program-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}

.abas-info-program-table thead th {
  background: linear-gradient(135deg, #243674, #4a6cb3);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 20px;
  text-align: left;
}

.abas-info-program-table thead th:first-child {
  width: 35%;
}

.abas-info-program-table tbody td {
  padding: 14px 20px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  vertical-align: middle;
  border-bottom: 1px solid #eef0f5;
}

.abas-info-program-table tbody td:first-child {
  font-weight: 500;
  color: #243674;
  background: #f8f9fc;
  border-right: 1px solid #eef0f5;
}

.abas-info-program-table tbody tr:last-child td {
  border-bottom: none;
}

.abas-info-program-table tbody td a {
  color: #243674;
  text-decoration: none;
  border-bottom: 1px dashed #4a6cb3;
  transition: border-color 0.2s;
}

.abas-info-program-table tbody td a:hover {
  border-bottom-style: solid;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .abas-info-tabs {
    padding: 0 16px;
    margin: 24px auto 40px auto;
    gap: 8px;
  }

  .abas-info-tab-header {
    padding: 16px 16px;
    font-size: 0.95rem;
  }

  .abas-info-tab-body-inner {
    padding: 0 16px;
  }

  .abas-info-tab.active .abas-info-tab-body-inner {
    padding: 16px;
  }

  .abas-info-details td {
    display: block;
    width: 100%;
    padding: 4px 0;
  }

  .abas-info-details td:first-child {
    width: 100%;
    padding-right: 0;
    padding-bottom: 2px;
  }

  .abas-info-details tr {
    display: block;
    padding: 10px 0;
  }

  .abas-info-numbered-list li {
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
  }

  .abas-info-numbered-list li::before {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .abas-info-stats-block {
    padding: 18px 20px;
  }

  .abas-info-stats-title {
    font-size: 1rem;
  }

  .abas-info-stats-list li {
    font-size: 0.9rem;
  }

  .abas-info-programs-heading {
    font-size: 1.05rem;
    margin: 24px 0 12px 0;
  }

  .abas-info-program-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .abas-info-program-table thead,
  .abas-info-program-table tbody,
  .abas-info-program-table tr,
  .abas-info-program-table td,
  .abas-info-program-table th {
    min-width: 140px;
  }

  .abas-info-program-table thead th,
  .abas-info-program-table tbody td {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}
