/* Cookie consent — works on marketing (dark) and legal (light) pages via inherit */

.uw-cookie-banner {
  position: fixed;
  z-index: 99999;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.5;
  pointer-events: none;
}

.uw-cookie-banner__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: #fff;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  pointer-events: auto;
}

.uw-cookie-banner__text {
  margin-bottom: 1rem;
}

.uw-cookie-banner__text p {
  margin: 0;
}

.uw-cookie-banner__text a {
  color: #000066;
  text-decoration: underline;
  font-weight: 700;
}

.uw-cookie-banner__text a:hover {
  color: #0cd9d4;
}

.uw-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.uw-cookie-banner__btn {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  margin: 0;
  line-height: 1.3;
  transition: opacity 0.2s, border-color 0.2s, background-color 0.2s, color 0.2s;
}

.uw-cookie-banner__btn--primary {
  background-color: #000066;
  color: #ffffff;
  border-color: #000066;
}

.uw-cookie-banner__btn--primary:hover {
  opacity: 0.92;
  color: #ffffff;
}

.uw-cookie-banner__btn--ghost {
  background-color: #ffffff;
  color: #000066;
  border-color: #dadada;
}

.uw-cookie-banner__btn--ghost:hover {
  border-color: #0cd9d4;
  color: #000066;
  background-color: #f8f9fc;
}

/* In document flow at bottom of site — not fixed over content */
.uw-cookie-settings-slot {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0.35rem 0 0;
  font-family: inherit;
  line-height: 0;
}

.uw-cookie-settings-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  margin: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.4;
  line-height: 0;
  vertical-align: middle;
  transition: opacity 0.2s, color 0.2s;
}

.uw-cookie-settings-btn:hover,
.uw-cookie-settings-btn:focus-visible {
  opacity: 0.95;
  color: #0cd9d4;
  outline: none;
}

.uw-cookie-settings-btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(12, 217, 212, 0.5);
}
