/* Toast Notification Styles */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 320px;
}

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

.toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 2px;
  color: var(--text);
}

.toast-message {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s ease;
  font-size: 16px;
  line-height: 1;
}

.toast-close:hover {
  color: var(--text);
}

/* Light theme adjustments */
body.theme-light .toast {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Success variant */
.toast.success .toast-icon {
  background: #10b981;
}

/* Error variant */
.toast.error .toast-icon {
  background: #ef4444;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .toast {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
    transform: translateY(-100px);
  }
  
  .toast.show {
    transform: translateY(0);
  }
}