/* WondarCore — código propio, no generado. Se puede modificar libremente. */
/* Banner "Activar notificaciones" arriba a la derecha — ver push-banner.js. */

.pushb-banner {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 900;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 16px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.pushb-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pushb-icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.pushb-body {
  flex: 1;
  min-width: 0;
}

.pushb-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.pushb-text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #666;
  margin-bottom: 12px;
}

.pushb-actions {
  display: flex;
  gap: 8px;
}

.pushb-btn {
  flex: 1;
  min-height: 40px;
  border-radius: 10px;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.pushb-btn:disabled { opacity: 0.6; cursor: default; }

.pushb-btn--primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}
.pushb-btn--primary:hover:not(:disabled) { opacity: 0.9; }

.pushb-btn--secundario {
  background: #f0f1f5;
  color: #444;
}
.pushb-btn--secundario:hover { background: #e4e6ec; }

.pushb-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #999;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pushb-close:hover { background: #f0f1f5; color: #666; }

@media (max-width: 480px) {
  .pushb-banner {
    left: 16px;
    right: 16px;
    top: 16px;
    width: auto;
    max-width: none;
  }
}
