.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: transform 240ms ease, opacity 240ms ease;
  transform: translateY(20px);
  opacity: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.cookie-consent .cookie-content {
  pointer-events: auto;
  background: rgba(25,25,25,0.95);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(8,8,8,0.35);
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 980px;
}

.cookie-consent .cookie-message {
  font-size: 14px;
  line-height: 1.2;
}

.cookie-consent .cookie-btn {
  background: #fff;
  color: #111;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.cookie-consent .cookie-btn:focus {
  outline: 3px solid rgba(255,255,255,0.14);
  outline-offset: 2px;
}

.cookie-consent.hidden {
  display: flex;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Responsive: move to top on very small height (e.g., mobile with keyboard) */
@media (max-width: 420px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-consent .cookie-message { font-size: 13px; }
  .cookie-consent .cookie-content { padding: 10px; gap: 8px; }
}