#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  margin-bottom: 10px;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  pointer-events: auto;
  border-left: 4px solid #333;
  border: none;
  border-left: 4px solid;
}

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

.toast-message {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  word-wrap: break-word;
}

.toast-close {
  background: none;
  border: none;
  color: #999;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

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

.toast-success {
  border-left-color: #07bc0c;
  background-color: #c1f0c1;
}

.toast-success .toast-message::before {
  content: "✓ ";
  color: #07bc0c;
  font-weight: bold;
  margin-right: 8px;
}

.toast-error {
  border-left-color: #e57373 !important;
  background-color: #ffd6d6 !important;
}

.toast-error .toast-message {
  color: #666 !important;
}

.toast-error .toast-message::before {
  content: "✕ ";
  color: #e57373 !important;
  font-weight: bold;
  margin-right: 8px;
}

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

.toast-warning .toast-message::before {
  content: "⚠ ";
  color: #f39c12;
  font-weight: bold;
  margin-right: 8px;
}

.toast-info {
  border-left-color: #3498db;
}

.toast-info .toast-message::before {
  content: "ℹ ";
  color: #3498db;
  font-weight: bold;
  margin-right: 8px;
}

@media (max-width: 768px) {
  #toast-container {
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .toast {
    min-width: auto;
    width: 100%;
  }
}
