.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 350px;
  z-index: 9999;
}

.toast {
  background-color: white;
  color: #333;
  border-left: 4px solid #007bff;
  border-radius: 4px;
  padding: 15px 20px 15px 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.success {
  border-left-color: #28a745;
}

.toast.error {
  border-left-color: #dc3545;
}

.toast.warning {
  border-left-color: #ffc107;
}

.toast.info {
  border-left-color: #17a2b8;
}

.toast-icon {
  margin-right: 12px;
  font-size: 20px;
}

.toast.success .toast-icon {
  color: #28a745;
}

.toast.error .toast-icon {
  color: #dc3545;
}

.toast.warning .toast-icon {
  color: #ffc107;
}

.toast.info .toast-icon {
  color: #17a2b8;
}

.toast-content {
  flex: 1;
}

.toast-close {
  font-size: 20px;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
}

.toast-close:hover {
  color: #666;
}

@keyframes toast-progress {
  0% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
}

.toast.success .toast-progress {
  background-color: #28a745;
}

.toast.error .toast-progress {
  background-color: #dc3545;
}

.toast.warning .toast-progress {
  background-color: #ffc107;
}

.toast.info .toast-progress {
  background-color: #17a2b8;
} 