.cookie-banner {
  position: fixed;
  z-index: 2147483000;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(720px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.97);
  color: #e5e7eb;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cookie-banner-copy h2 {
  margin: 0 0 6px;
  color: #f8fafc;
  font-size: 1.05rem;
  line-height: 1.25;
}

.cookie-banner-copy p {
  margin: 0;
  max-width: 520px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-button,
.cookie-settings-button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button-primary {
  background: #bef264;
  color: #111827;
}

.cookie-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.cookie-settings-button {
  position: fixed;
  z-index: 2147482999;
  left: 14px;
  bottom: 14px;
  min-height: 34px;
  padding: 0 11px;
  background: rgba(15, 23, 42, 0.88);
  color: #cbd5e1;
  font-size: 0.78rem;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.28);
}

.cookie-button:focus-visible,
.cookie-settings-button:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
  }

  .cookie-banner-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .cookie-button {
    width: 100%;
  }
}
