/* Модальное окно */
.customModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0; /* Скрыто изначально */
    animation: fadeIn 0.4s ease-in-out forwards; /* Более заметная анимация */
  }
  
  /* Анимация появления модального окна */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Содержимое модального окна */
  .modal-content {
    background: #fff;
    padding: 30px; /* Увеличено пространство вокруг контента */
    border-radius: 12px; /* Более округленные углы */
    text-align: center;
    width: 80%;
    max-width: 450px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); /* Более сильная тень */
    transform: translateY(-100px); /* Начальная позиция для анимации */
    animation: slideIn 0.6s cubic-bezier(0.32, 0.72, 0.56, 1.12) forwards; /* Более выраженная анимация */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Отступы между элементами */
  }
  
  /* Анимация появления содержимого (слайд снизу) */
  @keyframes slideIn {
    from {
      transform: translateY(-100px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Кнопка закрытия */
  .close-modal {
    background: #3d4d77; /* Новый цвет кнопки */
    color: #fff;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Легкая тень для кнопки */
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  /* Эффект при наведении на кнопку */
  .close-modal:hover {
    background: #2f3c5c; /* Более темный оттенок при наведении */
    transform: translateY(-2px); /* Легкий подъем кнопки */
  }
  
  /* Эффект при нажатии на кнопку */
  .close-modal:active {
    transform: translateY(2px); /* Легкое опускание при нажатии */
  }