/* FOOTER */
/* Базовый сброс стилей */
.footer-reset * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  list-style: none;
  -webkit-font-smoothing: antialiased;
}

/* Основной контейнер футера */
.footer {
  background: #222D33;
  position: relative;
  height: 267px;
  width: 100%;
  overflow: hidden;
  font-family: 'MontserratAlternates-ExtraBold', sans-serif;
  color: #FFFFFF;
  margin-top: auto; /* Прижимает футер вниз */
}

/* Фоновое изображение */
.footer__bg-image {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  opacity: 0.8;
}

/* Контейнеры колонок */
.footer__nav-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  justify-content: center;
}

/* Левая колонка (основное меню) */
.footer__main-nav {
  width: 10.08%;
  height: 47.94%;
  left: 2.81%;
  top: 25.84%;
  align-items: flex-start;
}

/* Правая колонка (соцсети) */
.footer__social-nav {
  width: 20%;
  height: 34.46%;
  right: 2.73%;
  top: 22%;
  align-items: flex-end;
}

/* Центральный блок с правилами */
.footer__rule-container {
  width: 187px;
  height: 187px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.footer__rule-circle {
  width: 100%;
  height: 100%;
  background: #3C5057;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: -9px 0px 54.7px 0px rgba(255, 255, 255, 0.25),
              -4px 3px 5.8px 0px #81B2F5,
              -1px 1px 4px 0px #F1FCFF,
              inset 9px 2px 12px 0px rgba(216, 228, 240, 0.4),
              inset -13px -5px 35px 0px rgba(0, 0, 0, 0.25);
  position: relative;
}

.footer__rule-circle:hover {
    background-color: rgba(83, 114, 124, 1);
}

.footer__rule-circle:active {
    background-color: rgba(73, 101, 111, 1);
    box-shadow: -9px 0 54.7px 0 rgba(255, 255, 255, 0.25), -4px 3px 5.8px 0 rgba(129, 178, 245, 1), -1px 1px 4px 0 rgba(241, 252, 255, 1), 9px 0 5.5px 0 rgba(216, 228, 240, 0.4) inset, -13px -5px 10.7px 0 rgba(0, 0, 0, 0.25) inset;
}

.footer__rule-text {
  position: absolute;
  width: 173px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 16px;
  text-align: center;
}

/* Элементы навигации */
.footer__nav-item {
  font-weight: 800;
  font-size: 16px;
  color: #FFFFFF;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__nav-item--left {
  text-align: left;
}

.footer__nav-item--right {
  text-align: right;
}

/* Группы элементов */
.footer__nav-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Иконки соцсетей */
.footer__social-icon {
  width: 50px;
  height: 50px;
  display: none; /* Скрыто по умолчанию */
}

/* Иконка в социальной колонке */
.footer__social-button {
  position: relative;
  width: 200px;
  height: 70px;
}

.footer__social-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.help-icon {
    position: absolute;
    top: -19px;
    right: 0;
}

.tooltip-modal {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 10px;
    width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.7s ease;
    pointer-events: none;
    z-index: 15;
}

.delete-text {
    color: red;
}

.accept-text {
    color: #4CAF50;;
}

/* Медиазапрос для мобильных устройств */
@media (max-width: 768px) {

  .footer__nav-column.footer__social-nav {
    gap: 1px;
  }

  .footer__social-text {
    display: none; /* Скрываем текст на мобильных */
  }

  .footer__social-icon {
    display: block; /* Показываем иконки на мобильных */
  }

  .footer__nav-item {
    font-size: 14px;
  }

  .footer__rule-container {
    width: 150px;
    height: 150px;
  }

  .footer__rule-text {
    width: 140px;
    font-size: 14px;
  }
}

@media (max-width: 450px) {
    .footer__nav-item {
        font-size: 12px;
    }
    .footer__rule-container {
        width: 70px;
        height: 70px;
    }
}