/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
}

[dir="rtl"] .toast-container {
  right: auto;
  left: 20px;
}

.toast {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.95), rgba(40, 167, 69, 0.9));
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .toast {
  transform: translateX(-100%);
}

.toast.show {
  transform: translateX(0);
}

[dir="rtl"] .toast.show {
  transform: translateX(0);
}

.toast.error {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.95), rgba(220, 53, 69, 0.9));
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  font-weight: 500;
  font-size: 0.9rem;
}

.toast:hover {
  transform: translateX(-5px);
}

[dir="rtl"] .toast:hover {
  transform: translateX(5px);
}

/* Animation for toast removal */
.toast.fade-out {
  opacity: 0;
  transform: translateX(100%) scale(0.8);
}

[dir="rtl"] .toast.fade-out {
  transform: translateX(-100%) scale(0.8);
} 