/* Aviso de notificaciones push — web pública Ambigram */

.amg-push-prompt {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  padding: 0.75rem;
  pointer-events: none;
}

.amg-push-prompt-inner {
  pointer-events: auto;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(10, 14, 28, 0.96);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.amg-push-prompt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
  flex-shrink: 0;
}

.amg-push-prompt-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.amg-push-prompt-copy {
  flex: 1 1 12rem;
  min-width: 0;
}

.amg-push-prompt-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.amg-push-prompt-text {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #94a3b8;
}

.amg-push-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  width: 100%;
}

@media (min-width: 640px) {
  .amg-push-prompt-actions {
    width: auto;
    margin-left: auto;
    flex-shrink: 0;
  }
}

.amg-push-prompt-btn {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.amg-push-prompt-btn--primary {
  background: #7c3aed;
  color: #fff;
}

.amg-push-prompt-btn--primary:hover:not(:disabled) {
  background: #6d28d9;
}

.amg-push-prompt-btn--primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.amg-push-prompt-btn--ghost {
  background: transparent;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.14);
}

.amg-push-prompt-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

html[data-mode='light'] .amg-push-prompt-inner {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

html[data-mode='light'] .amg-push-prompt-title {
  color: #0f172a;
}

html[data-mode='light'] .amg-push-prompt-text {
  color: #64748b;
}

html[data-mode='light'] .amg-push-prompt-btn--ghost {
  color: #475569;
  border-color: rgba(15, 23, 42, 0.12);
}
