/* OCAI Cookie Consent — banner multi-sitio */
.ocai-cc {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 99999;
  padding: 1rem;
  pointer-events: none;
  font-family: inherit;
  color: #e8eef7;
}

.ocai-cc--hidden {
  display: none !important;
}

.ocai-cc__panel {
  pointer-events: auto;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background:
    linear-gradient(160deg, rgba(8, 28, 48, 0.96), rgba(6, 18, 34, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.ocai-cc__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ocai-cc__body,
.ocai-cc__note {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(232, 238, 247, 0.82);
}

.ocai-cc__note {
  font-size: 0.78rem;
  color: rgba(148, 196, 230, 0.85);
}

.ocai-cc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.ocai-cc__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ocai-cc__btn:hover {
  transform: translateY(-1px);
}

.ocai-cc__btn--primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #041018;
}

.ocai-cc__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #e8eef7;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ocai-cc__btn--link {
  background: transparent;
  color: #7dd3fc;
  padding-inline: 0.55rem;
}

.ocai-cc__privacy {
  margin-left: auto;
  color: rgba(186, 230, 253, 0.9);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ocai-cc__config {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(125, 211, 252, 0.18);
  display: grid;
  gap: 0.55rem;
}

.ocai-cc__config[hidden] {
  display: none !important;
}

.ocai-cc__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.ocai-cc__cat--locked {
  opacity: 0.85;
  cursor: default;
}

.ocai-cc__cat-text {
  display: grid;
  gap: 0.15rem;
}

.ocai-cc__cat-text strong {
  font-size: 0.86rem;
}

.ocai-cc__cat-text small {
  color: rgba(186, 230, 253, 0.75);
  font-size: 0.75rem;
  line-height: 1.35;
}

.ocai-cc__cat input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #38bdf8;
}

.ocai-cc__save {
  justify-self: start;
  margin-top: 0.25rem;
}

.ocai-cc__reopen {
  position: fixed;
  right: 0.85rem;
  left: auto;
  bottom: 0.85rem;
  z-index: 99998;
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(8, 28, 48, 0.88);
  color: #bae6fd;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.ocai-cc__reopen:hover {
  border-color: rgba(56, 189, 248, 0.7);
}

@media (max-width: 640px) {
  .ocai-cc {
    padding: 0.65rem;
  }

  .ocai-cc__privacy {
    margin-left: 0;
    width: 100%;
  }

  .ocai-cc__reopen {
    right: 0.55rem;
    left: auto;
    bottom: 0.55rem;
  }
}
