:root {
  /* Сделал фон еще чуть плотнее для идеального контраста */
  --cookie-bg: rgba(15, 20, 25, 0.5); 
  --cookie-text: #ffffff;
  --cookie-accent: #355469; /* Бирюзовый */
}

/* Контейнер */
.cookie-compliance {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  background-color: var(--cookie-bg);
  color: var(--cookie-text);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.cookie-compliance--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Текст (теперь точно не сольется) */
.cookie-compliance__text, 
.cookie-compliance__text p {
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Кнопка с защитой от глобальных градиентов */
.cookie-compliance input[type="submit"], 
.cookie-compliance button,
.cookie-compliance .form-submit {
  /* Основной цвет */
  background-color: var(--cookie-accent) !important;
  
  /* Убираем градиенты и фильтры из твоего глобального стиля */
  background-image: none !important; 
  filter: none !important;
  
  /* Убираем белую тень текста и внутреннюю тень кнопки */
  text-shadow: none !important;
  box-shadow: 0 4px 12px rgba(26, 188, 156, 0.0) !important;
  
  color: #ffffff !important;
  border: none !important;
  padding: 14px 24px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  cursor: pointer;
  width: 100%;
  display: block;
  transition: all 0.3s ease;
}

.cookie-compliance input[type="submit"]:hover,
.cookie-compliance button:hover {
  background-color: #1a6ebc !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(93, 110, 120, 0.4) !important;
}

.cookie-compliance__text a {
  color: #9de1ff;
}

/* Мобильная версия: оставляем окно компактным, не меняем на всю ширину */
@media (max-width: 480px) {
  .cookie-compliance {
    bottom: 20px;
    right: 15px;
    left: 15px;
    max-width: none;
    width: auto;
  }
}