/* ============================================
   WICFLOW — Cookie Consent Banner
   GDPR-compliant, matches site design
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-dark, #111113);
  color: var(--text-light, #f0f0f2);
  padding: 1.25rem var(--container-padding, 1.5rem);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-spring, cubic-bezier(0.16, 1, 0.3, 1));
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-light-muted, hsla(240, 7%, 95%, 0.6));
  flex: 1;
  min-width: 280px;
}

.cookie-banner__text a {
  color: var(--text-light, #f0f0f2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  opacity: 0.8;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.cookie-banner__btn--accept {
  background: var(--bg-primary, #f7f7f5);
  color: var(--text-primary, #111113);
}

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--text-light-muted, hsla(240, 7%, 95%, 0.6));
  border: 1px solid hsla(240, 7%, 95%, 0.15);
}

.cookie-banner__btn--decline:hover {
  border-color: hsla(240, 7%, 95%, 0.3);
  color: var(--text-light, #f0f0f2);
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner__actions {
    justify-content: center;
  }
}
