/* component/moat-alert/moat-alert.css */
moat-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--moat-fg, #e5e5e5);
  background: color-mix(in srgb, var(--moat-bg, #0a0a0a), var(--moat-fg, #e5e5e5) 8%);
  border: 1px solid var(--moat-border, #383838);
  border-radius: var(--moat-radius, 6px);
  line-height: 1.5;
}
moat-alert .alert-content {
  flex: 1;
  min-width: 0;
}
moat-alert .alert-close {
  appearance: none;
  flex-shrink: 0;
  background: none;
  border: none;
  border-radius: 999px;
  box-shadow: none;
  color: var(--moat-subtle, #999);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  min-width: 0;
  min-height: 0;
  line-height: 1;
  margin: -2px -4px 0 0;
  padding: 4px;
  text-shadow: none;
  transform: none;
  transition: background-color var(--moat-transition, 120ms ease), color var(--moat-transition, 120ms ease);
}
moat-alert .alert-close:hover {
  background: color-mix(in srgb, currentColor, transparent 90%);
  color: var(--moat-fg, #e5e5e5);
}
moat-alert .alert-close:focus-visible {
  outline: 2px solid color-mix(in srgb, currentColor, transparent 55%);
  outline-offset: 2px;
}
moat-alert[type=success] {
  border-color: #3fb950;
  background: color-mix(in srgb, #3fb950, var(--moat-bg, #0a0a0a) 88%);
}
moat-alert[type=error] {
  border-color: #f85149;
  background: color-mix(in srgb, #f85149, var(--moat-bg, #0a0a0a) 88%);
}
moat-alert[type=warning] {
  border-color: #d29922;
  background: color-mix(in srgb, #d29922, var(--moat-bg, #0a0a0a) 88%);
}
moat-alert[type=info] {
  border-color: #58a6ff;
  background: color-mix(in srgb, #58a6ff, var(--moat-bg, #0a0a0a) 88%);
}
moat-toast moat-alert {
  animation: alert-in 200ms ease-out;
  transition: opacity 200ms ease, transform 200ms ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
moat-toast moat-alert.removing {
  opacity: 0;
  transform: translateX(100%);
}
@keyframes alert-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/*# sourceMappingURL=moat-alert-75GA5MTZ.css.map */
