@charset "UTF-8";
.guess-city-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in-out; }

/* Добавляем стили для крестика */
.guess-city-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  z-index: 1; }

.guess-city-modal-close:hover {
  color: #333; }

.guess-city-modal-close:before,
.guess-city-modal-close:after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px; }

.guess-city-modal-close:before {
  transform: rotate(45deg); }

.guess-city-modal-close:after {
  transform: rotate(-45deg); }

/* Обновляем стили для контента модального окна */
.guess-city-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-out;
  text-align: center;
  position: relative;
  /* Добавляем для позиционирования крестика */
  left: -500px;
  top: -130px; }

/* Адаптивность для мобильных */
@media (max-width: 600px) {
  .guess-city-modal-content {
    margin: 20% auto;
    padding: 20px;
    width: 85%;
    left: 0;
    top: 0; }
  .guess-city-modal-close {
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    font-size: 20px; }
  .guess-city-modal-close:before,
  .guess-city-modal-close:after {
    width: 15px; } }

.guess-city-modal-content h2 {
  color: #333;
  margin-bottom: 15px;
  font-size: 24px; }

.guess-city-modal-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 16px; }

.guess-city-modal-btn {
  background-color: #6bb431;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  margin: 0 10px; }

.guess-city-modal-btn:hover {
  background-color: #559025; }

.guess-city-modal-btn.secondary {
  background-color: #f0f0f0;
  color: #333; }

.guess-city-modal-btn.secondary:hover {
  background-color: #e0e0e0; }

@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

@media (max-width: 600px) {
  .guess-city-modal-content {
    margin: 20% auto;
    padding: 20px;
    width: 85%; }
  .guess-city-modal-content h2 {
    font-size: 20px; }
  .guess-city-modal-content p {
    font-size: 14px; }
  .guess-city-modal-btn {
    margin: 5px;
    width: 100%; } }
