/* Barra de aviso de privacidad (compartida entre páginas) */

.privacy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0));
  background: rgba(12, 21, 51, 0.94);
  color: #e8eaf5;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 -8px 32px rgba(12, 21, 51, 0.25);
  border-top: 1px solid rgba(107, 77, 255, 0.35);
}

.privacy-bar__text {
  margin: 0;
  flex: 1 1 220px;
  max-width: 640px;
  text-align: center;
}

@media (min-width: 720px) {
  .privacy-bar__text {
    text-align: left;
  }
}

.privacy-bar__text a {
  color: #c4b5ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-bar__text a:hover {
  color: #fff;
}

.privacy-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.privacy-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.privacy-bar__btn:active {
  transform: scale(0.98);
}

.privacy-bar__btn--primary {
  background: linear-gradient(135deg, #6b4dff, #4f2fd4);
  color: #fff;
  box-shadow: 0 4px 16px rgba(107, 77, 255, 0.45);
}

.privacy-bar__btn--primary:hover {
  box-shadow: 0 6px 20px rgba(107, 77, 255, 0.55);
}

body.privacy-bar-visible {
  padding-bottom: 5.5rem;
}

@media (min-width: 720px) {
  body.privacy-bar-visible {
    padding-bottom: 4.5rem;
  }
}
