/* assets/notify.css */

.notify-stack {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}

.notify {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.notify[data-show="1"] {
  opacity: 1;
  transform: translateY(0);
}

.notify-body {
  display: flex;
  flex-direction: column;
}

.notify-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.notify-text {
  color: var(--text, #e7e8ea);
}

/* Typen */
.notify-success {
  background: #163727;
  border: 1px solid #1f8b4d;
}

.notify-error {
  background: #3a1d1d;
  border: 1px solid #e74c3c;
}

.notify-info {
  background: #1b2736;
  border: 1px solid #3498db;
}

.notify-warning {
  background: #3a2f1b;
  border: 1px solid #f1c40f;
}

/* Close-Button */
.notify-close {
  border: none;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
}

.notify-close:hover {
  color: #fff;
}
