.nv-notify {
  position: fixed;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  width: min(380px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  pointer-events: none;
  z-index: 2147483000;
}
.nv-notify[data-nv-scope="admin"] {
  top: calc(14px + env(safe-area-inset-top, 0px));
  bottom: auto;
  inset-inline-end: 16px;
  inset-inline-start: auto;
}
.nv-notify[data-nv-scope="shop"] {
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  top: auto;
  inset-inline-start: 16px;
  inset-inline-end: auto;
}
.nv-nt {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 9px;
  padding: 12px 13px 13px;
  border-radius: 14px;
  border: 1px solid var(--w-hair-strong, var(--line, rgba(17, 24, 39, .14)));
  background: var(--w-raise, var(--surface, #fff));
  color: var(--ink, #151a22);
  box-shadow: 0 16px 42px rgba(15, 20, 30, .16), 0 2px 6px rgba(15, 20, 30, .08);
  font-family: var(--font, Vazirmatn, system-ui, sans-serif);
  font-size: calc(12.5px * var(--fz-base, var(--fz-abase, 1)));
  font-weight: 600;
  line-height: 1.85;
  text-align: start;
  overflow: hidden;
  pointer-events: auto;
}
.nv-nt-ic {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  flex: none;
}
.nv-nt-ic svg { width: 13px; height: 13px; stroke-width: 2.4 }
.nv-nt-msg {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.nv-nt-x {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: -2px -2px 0 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted, #6b7280);
  cursor: pointer;
  transition: background .15s linear, color .15s linear;
}
.nv-nt-x:hover { background: var(--w-sunk-2, rgba(17, 24, 39, .07)); color: var(--ink, #151a22) }
.nv-nt-x svg { width: 13px; height: 13px; stroke-width: 2.2 }
.nv-nt-bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  transform-origin: left center;
  animation: nv-nt-life var(--nv-life, 5200ms) linear both;
}
[dir="rtl"] .nv-nt-bar, .nv-nt[dir="rtl"] .nv-nt-bar { transform-origin: right center }
@keyframes nv-nt-life {
  from { transform: scaleX(1) }
  to { transform: scaleX(0) }
}
.nv-nt[data-t="success"] .nv-nt-ic { background: rgba(15, 157, 88, .14); color: #0f9d58 }
.nv-nt[data-t="success"] .nv-nt-bar { background: #0f9d58 }
.nv-nt[data-t="info"] .nv-nt-ic { background: rgba(29, 111, 242, .14); color: #1d6ff2 }
.nv-nt[data-t="info"] .nv-nt-bar { background: #1d6ff2 }
.nv-nt[data-t="warn"] .nv-nt-ic { background: rgba(201, 130, 10, .16); color: #b8770a }
.nv-nt[data-t="warn"] .nv-nt-bar { background: #c9820a }
.nv-nt[data-t="error"] .nv-nt-ic { background: rgba(224, 49, 49, .14); color: #e03131 }
.nv-nt[data-t="error"] .nv-nt-bar { background: #e03131 }
.nv-notify-fallback {
  position: fixed;
  inset-inline: 14px;
  bottom: 14px;
  display: grid;
  gap: 8px;
  z-index: 2147483000;
}
.nv-notify-fallback .nv-nt { grid-template-columns: 1fr }
@media (max-width: 560px) {
  .nv-notify {
    width: auto;
    inset-inline: 12px;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nv-nt { transition: none !important }
  .nv-nt-bar { animation: none; display: none }
}
@media (forced-colors: active) {
  .nv-nt { border: 1px solid CanvasText }
}
@media print {
  .nv-notify, .nv-notify-fallback { display: none !important }
}
