/* cookie-consent.css — non-modal cookie notice for public pages.
   Design language: tonal layering, ambient shadow only, lime CTA, no hard borders. */

.nv-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, calc(100% + 32px));
  z-index: 1200;
  width: min(720px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--bg-primary, #ffffff);
  border-radius: var(--radius-xl, 24px);
  box-shadow: 0 20px 60px rgba(26, 26, 26, 0.12);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.nv-cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.nv-cookie-text {
  flex: 1;
  margin: 0;
  font-family: var(--font-body, 'Inter'), system-ui, sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary, #5a5c5c);
}

.nv-cookie-link {
  color: var(--text-primary, #2d2f2f);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.nv-cookie-link:hover { color: var(--accent-text, #384b00); }

.nv-cookie-accept {
  flex: none;
  padding: 10px 26px;
  border: none;
  border-radius: 999px;
  background: var(--accent, #c5fe00);
  color: var(--accent-text, #384b00);
  font-family: var(--font-heading, 'Plus Jakarta Sans'), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.nv-cookie-accept:hover { filter: brightness(0.96); transform: translateY(-1px); }
.nv-cookie-accept:active { transform: translateY(0); }
.nv-cookie-accept:focus-visible { outline: 2px solid var(--accent-text, #384b00); outline-offset: 2px; }

@media (max-width: 560px) {
  /* Full-width on phones: left+right pin the box, so the centring translateX(-50%)
     MUST be dropped here (only the Y entrance translate remains) — otherwise the bar
     is shifted half its width off the left edge. */
  .nv-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: left;
    transform: translateY(calc(100% + 24px));
  }
  .nv-cookie-banner.is-visible { transform: translateY(0); }
  .nv-cookie-accept { width: 100%; padding: 12px; }
}
