.flow-notify-prompt {
  position: fixed;
  left: 50%;
  z-index: 45;
  width: min(420px, calc(100vw - 1.5rem));
  transform: translate(-50%, 120%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
  bottom: calc(var(--flow-bottom-chrome, 88px) + 0.75rem + env(safe-area-inset-bottom, 0px));
}

.flow-notify-prompt.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.flow-notify-prompt-card {
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

html.dark .flow-notify-prompt-card {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.flow-notify-prompt-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.25));
  border: 1px solid rgba(59, 130, 246, 0.25);
  flex-shrink: 0;
}

.flow-notify-prompt-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.flow-notify-prompt-actions button {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.62rem 0.75rem;
  border-radius: 999px;
  touch-action: manipulation;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.flow-notify-prompt-actions button:active {
  transform: scale(0.97);
}

.flow-notify-allow {
  background: #000;
  color: #fff;
  border: none;
}

html.dark .flow-notify-allow {
  background: #fff;
  color: #000;
}

.flow-notify-dismiss {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  opacity: 0.85;
}

.flow-notify-dismiss:hover {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .flow-notify-prompt {
    transition: none;
  }
}
