.title {
  text-align: center;
  color: #1e293b;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.subtitle {
  text-align: center;
  color: #64748b;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 50px;
  line-height: 1.5;
}

/* ===== СТИЛИ ДЛЯ СЛАЙДЕРА ===== */
.irs {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Линия слайдера (тонкая) */
.irs--round .irs-line {
  background: #e2e8f0;
  border-radius: 4px;
  height: 4px !important;
  top: 33px;
}

/* Заполненная часть (синяя) */
.irs--round .irs-bar {
  background: #2563eb;
  height: 4px !important;
  top: 33px;
  border-radius: 4px;
}

/* Ручка (круг: синий с белым внутри) */
.irs-handle {
  width: 16px !important;
  height: 16px !important;
  top: 20px !important;
  background: #ffffff !important;
  border: 3px solid #2563eb !important;
  border-radius: 50% !important;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.irs--round .irs-handle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.irs--round .irs-handle.state_hover,
.irs--round .irs-handle:active {
  background: #2563eb !important;
  border-color: #2563eb !important;
}

.irs--round .irs-handle i {
  display: none;
}

/* Точки на сетке */
.irs--round .irs-grid-pol {
  background: #94a3b8;
  height: 8px;
  width: 2px;
  top: 30px;
}

.irs--round .irs-grid-pol.small {
  background: #cbd5e1;
  height: 4px;
  top: 32px;
}

/* Подписи под сеткой */
.irs--round .irs-grid-text {
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  top: 44px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Минимальное и максимальное значение (сверху) */
.irs--round .irs-min,
.irs--round .irs-max {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  padding: 0;
  top: -30px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.irs--round .irs-min {
  left: 0;
}

.irs--round .irs-max {
  right: 0;
}

.irs-handle i {
  display: none !important;
}

.irs-single {
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 6px 18px !important;
  border-radius: 10px !important;
  top: -18px !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35) !important;
}

.irs--round .irs-single::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #2563eb;
}

/* Скрываем стандартные тултипы from/to */
.irs--round .irs-from,
.irs--round .irs-to {
  display: none !important;
}

.irs--flat .irs-bar {
  height: 5px;
  background-color: #2563eb;
}

.irs-line {
  height: 5px !important;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
  .container {
    padding: 40px 30px 50px 30px;
  }

  .title {
    font-size: 20px;
  }

  .irs--round .irs-grid-text {
    font-size: 11px;
  }

  .irs--round .irs-min,
  .irs--round .irs-max {
    font-size: 14px;
  }

  .irs--round .irs-single {
    font-size: 14px !important;
    padding: 4px 14px !important;
    top: -42px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 30px 20px 40px 20px;
  }

  .title {
    font-size: 17px;
  }

  .irs--round .irs-grid-text {
    font-size: 9px;
  }

  .irs--round .irs-min,
  .irs--round .irs-max {
    font-size: 12px;
  }

  .irs--round .irs-single {
    font-size: 12px !important;
    padding: 3px 10px !important;
    top: -38px !important;
  }

  .irs--round .irs-handle {
    width: 20px !important;
    height: 20px !important;
    top: 25px !important;
  }
}
