/**
 * UF Labs factory — cookie consent banner (standalone).
 * Loaded by analytics.js on every client site, including Design Canvas SPAs
 * that do not link styles.css.
 */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 1rem 1.5rem;
  background: #EFEDE9;
  border-top: 1px solid rgba(42, 43, 107, 0.18);
  box-shadow: 0 -10px 32px rgba(42, 43, 107, 0.14);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #2A2B6B;
  -webkit-font-smoothing: antialiased;
}

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

.cookie-consent-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

.cookie-consent-title {
  margin: 0;
  width: 100%;
  font-weight: 700;
  font-size: 1rem;
  color: #2A2B6B;
}

.cookie-consent-desc {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #45467A;
}

.cookie-consent-desc a {
  color: #2A2B6B;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-desc a:hover {
  color: #1C1D52;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-consent-actions .btn {
  appearance: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 44px;
}

.cookie-consent-actions .cookie-consent-accept,
.cookie-consent-actions .cookie-consent-reject {
  background: #2A2B6B;
  color: #EFEDE9;
  border-color: #2A2B6B;
}

.cookie-consent-actions .cookie-consent-accept:hover,
.cookie-consent-actions .cookie-consent-reject:hover {
  background: #1C1D52;
  border-color: #1C1D52;
}

.cookie-consent-actions .btn:focus-visible {
  outline: 2px solid #2A2B6B;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: 1rem 1.5rem;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
