/* Toast Notification Styles */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 350px;
  width: 100%;
}

.toast {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  position: relative;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  margin-right: 12px;
  font-size: 20px;
  flex-shrink: 0;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 3px;
}

.toast-message {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.toast-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
  padding: 0;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #fff;
}

/* Progress bar */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
}

.toast-progress-bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  transition: width linear;
}

/* Toast types */
.toast-success {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
}

.toast-error {
  background: linear-gradient(135deg, #F44336, #C62828);
  color: white;
}

.toast-warning {
  background: linear-gradient(135deg, #FFC107, #FF8F00);
  color: white;
}

.toast-info {
  background: linear-gradient(135deg, #9DCEFF, #92A3FD);
  color: white;
}

/* Animation for toast removal */
@keyframes toast-out {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast.hide {
  animation: toast-out 0.3s forwards;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}