/* /WebUi/Components/Toaster/Toaster.razor.rz.scp.css */
.toast-viewport[b-5tx56hmlc9] {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

@media (max-width: 639px) {
  .toast-viewport[b-5tx56hmlc9] {
    right: 50%;
    bottom: 1rem;
    transform: translateX(50%);
  }
}

.toast-viewport > *[b-5tx56hmlc9] {
  pointer-events: auto;
}

.toast-item[b-5tx56hmlc9] {
  align-items: center;
  animation: toast-in-b-5tx56hmlc9 200ms cubic-bezier(.16, 1, .3, 1);
}

.toast-viewport button[b-5tx56hmlc9] {
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
}

.toast-viewport button:hover[b-5tx56hmlc9] {
  background: var(--subtle);
  color: var(--ink);
}

.toast-viewport button svg[b-5tx56hmlc9],
.toast-item svg[b-5tx56hmlc9] {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.toast-error svg[b-5tx56hmlc9] { color: var(--error); }
.toast-success svg[b-5tx56hmlc9] { color: var(--success); }
.toast-info svg[b-5tx56hmlc9] { color: var(--accent); }
.toast-loading .toast-spinner[b-5tx56hmlc9] { color: var(--accent); }
.toast-viewport button svg[b-5tx56hmlc9] { color: inherit; }

.toast-spinner[b-5tx56hmlc9] {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 1.5px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: toast-spin-b-5tx56hmlc9 0.7s linear infinite;
}

@keyframes toast-spin-b-5tx56hmlc9 {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .toast-spinner[b-5tx56hmlc9] { animation: none; border-top-color: var(--accent); opacity: .7; }
}

@keyframes toast-in-b-5tx56hmlc9 {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toast-item[b-5tx56hmlc9] { animation: none; }
}
