.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0,0,0,0.06);
  border-left: 3px solid #4a6741;
  z-index: 9999;
  display: none;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner.is-visible {
  display: flex;
  animation: cookieSlideUp 0.3s ease forwards;
}

.cookie-banner.is-hiding {
  display: flex;
  animation: cookieSlideDown 0.3s ease forwards;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cookieSlideDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(12px); }
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #444;
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

.cookie-text a {
  color: #4a6741;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-btn-refuse,
.cookie-btn-accept {
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: 0.01em;
}

.cookie-btn-refuse {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
}

.cookie-btn-refuse:hover {
  background: #f5f5f5;
  color: #333;
}

.cookie-btn-accept {
  background: #4a6741;
  color: #fff;
  border: 1px solid transparent;
}

.cookie-btn-accept:hover {
  background: #3a5233;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
