.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 640px;
  margin: 0 auto;
  --text: #000000;
  --text-muted: #444444;
  --border: #e5e5e5;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  animation: cookie-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-consent-text {
  flex: 1;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cookie-consent-text strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.cookie-consent-text a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@keyframes cookie-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-inner {
    animation: none;
  }
}

@media (max-width: 600px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
  }

  .cookie-consent-actions .button {
    min-width: 130px;
  }
}