/* Container Toast di pojok kanan atas */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Style Dasar Toast */
.custom-toast {
  min-width: 280px;
  max-width: 350px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

/* Animasi Masuk */
.custom-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Flexbox untuk Area Konten (Ikon + Pesan) */
.custom-toast .toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-content i{
  font-size: 20px;
}
/* Tombol Close (X) */
.custom-toast .toast-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.7;
  padding: 0;
  line-height: 1;
  transition: opacity 0.2s;
}

.custom-toast .toast-close:hover {
  opacity: 1;
}

/* Warna Varian & Ikon */
.custom-toast.success { background-color: #28a745; }
.custom-toast.error { background-color: #dc3545; }
.custom-toast.info { background-color: #17a2b8; }
.custom-toast.warning { background-color: #ffc107; color: #212529; }
.custom-toast.warning .toast-close { color: #212529; }