/* Anchor the compact desktop notice on the left while keeping the questionnaire usable on mobile. */
.cookie-notice {
  position: fixed;
  z-index: 120;
  right: auto;
  left: 24px;
  bottom: 24px;
  display: flex;
  width: min(820px, calc(100vw - 48px));
  align-items: center;
  gap: 22px;
  padding: 20px;
  border: 1px solid rgba(31, 29, 27, 0.12);
  border-radius: 20px;
  background: rgba(255, 252, 248, 0.96);
  box-shadow: 0 20px 60px rgba(31, 29, 27, 0.16);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(14px);
}

.cookie-notice.is-visible { opacity: 1; transform: translateY(0); }
.cookie-notice.is-hiding { opacity: 0; transform: translateY(12px); }
.cookie-notice-copy { min-width: 260px; flex: 1; }
.cookie-notice-copy strong { display: block; margin-bottom: 5px; color: #1f1d1b; font-size: 16px; }
.cookie-notice-copy p { margin: 0; color: rgba(31, 29, 27, 0.68); font-size: 13px; line-height: 1.45; }
.cookie-notice-copy a { color: #b94f42; }
.cookie-notice-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-notice-button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #1f1d1b;
  color: white;
  font: 700 14px/1 "DM Sans", sans-serif;
  cursor: pointer;
}
@media (max-width: 620px) {
  .cookie-notice { right: auto; left: 12px; bottom: 12px; width: calc(100vw - 24px); align-items: stretch; flex-direction: column; gap: 14px; }
  .cookie-notice-copy { min-width: 0; }
  .cookie-notice-actions { flex-direction: column; }
  .cookie-notice-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice { transition: none; }
}
