/* Cookie consent banner — Figma BZG-Landing node 1282:2284 (compact) */

.cookie-banner {
  position: fixed;
  inset: auto 0 20px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.cookie-banner__card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid #f1f2f9;
  border-radius: 18px;
  padding: 28px 0 20px;
  box-shadow:
    0 4px 24px -4px rgba(111, 108, 143, 0.12),
    0 3px 10px -2px rgba(170, 170, 190, 0.06);
}

.cookie-banner__close {
  position: absolute;
  top: -1px;
  right: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 10px 10px 8px 8px;
  padding: 5px;
  border: 0;
  border-radius: 200px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-banner__close:hover {
  background: rgba(8, 16, 20, 0.06);
}

.cookie-banner__close img {
  width: 14px;
  height: 14px;
}

.cookie-banner__top {
  padding: 0 32px 0 24px;
}

.cookie-banner__title {
  margin: 0;
  color: #121212;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.cookie-banner__text {
  margin: 6px 0 0;
  color: #121212;
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.cookie-banner__link {
  text-decoration: underline;
  text-underline-position: from-font;
  color: inherit;
}

.cookie-banner__link:hover {
  opacity: 0.75;
}

.cookie-banner__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 14px 0 12px;
  border: 0;
  background: #f1f2f9;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 20px 0 24px;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 36px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-banner__btn--decline {
  background: #ffffff;
  border-color: #d9dbe9;
  color: #121212;
}

.cookie-banner__btn--decline:hover {
  background: #f8f8fb;
}

.cookie-banner__btn--accept {
  background: #1a1a1a;
  color: #ffffff;
}

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

@media (max-width: 640px) {
  .cookie-banner {
    inset: auto 0 12px;
    padding: 0 12px;
  }

  .cookie-banner__card {
    max-width: 100%;
  }

  .cookie-banner__top {
    padding: 0 40px 0 20px;
  }

  .cookie-banner__title {
    font-size: 16px;
  }

  .cookie-banner__actions {
    padding: 0 20px;
    justify-content: stretch;
  }

  .cookie-banner__btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}

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

  .cookie-banner__btn--accept:hover {
    transform: none;
  }
}
