/* Cookie banner for the main site. Self-contained so it works on pages that don't load landing.css. */

.rf-consent {
  position: fixed;
  z-index: 50;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #0f1118;
  color: #eef0f6;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #f2c14e;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}
.rf-consent p { margin: 0; }
.rf-consent a { color: #f2c14e; }
.rf-consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.rf-consent button {
  font: inherit;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 3px;
  cursor: pointer;
}
.rf-consent-accept { background: #f2c14e; color: #14110a; border: 0; }
.rf-consent-accept:hover { background: #ffe3a0; }
.rf-consent-reject {
  background: transparent;
  color: #eef0f6;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.rf-consent-reject:hover { border-color: #eef0f6; }
body.rf-has-consent { padding-bottom: 112px; }

button.rf-consent-manage {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
button.rf-consent-manage:hover { color: #f2c14e; }

@media (max-width: 640px) {
  .rf-consent { flex-direction: column; align-items: stretch; }
  .rf-consent-actions { justify-content: flex-end; }
}
