/* Форма */
.thera-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.thera-form input,
.thera-form select {
  padding: 10px;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
}

.thera-form button {
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: #2b5ea7;
  color: #fff;
  cursor: pointer;
}

/* Грид карточек */
.thera-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.thera-card {
  background: #f7f8fb;
  border: 1px solid #e5e7ef;
  border-radius: 8px;
  padding: 16px;
}

.thera-title {
  margin: 0 0 8px;
}

/* Пагинация */
.thera-pagination {
  margin: 24px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Состояние загрузки */
.is-loading {
  opacity: .6;
  pointer-events: none;
}

/* Мобильные правки */
@media (max-width: 768px) {
  .thera-form {
    gap: 8px !important;
  }
  .thera-form input,
  .thera-form select,
  .thera-form button {
    flex: 1 1 100%;
  }
}

/* Управление отображением обёртки со штатами */
.th-state-wrap.th-hidden {
  display: none !important;
}
