/* Toast Notification System */

.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background-color: var(--velvet-black);
  color: var(--pearl-white);
  padding: 16px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.toast.toast--success {
  background-color: var(--deep-plum);
  color: var(--pearl-white);
  border-left: 4px solid var(--champagne-gold);
}

.toast.toast--error {
  background-color: var(--deep-plum);
  color: var(--pearl-white);
  border-left: 4px solid #c94a4a;
}

.toast.toast--info {
  background-color: var(--imperial-purple);
  color: var(--pearl-white);
  border-left: 4px solid var(--champagne-gold);
}

.toast__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.toast__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toast__title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

.toast__message {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
}

.toast__close {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast__close:hover {
  opacity: 1;
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
  .toast-container {
    top: 80px;
    right: 16px;
    left: 16px;
  }

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