/* Native table version for catalog-table.html */

.table-section .fzmt-table {
  width: 2000px;
  max-width: 100%;
  position: sticky;
  top: 430px;
  z-index: 8;
}

.fzmt-table__title {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 10px 9px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  border-radius: 15px;
  border: 3px solid #42C9FF;
  background: rgba(0, 49, 153, 0.15);
  backdrop-filter: blur(10px);
}

.fzmt-table__title-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  height: 100px;
  display: flex;
  align-items: center;
  padding-left: 31px;
  padding-right: 10px;
  border-radius: 15px;
  background: #24A4FF;
  color: #FFFFFF;
  font-family: "Conthrax SemiBold", sans-serif;
  font-size: 33px;
  font-weight: 600;
  line-height: 1.388em;
  text-transform: uppercase;
  text-align: left;
}

.fzmt-table__title-icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 15px;
  background: #24A4FF url("../images/icons/arrow_up.svg") center no-repeat;
  background-size: 50px 50px;
  transition: transform 0.2s ease;
}

.fzmt-table__title-icon.is-down {
  transform: rotate(180deg);
}

.table-container {
  max-height: calc(100vh - 500px);
  overflow: auto;
  border-radius: 15px;
  scrollbar-width: none;
}

.table-container::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fzmt-native {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: -2px;
}

.fzmt-native th,
.fzmt-native td {
  padding: 10px 6px;
  color: #fff;
  text-align: center;
  font-family: Gubia, Verdana, sans-serif;
  font-size: 17px;
  line-height: 1.1;
  border-top: 3px solid #42C9FF;
  border-left: 3px solid #42C9FF;
  background: rgba(0, 61, 153, 0.45);
  backdrop-filter: blur(5px);
}

.fzmt-native tbody th,
.fzmt-native tbody td {
  font-size: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.fzmt-native th {
  text-transform: uppercase;
  background: rgba(0, 49, 153, 0.15);
  font-weight: 700;
  position: sticky;
  z-index: 9;
}

.fzmt-native thead tr:first-child th {
  top: -1px;
}

.fzmt-native thead tr:nth-child(2) th {
  top: 42px;
}

.fzmt-native tbody tr:nth-child(even) td {
  background: rgba(0, 49, 153, 0.15);
}

.fzmt-native tbody tr.fzmt-native__row--corpus-active td {
  background: #004593 !important;
}

.fzmt-native .is-link {
  color: #60D1FF;
}

.fzmt-native .col-last {
  border-right: 3px solid #42C9FF;
}

/* В строках данных первая колонка — часто <th>, остальные <td> */
.fzmt-native tbody tr:last-child th,
.fzmt-native tbody tr:last-child td {
  border-bottom: 3px solid #42C9FF;
}

.fzmt-native thead tr:first-child th:first-child {
  border-radius: 15px 0 0 15px;
}

.fzmt-native thead tr:first-child th:last-child {
  border-radius: 0 15px 0 0;
}

.fzmt-native tbody tr:last-child th:first-child,
.fzmt-native tbody tr:last-child td:first-child {
  border-radius: 0 0 0 15px;
}

.fzmt-native tbody tr:last-child th:last-child,
.fzmt-native tbody tr:last-child td:last-child {
  border-radius: 0 0 15px 0;
}

.fzmt-native .persp-group-row {
  text-align: center;
  padding-left: 0;
  font-weight: 700;
  background: rgba(0, 49, 153, 0.3);
}

.fzmt-native .persp-scheme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.fzmt-native .persp-scheme img {
  width: 54px;
  height: auto;
  filter: invert(1) brightness(1.3) contrast(1.1);
  mix-blend-mode: screen;
}

.fzmt-native .persp-scheme img:first-child {
  width: 108px;
}

.fzmt-native .persp-scheme img:nth-child(2) {
  width: 70px;
}

.fzmt-native td:has(.persp-scheme) {
  background: rgba(0, 61, 153, 0.45) !important;
}

