.container {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 400px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: slideIn 200ms ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toastExiting {
  animation: slideOut 150ms ease-in forwards;
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.toastSuccess {
  border-left: 3px solid var(--status-success);
}

.toastError {
  border-left: 3px solid var(--status-error);
}

.toastWarning {
  border-left: 3px solid var(--status-warning);
}

.toastInfo {
  border-left: 3px solid var(--status-info);
}

.icon {
  flex-shrink: 0;
}

.toastSuccess .icon {
  color: var(--status-success);
}

.toastError .icon {
  color: var(--status-error);
}

.toastWarning .icon {
  color: var(--status-warning);
}

.toastInfo .icon {
  color: var(--status-info);
}

.content {
  flex: 1;
  min-width: 0;
}

.title {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-0-5);
}

.message {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  word-break: break-word;
}

.closeButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: var(--transition-all);
  flex-shrink: 0;
}

.closeButton:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
