/* Toast Notification System */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 500px;
  padding: 16px;
  background: var(--color-sidebar);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  pointer-events: all;
}

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

.toast i {
  font-size: 20px;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.toast-close {
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  opacity: 1;
}

/* Toast types */
.toast-info {
  border-left: 4px solid #3498db;
}

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

.toast-success {
  border-left: 4px solid #2ecc71;
}

.toast-success i {
  color: #2ecc71;
}

.toast-warning {
  border-left: 4px solid #f39c12;
}

.toast-warning i {
  color: #f39c12;
}

.toast-error {
  border-left: 4px solid #e74c3c;
}

.toast-error i {
  color: #e74c3c;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  
  .toast {
    min-width: auto;
    width: 100%;
  }
}
