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

.toast {
  min-width: 300px;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s ease;
  font-family: var(--font-body, sans-serif);
}

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

.toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

/* Toast Types */
.toast--success {
  background: #10b981;
  color: white;
}

.toast--error {
  background: #ef4444;
  color: white;
}

.toast--info {
  background: var(--accent-primary, #8B7355);
  color: white;
}

/* Toast Icon */
.toast__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.toast__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Toast Content */
.toast__content {
  flex: 1;
}

.toast__title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.toast__message {
  font-size: 13px;
  opacity: 0.9;
}

/* Toast Close Button */
.toast__close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: currentColor;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toast__close:hover {
  opacity: 1;
}

.toast__close svg {
  width: 16px;
  height: 16px;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .toast-container {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }
}
