/* Стили для страницы Filters */

body.page-filters {
  width: 100%;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Скрываем сайдбар */
body.page-filters .sidebar {
  display: none !important;
}

/* Увеличиваем заголовок и добавляем отступы - используем vw/vh для масштабирования */
body.page-filters .page__header {
  padding: 4.28vw 4.28vw 2.85vw 4.28vw;
}

body.page-filters .page__header-title {
  font-size: 6.43vw;
  font-weight: 700;
  text-transform: uppercase;
}

/* Контент занимает всю высоту */
body.page-filters .page__container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body.page-filters .main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.filters__content {
  flex: 1;
  padding: 0 4.28vw 4.28vw 4.28vw;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.filters__content .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.filters__section {
  margin-bottom: 4.28vw;
}

.filters__section:last-child {
  margin-bottom: 0;
}

.filters__section-title {
  font-weight: 600;
  font-size: 3.23vw;
  line-height: 150%;
  color: var(--black);
  margin-bottom: 1.08vw;
  white-space: nowrap;
}

.filters__section-subtitle {
  font-weight: 400;
  font-size: 2.5vw;
  line-height: 150%;
  color: var(--75);
  margin-bottom: 3.23vw;
  white-space: nowrap;
}

.filters__buttons-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.43vw;
  margin-bottom: 2.85vw;
  overflow: hidden;
}

/* Кнопки фиолетовые, как в дашборде */
.filters__button {
  padding: 1.43vw 3.23vw;
  font-size: 2.5vw;
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  color: var(--80);
  border: 1px solid var(--stroke);
  border-radius: min(8px, 1vw); /* Адаптивное скругление */
  cursor: pointer;
  transition: all 0.2s;
  min-height: 6.43vh;
  flex-shrink: 0;
}

.filters__button:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.filters__button--active {
  background: var(--purple) !important;
  color: var(--white) !important;
  border-color: var(--purple) !important;
  box-shadow: -1px 3px 24px 0 rgba(122, 43, 244, 0.1);
}

.filters__period-buttons {
  display: flex;
  gap: 2.85vw;
  flex-wrap: nowrap;
}

.filters__period-button {
  font-size: 2.5vw;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Уменьшаем высоту кнопок на маленьких экранах */
@media screen and (max-width: 500px) {
  .filters__button {
    padding: 1vw 2.5vw;
    min-height: 4.5vh;
  }
}

