/* ====== Базовые стили кнопки ====== */
.cnt_butn_1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  box-sizing: border-box;
  appearance: none;
  user-select: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #ffffff;
  border-radius: 9999px; /* округлая форма */
  min-width: 120px;
  height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease-in-out;
}

/* ====== Эффекты наведения ====== */
.cnt_butn_1:hover {
  background: #ffffff;
  color: #000000;
  opacity: 1;
}

/* ====== Эффект нажатия ====== */
.cnt_butn_1:active {
  transform: scale(0.97);
}

/* ====== Иконка ====== */
.cnt_butn_1__icon {
  width: 24px;
  height: 24px;
  transition: transform 0.25s ease;
}

.cnt_butn_1:hover .cnt_butn_1__icon {
  transform: rotate(-10deg);
}

/* ====== Текст ====== */
.cnt_butn_1__text {
  width: 110px;
  text-align: center;
}

/* ====== Адаптивность ====== */
@media (max-width: 768px) {
  .cnt_butn_1 {
    min-width: 100px;
    height: 36px;
    font-size: 0.8rem;
    padding: 0 12px;
  }

  .cnt_butn_1__icon {
    width: 20px;
    height: 20px;
  }

  .cnt_butn_1__text {
    width: auto;
  }
}

@media (max-width: 480px) {
  .cnt_butn_1 {
    min-width: 90px;
    height: 32px;
    font-size: 0.75rem;
  }

  .cnt_butn_1__icon {
    display: none; /* Скрываем иконку на очень маленьких экранах */
  }
}





/* ====== Основная синяя кнопка (cnt_butn_2) ====== */
.cnt_butn_2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  appearance: none;
  user-select: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  min-width: 120px;
  height: 48px;
  padding: 0 64px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background-color: #2870ff;
  box-shadow: 0 4px 10px rgba(40, 112, 255, 0.3);
  transition: all 0.25s ease-in-out;
}

/* ====== Hover и Active эффекты ====== */
.cnt_butn_2:hover {
  background-color: #2465e6;
  transform: translateY(-1px);
}

.cnt_butn_2:active {
  transform: scale(0.97);
}

/* ====== Состояние фокуса ====== */
.cnt_butn_2:focus-visible {
  outline: 2px solid #99baff;
  outline-offset: 3px;
}

/* ====== Адаптивность ====== */
@media (max-width: 768px) {
  .cnt_butn_2 {
    height: 42px;
    padding: 0 40px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .cnt_butn_2 {
    height: 38px;
    padding: 0 28px;
    font-size: 0.8rem;
  }
}
