/* Cookie consent banner — Figma 1282:2284 */

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

.cookie-banner.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__panel {
  position: relative;
  width: min(520px, 100%);
  padding: 24px 0 20px;
  background: #fff;
  border: 1px solid #f1f2f9;
  border-radius: 16px;
  box-shadow:
    inset 0 -1px 0 rgba(150, 161, 172, 0.12),
    0 4px 32px -4px rgba(111, 108, 143, 0.12),
    0 3px 12px -2px rgba(170, 170, 190, 0.06);
  overflow: clip;
}

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

.cookie-banner__close:hover,
.cookie-banner__close:focus-visible {
  background: rgba(241, 242, 249, 0.8);
}

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

.cookie-banner__content {
  padding: 0 28px 0 24px;
}

.cookie-banner__title {
  margin: 0 0 6px;
  font-family: var(--font-neue, "Neue Grand", "Archivo", "Times New Roman", serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  color: #121212;
}

.cookie-banner__text {
  margin: 0;
  font-family: var(--font-geist, "Geist", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #121212;
}

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

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  color: #514f6e;
}

.cookie-banner__divider {
  height: 1px;
  margin: 16px 24px 0;
  background: #f1f2f9;
}

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

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-geist, "Geist", "Inter", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cookie-banner__btn--decline {
  border: 1px solid #d9dbe9;
  background: #fff;
  color: #121212;
}

.cookie-banner__btn--decline:hover,
.cookie-banner__btn--decline:focus-visible {
  border-color: #c5c8d9;
  background: #fafbff;
}

.cookie-banner__btn--accept {
  border: 1px solid #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}

.cookie-banner__btn--accept:hover,
.cookie-banner__btn--accept:focus-visible {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

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

  .cookie-banner__panel {
    padding-top: 36px;
  }

  .cookie-banner__content {
    padding: 0 20px;
  }

  .cookie-banner__divider {
    margin: 14px 20px 0;
  }

  .cookie-banner__actions {
    flex-direction: column;
    padding: 12px 20px 0;
  }

  .cookie-banner__btn {
    width: 100%;
    min-width: 0;
  }
}

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