/* Контейнер попапа */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 480px;
  width: 100%;
  background: #ffffff;
  padding: 1.25rem 1rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  z-index: 10000;
  animation: slideUp 0.3s ease-out;
}

.cookie-popup {
  display: none; 
}

/* Анимация появления */
@keyframes slideUp {
  from { transform: translate(-50%, 100%); opacity: 0; }
  to   { transform: translate(-50%, 0);      opacity: 1; }
}

/* Заголовок */
.cookie-popup__header {
  font-size: 1rem;
  font-weight: 600;
  color: #2F70B2;
  line-height: 1.4;
  text-align: center;
}
@media(min-width: 500px) {
h1.--usersogl
{
  margin-top: 40px !important;
}
}

.cookie-popup__header strong {
  font-size: 2rem;
}

/* Текст и чекбокс */
.cookie-popup__label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cookie-popup__label input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.2em;
  accent-color: #2F70B2;
  cursor: pointer;
}

.cookie-popup__text {
  color: #333333;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-popup__text a {
  color: #2F70B2;
  text-decoration: none;
  border-bottom: 1px dashed #2F70B2;
  transition: border-color 0.2s;
}

.cookie-popup__text a:hover {
  border-bottom-color: transparent;
}

/* Кнопка */
.cookie-popup__button {
  align-self: flex-end;
  background-color: #2F70B2;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: background-color 0.2s, opacity 0.2s, transform 0.1s;
}

.cookie-popup__button:enabled {
  opacity: 1;
}

.cookie-popup__button:hover:enabled {
  background-color: #27619a;
}

.cookie-popup__button:active:enabled {
  transform: scale(0.98);
}

.cookie-popup__button:disabled {
  cursor: not-allowed;
}

/* Адаптивность */
@media (min-width: 600px) {
  .cookie-popup {
    padding: 1.5rem 2rem;
  }
  .cookie-popup__header {
    font-size: 1.1rem;
  }
  .cookie-popup__text {
    font-size: 1rem;
  }
  .cookie-popup__button {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}

/* Заголовок */
.cookie-popup__header {
  font-size: 1.2rem;        /* было 1rem → стало чуть больше */
  font-weight: 600;
  letter-spacing: 0.5px;    /* небольшое межбуквенное расстояние */
  color: #2F70B2;
  line-height: 1.4;
  text-align: center;
}

/* Текст и чекбокс */
.cookie-popup__text {
  color: #333333;
  font-size: 1rem;          /* было 0.9rem → чуть больше */
  letter-spacing: 0.3px;    /* чуть шире */
  line-height: 1.6;         /* чуть больше высоты строки */
}

/* Кнопка */
.cookie-popup__button {
  align-self: center;
  background-color: #2F70B2;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.5rem;
  font-size: 1.1rem;        /* было 0.9rem → увеличили */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;    /* шире, для читаемости */
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: background-color 0.2s, opacity 0.2s, transform 0.1s;
}

@media (min-width: 600px) {
  .cookie-popup__header {
    font-size: 1.3rem;      /* адаптивно чуть больше */
  }
  .cookie-popup__text {
    font-size: 1.05rem;
  }
  .cookie-popup__button {
    font-size: 1.15rem;
  }
}

