/* ====== ГЛОБАЛЬНЫЙ ШРИФТ ====== */
#eq-app, 
#eq-app * {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #0a0a0a !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* ====== КОНТЕЙНЕР ====== */
#eq-app {
  background: #ffffff !important;
  padding: 26px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

/* ====== ЗАГОЛОВОК ====== */
#eq-app h2 {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #000 !important;
  margin: 0 0 20px 0 !important;
}

/* ====== ФИЛЬТР ====== */
#eq-app label {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #000 !important;
}

#eq-app select {
  padding: 10px 14px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
  border: 1px solid #aaa !important;
  background: #fff !important;
  color: #000 !important;
}

/* ====== ВКЛАДКИ ====== */
#eq-app .tabs {
  display: flex !important;
  gap: 10px !important;
  margin: 20px 0 !important;
}

#eq-app .tab-btn {
  padding: 12px 18px !important;
  background: #e5e5e5 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  color: #222 !important;
}

#eq-app .tab-btn.active {
  background: #058EAC !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* ====== КАРТА ====== */
#eq-app .map {
  width: 100% !important;
  height: 440px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
}

/* ====== ТАБЛИЦА ====== */
#eq-app table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-top: 14px !important;
  font-size: 17px !important;
  color: #000 !important;
  background: #fff !important;
}

#eq-app th {
  background: #f2f2f2 !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  color: #000 !important;
  padding: 12px 14px !important;
}

#eq-app td {
  padding: 12px 14px !important;
  border-bottom: 1px solid #d0d0d0 !important;
  color: #000 !important;
  font-weight: 500 !important;
}

/* ====== МОБИЛЬНАЯ АДАПТАЦИЯ ====== */
@media (max-width: 768px) {
  #eq-app {
    padding: 16px !important;
  }

  #eq-app h2 {
    font-size: 26px !important;
  }

  #eq-app .map {
    height: 330px !important;
  }

  #eq-app table {
    font-size: 16px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
}
/* ====== ФИКС ТАБЛИЦЫ НА ТИЛЬДЕ (МОБИЛЬНЫЕ) ====== */
@media (max-width: 768px) {

  #eq-app table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
    border-collapse: collapse !important;
  }

  #eq-app thead, 
  #eq-app tbody, 
  #eq-app tr {
    display: table !important;
    width: max-content !important;
  }

  #eq-app th, 
  #eq-app td {
    white-space: nowrap !important;
    padding: 10px 14px !important;
  }
}

/* ====== АДАПТИВНОЕ УМЕНЬШЕНИЕ ШРИФТА ДЛЯ ТАБЛИЦЫ ====== */
@media (max-width: 480px) {
  #eq-app table {
    font-size: 13px !important;
  }

  #eq-app th,
  #eq-app td {
    padding: 6px 8px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 360px) {
  #eq-app table {
    font-size: 12px !important;
  }

  #eq-app th,
  #eq-app td {
    padding: 5px 6px !important;
    font-size: 12px !important;
  }
}
.table-wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.table-wrapper table {
  min-width: 500px !important;
}
