/* ✅ Toast Container - Default (Desktop & Tablet) */
/* ✅ Toast Container - Desktop & Tablet (moved down) */
/* ✅ Toast Container - Default (Desktop & Tablet) */
.toast-container {
  position: fixed;
  top: 80px;      /* ✅ moved down (was 20px) */
  right: 25px;
  z-index: 99999999 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
    transition: top .3s ease;

}


/* ✅ Individual Toast */
.toast {
  background: #333;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  pointer-events: auto;
  max-width: 320px;
  width: 100%;
  text-align: left;
}


/* ✅ Toast Variants */
.toast.success { background: #28a745; }
.toast.error { background: #dc3545; }
.toast.info { background: #007bff; }

/* ✅ Progress Bar */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  width: 0;
  transition: width linear;
  border-radius: 0 0 8px 8px;
}

/* ✅ Animation - Slide In/Out */
.toast.show {
  opacity: 1;
  transform: translateX(0);
}
.toast.hide {
  opacity: 0;
  transform: translateX(120%);
}

/* ✅ Tablet */
@media (max-width: 991px) {
  .toast-container {
    top: 15px;
    right: 15px;
  }
  .toast {
    max-width: 280px;
    font-size: 14px;
    padding: 12px 18px;
  }
}

/* ✅ Mobile Layout */
@media (max-width: 575px) {
   .toast-container {
    top: auto;
    bottom: 25px;
    right: 50%;
    transform: translateX(50%);
  }

  .toast {
    text-align: center;
    max-width: 90%;
    font-size: 14px;
    padding: 12px 16px;
    transform: translateY(120%);
  }

  .toast.show {
    transform: translateY(0);
  }

  .toast.hide {
    transform: translateY(120%);
  }
}
