.ap-cookie-consent,
.ap-cookie-manage {
  font-family: var(--ap-font-family-base, "Heebo", Arial, sans-serif);
}

.ap-cookie-consent {
  position: fixed;
  inset-inline: 0;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 240;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  color: var(--color-text-primary, #111827);
  pointer-events: none;
}

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

.ap-cookie-consent__panel {
  width: min(72rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--color-border, #cbd5e1) 76%, #ffffff);
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-surface, #ffffff) 94%, #f8fafc);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.2);
  pointer-events: auto;
}

.ap-cookie-consent__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.ap-cookie-consent__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-link, #3b82f6) 12%, #ffffff);
  color: var(--color-link-hover, #2563eb);
  font-size: 1.2rem;
}

.ap-cookie-consent__copy {
  min-width: 0;
  text-align: start;
}

.ap-cookie-consent__eyebrow {
  margin: 0 0 0.2rem;
  color: var(--color-brand-primary, #e11d48);
  font-size: 0.76rem;
  font-weight: 800;
}

.ap-cookie-consent__title,
.ap-cookie-consent__subtitle {
  margin: 0;
  color: var(--color-text-primary, #111827);
  line-height: 1.25;
}

.ap-cookie-consent__title {
  font-size: 1.05rem;
  font-weight: 800;
}

.ap-cookie-consent__subtitle {
  font-size: 1rem;
  font-weight: 800;
}

.ap-cookie-consent__text {
  max-width: 52rem;
  margin: 0.35rem 0 0;
  color: var(--color-text-secondary, #334155);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ap-cookie-consent__status {
  min-height: 1.15rem;
  margin: 0.35rem 0 0;
  color: color-mix(in srgb, var(--color-text-secondary, #334155) 82%, #ffffff);
  font-size: 0.78rem;
}

.ap-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.5rem;
  min-width: 18rem;
}

.ap-cookie-consent__btn,
.ap-cookie-consent__icon-btn,
.ap-cookie-manage {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.ap-cookie-consent__btn {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 8px;
  padding: 0.62rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.ap-cookie-consent__btn--primary {
  background: var(--color-link, #3b82f6);
  color: var(--color-on-link, #ffffff);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.ap-cookie-consent__btn--primary:hover {
  background: var(--color-link-hover, #2563eb);
  color: var(--color-on-link, #ffffff);
}

.ap-cookie-consent__btn--neutral {
  border: 1px solid var(--color-border, #cbd5e1);
  background: var(--color-surface, #ffffff);
  color: var(--color-text-primary, #111827);
}

.ap-cookie-consent__btn--neutral:hover {
  border-color: color-mix(in srgb, var(--color-link, #3b82f6) 55%, var(--color-border, #cbd5e1));
  color: var(--color-link-hover, #2563eb);
}

.ap-cookie-consent__btn--ghost {
  background: transparent;
  color: var(--color-link-hover, #2563eb);
}

.ap-cookie-consent__btn--ghost:hover {
  background: color-mix(in srgb, var(--color-link, #3b82f6) 9%, #ffffff);
}

.ap-cookie-consent__settings {
  border-top: 1px solid color-mix(in srgb, var(--color-border, #cbd5e1) 72%, #ffffff);
  padding: 1rem;
  background: color-mix(in srgb, var(--color-bg, #f8fafc) 70%, #ffffff);
}

.ap-cookie-consent__settings[hidden] {
  display: none;
}

.ap-cookie-consent__settings-head,
.ap-cookie-consent__settings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ap-cookie-consent__icon-btn {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--color-border, #cbd5e1);
  border-radius: 8px;
  background: var(--color-surface, #ffffff);
  color: var(--color-text-secondary, #334155);
}

.ap-cookie-consent__icon-btn:hover {
  color: var(--color-link-hover, #2563eb);
}

.ap-cookie-consent__categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.ap-cookie-consent__category {
  display: flex;
  min-height: 8.8rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-border, #cbd5e1) 80%, #ffffff);
  border-radius: 8px;
  background: var(--color-surface, #ffffff);
  padding: 0.9rem;
  cursor: pointer;
}

.ap-cookie-consent__category--locked {
  cursor: default;
}

.ap-cookie-consent__category-title {
  display: block;
  color: var(--color-text-primary, #111827);
  font-size: 0.94rem;
  font-weight: 800;
}

.ap-cookie-consent__category-text {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-text-secondary, #334155);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ap-cookie-consent__switch {
  position: relative;
  display: inline-flex;
  width: 3rem;
  height: 1.55rem;
  flex: 0 0 auto;
  align-items: center;
  align-self: flex-start;
}

.ap-cookie-consent__switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.ap-cookie-consent__switch span {
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-border, #cbd5e1);
  border-radius: 999px;
  background: #e2e8f0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ap-cookie-consent__switch span::before {
  position: absolute;
  top: 0.22rem;
  right: 0.24rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.18);
  content: "";
  transition: transform 0.15s ease;
}

.ap-cookie-consent__switch input:checked + span {
  border-color: color-mix(in srgb, var(--color-success, #166534) 70%, #ffffff);
  background: #16a34a;
}

.ap-cookie-consent__switch input:checked + span::before {
  transform: translateX(-1.42rem);
}

.ap-cookie-consent__switch input:disabled {
  cursor: not-allowed;
}

.ap-cookie-consent__policy {
  color: var(--color-link-hover, #2563eb);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.ap-cookie-consent__policy:hover {
  text-decoration: underline;
}

.ap-cookie-manage {
  position: fixed;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 230;
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-border, #cbd5e1) 82%, #ffffff);
  border-radius: 50%;
  background: var(--color-surface, #ffffff);
  color: var(--color-link-hover, #2563eb);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.ap-cookie-manage[hidden] {
  display: none;
}

.ap-cookie-manage:hover {
  color: var(--color-brand-primary, #e11d48);
}

.ap-cookie-consent__btn:focus-visible,
.ap-cookie-consent__icon-btn:focus-visible,
.ap-cookie-consent__switch input:focus-visible + span,
.ap-cookie-manage:focus-visible {
  outline: 2px solid var(--focus-ring-color, #2563eb);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .ap-cookie-consent__summary {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ap-cookie-consent__actions {
    grid-column: 1/-1;
    justify-content: stretch;
    min-width: 0;
  }
  .ap-cookie-consent__btn {
    flex: 1 1 9rem;
  }
  .ap-cookie-consent__categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .ap-cookie-consent {
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    padding: 0 0.75rem;
  }
  .ap-cookie-consent__summary,
  .ap-cookie-consent__settings {
    padding: 0.85rem;
  }
  .ap-cookie-consent__icon {
    width: 2.35rem;
    height: 2.35rem;
  }
  .ap-cookie-consent__actions {
    flex-direction: column;
  }
  .ap-cookie-consent__btn {
    width: 100%;
    min-height: 2.7rem;
  }
  .ap-cookie-consent__categories {
    grid-template-columns: 1fr;
  }
  .ap-cookie-consent__category {
    min-height: 0;
  }
  .ap-cookie-consent__settings-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .ap-cookie-manage {
    bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }
}

/*# sourceMappingURL=privacy-consent.css.map */
