/* LQP_PUSH_UI_V4 — campana flotante + ventana móvil */
.lqp-push-overlay,
.lqp-push-modal,
.lqp-push-modal *,
.lqp-push-bell,
.lqp-push-bell * {
  box-sizing: border-box;
}

html.lqp-push-modal-open {
  overflow: hidden;
}

.lqp-push-bell {
  position: fixed;
  z-index: 2147482998;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d71920;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .28);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lqp-push-bell-icon {
  font-size: 24px;
  line-height: 1;
}

.lqp-push-bell-dot {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fbbf24;
}

.lqp-push-bell.is-active {
  background: #15803d;
}

.lqp-push-bell.is-active .lqp-push-bell-dot {
  background: #22c55e;
}

.lqp-push-bell.is-blocked {
  background: #b45309;
}

.lqp-push-bell.is-blocked .lqp-push-bell-dot {
  background: #ef4444;
}

.lqp-push-bell.is-unavailable {
  background: #475569;
}

.lqp-push-bell.is-unavailable .lqp-push-bell-dot {
  background: #cbd5e1;
}

.lqp-push-bell:hover {
  transform: translateY(-1px);
}

.lqp-push-bell:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

.lqp-push-overlay {
  position: fixed;
  z-index: 2147483004;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 10, 24, .62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lqp-push-modal {
  position: relative;
  width: min(470px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  color: #fff;
  background: #0f172a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
  text-align: center;
}

.lqp-push-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(215, 25, 32, .16);
  font-size: 29px;
}

.lqp-push-title {
  margin: 0;
  padding: 0 22px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 850;
}

.lqp-push-copy {
  margin: 11px 0 0;
  color: #dbe4f0;
  font-size: 14px;
  line-height: 1.55;
}

.lqp-push-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 19px;
}

.lqp-push-action,
.lqp-push-secondary,
.lqp-push-danger {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 9px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.lqp-push-action {
  border: 1px solid #d71920;
  background: #d71920;
  color: #fff;
}

.lqp-push-secondary {
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
}

.lqp-push-danger {
  border: 1px solid #ef4444;
  background: transparent;
  color: #fecaca;
}

.lqp-push-action:disabled,
.lqp-push-danger:disabled {
  opacity: .72;
  cursor: wait;
}

.lqp-push-close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #cbd5e1;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.lqp-push-close:hover,
.lqp-push-close:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.lqp-push-action:focus-visible,
.lqp-push-secondary:focus-visible,
.lqp-push-danger:focus-visible,
.lqp-push-close:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

.lqp-push-status {
  display: block;
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.4;
}

.lqp-push-status[data-type="error"] {
  color: #fecaca;
}

@media (max-width: 560px) {
  .lqp-push-bell {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
  }

  .lqp-push-overlay {
    align-items: end;
    padding: 10px;
  }

  .lqp-push-modal {
    width: 100%;
    padding: 21px 16px 16px;
    border-radius: 17px;
  }

  .lqp-push-title {
    font-size: 20px;
  }

  .lqp-push-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lqp-push-action,
  .lqp-push-secondary,
  .lqp-push-danger {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lqp-push-modal {
    animation: lqpPushModalIn .18s ease-out;
  }

  .lqp-push-bell {
    transition: transform .15s ease, background-color .15s ease;
  }

  @keyframes lqpPushModalIn {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}
