.headerContainer {
  align-items: center;
  display: flex;
}

.header_geo {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 25px;
}

.geo-icon-container {
  display: flex;
  align-items: center;
  background: #dfdfdf;
  padding: 10px 15px;
  border-radius: 35px;
}

.geo-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #544eb1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 10px;
}

.geo-circle svg {
  height: 40px;
  width: 40px;
  padding: 5px;
}

.nav-select-geo.desktop {
  display: block;
}

.nav-select-geo input {
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  width: 180px;
}

@media (max-width: 800px) {
  .nav-select-geo.desktop input {
    display: none;
  }

  .geo-icon-container {
    background: #fff;
    padding: 0;
  }

  .geo-circle {
    width: 47px;
    height: 47px;
    background-color: #757476;
    border-radius: 15%;
  }

  .geo-circle svg {
    height: 47px;
    width: 47px;
    padding: 10px;
  }

  .dropdown_list_geo {
    top: 45px !important;
    left: -150px !important;
  }

  .geo-notification {
    width: max-content !important;
  }
}

@media (max-width: 600px) {
  .geo-circle {
    width: 30px;
    height: 30px;
  }

  .geo-circle svg {
    height: 30px;
    width: 30px;
    padding: 5px;
  }

  .header_geo {
    width: 100%;
    margin-left: 0px;
  }

  .dropdown_list_geo {
    width: auto !important;
    top: 30px !important;
    left: -40px !important;
  }

  .geo-notification {
    left: auto !important;
    right: auto !important;
    top: 40px !important;
  }
}

@media (max-width: 460px) {
  .geo-notification {
    top: 40px;
    left: 50%;
  }

  .dropdown_list_geo {
    top: 35px !important;
  }
}

/* Основные стили для выпадающего списка */
.dropdown_list_geo {
  position: absolute;
  top: 50px;
  left: -55px;
  width: 250px;
  background: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-10px);
}

/* Стили пунктов меню */
.dropdown_list_geo .data-list {
  display: block;
  padding: 10px 15px;
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #eaeaea;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-weight: bold;
}

.dropdown_list_geo .data-list:last-child {
  border-bottom: none;
}

/* Ховер эффекты */
.dropdown_list_geo .data-list:hover {
  background-color: #5c53e1;
  color: #ffffff;
  cursor: pointer;
}

/* Стили для закруглений */
.dropdown_list_geo .data-list:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown_list_geo .data-list:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.geo-notification {
  display: none; /* Скрыто по умолчанию */
  position: absolute;
  transform: translateX(-50%);
  background: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 20px;
  z-index: 1000;
  font-size: 16px;
  color: #494948;
  animation: fadeIn 0.3s ease-in-out;
  width: 250px;
  height: auto;
  top: 55px;
  left: 125px;
}

.geo-notification p {
  margin: 0;
  font-weight: bold;
}

.geo-notification-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.geo-notification button {
  background: #494948;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 14px;
  width: 50px;
}

.geo-notification button:hover {
  background: #333;
}

/* Анимация появления */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

#header--geo.show {
  display: block !important;
}

.geo-circle svg {
  pointer-events: auto; /* Разрешаем клики по SVG */
}

.geo-icon-container * {
  pointer-events: none !important;
}
