/* Container */
.notify-container {
  position: fixed;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

/* Toast base */
.notify {
  min-width: 320px;
  max-width: 420px;

  padding: 18px 20px;
  border-radius: 18px;

  color: #f4f4f5;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  /* 🔥 FUNDO MAIS TRANSPARENTE E BEM ESCURO */
  background: rgba(9, 9, 11, 0.55);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 30px 80px rgba(0,0,0,.9);

  animation:
    toastIn .35s cubic-bezier(.16,1,.3,1),
    toastOut .4s ease forwards;
  animation-delay: 0s, var(--delay);
}

/* Texto */
.notify span {
  flex: 1;
}

/* Botão fechar */
.notify button {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 18px;
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s, transform .2s;
}

.notify button:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ================= CORES POR TIPO ================= */

.notify.success {
  border-left: 4px solid rgba(16,185,129,.8);
}

.notify.error {
  border-left: 4px solid rgba(239,68,68,.85);
}

.notify.warning {
  border-left: 4px solid rgba(245,158,11,.85);
}

/* ================= ANIMAÇÕES ================= */

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(60px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(80px) scale(.94);
  }
}
