﻿/* Баннер */

.cookie-banner {
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  width: auto;
  max-width: 600px;
  padding: 0.5em;
  z-index: 2000;
  display: none;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  /* ✅ Зелёный кант */
  border: 3px solid #4CAF50;

}

/* Адаптация под мобильные устройства */
@media (max-width: 480px) {
  .cookie-banner {
    width: 90%;
    flex-direction: column;
    padding: 1em;
  }
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.cookie-btn {

  
  background-color: #ff7f2a;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;

  /* Центрирование по вертикали, но текст вправо */
  display: flex;
  justify-content: flex-end; /* 👉 текст вправо */
  align-items: center;
  text-align: center;
}

.cookie-btn:hover {
  background-color: #008000;
}

/* Модальное окно */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;

}

/* Контент модального окна */
.cookie-modal-content {
  background-color: #FFF;
  margin: 5% auto;
  padding: 20px;
    /* Зелёный кант */
  border: 5px solid #4CAF50;
  width: 500px;
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

}

/* Адаптация под мобильные устройства */
@media (max-width: 600px) {
  .cookie-modal-content 
    .button-row {
    flex-direction: column;
  }

  .button-row button {
    width: 100%;
  }
}
  
  {
    width: 95%;
    margin: 5% auto;
    padding: 5px;
    font-size: 1em;
    line-height: 0.9;
  }

 