/* consent.css - the analytics cookie banner (only on the page when GA_MEASUREMENT_ID is set) */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--primary);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* forms.css styles every button full-width and uppercase; these are two equal, plain choices */
.cookie-actions button {
  width: auto;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-main);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-actions button:hover {
  border-color: var(--primary);
}
