/* static/css/notify.css */

.toast-container {
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 320px;
  max-width: calc(100vw - 24px);
  pointer-events: none;
}

.toast-container.top-right { top: 14px; right: 14px; }
.toast-container.top-left { top: 14px; left: 14px; }
.toast-container.bottom-right { bottom: 14px; right: 14px; }
.toast-container.bottom-left { bottom: 14px; left: 14px; }

.toast {
  pointer-events: auto;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  overflow: hidden;

  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast-show {
  opacity: 1;
  transform: translateY(0);
}

.toast-hide {
  opacity: 0;
  transform: translateY(-6px);
}

.toast-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

.toast-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.toast-close {
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: .6;
}
.toast-close:hover { opacity: 1; }

.toast-body {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: #222;
}

/* Types */
.toast-success { border-left: 6px solid #1f9d55; }
.toast-error   { border-left: 6px solid #d64545; }
.toast-warn    { border-left: 6px solid #d9a300; }
.toast-info    { border-left: 6px solid #2d7bdc; }
