:root {
  /* Default Toast Colors using OKLCH */
  --toast-bg: oklch(0.2 0.05 250 / 0.95);
  --toast-text: oklch(0.98 0.01 250);

  --toast-success-bg: oklch(0.95 0.1 140 / 0.95);
  --toast-success-text: oklch(0.3 0.1 140);

  --toast-error-bg: oklch(0.95 0.08 20 / 0.95);
  --toast-error-text: oklch(0.4 0.15 20);

  --toast-info-bg: oklch(0.95 0.05 250 / 0.95);
  --toast-info-text: oklch(0.3 0.1 250);

  --toast-warning-bg: oklch(0.96 0.12 80 / 0.95);
  --toast-warning-text: oklch(0.4 0.18 80);
}

.vc-toast-container {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 999999;
  gap: 8px;
  padding: 0 16px;
}

.vc-toast {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 100px;
  /* Pillow shape */
  background: var(--toast-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  opacity: 0;
  /* GSAP will handle visibility */
  transform: translateY(-20px);
  /* Initial position for GSAP */
  will-change: transform, opacity;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vc-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.vc-toast-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.vc-toast-content {
  display: flex;
  flex-direction: column;
}

.vc-toast-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--toast-text);
  line-height: 1.2;
}

.vc-toast-message {
  font-size: 13px;
  color: var(--toast-text);
  opacity: 0.85;
  margin-top: 2px;
  line-height: 1.3;
  display: none;
  /* Hidden by default unless message exists */
}

.vc-toast.has-message .vc-toast-message {
  display: block;
}

/* Modifiers */
.vc-toast-success {
  background: var(--toast-success-bg);
  border-color: rgba(255, 255, 255, 0.4);
}

.vc-toast-success .vc-toast-title,
.vc-toast-success .vc-toast-message {
  color: var(--toast-success-text);
}

.vc-toast-success .vc-toast-icon {
  background: oklch(0.4 0.15 140 / 0.15);
  color: oklch(0.35 0.12 140);
}

.vc-toast-error {
  background: var(--toast-error-bg);
  border-color: rgba(255, 255, 255, 0.4);
}

.vc-toast-error .vc-toast-title,
.vc-toast-error .vc-toast-message {
  color: var(--toast-error-text);
}

.vc-toast-error .vc-toast-icon {
  background: oklch(0.5 0.18 20 / 0.15);
  color: oklch(0.45 0.16 20);
}

.vc-toast-info {
  background: var(--toast-info-bg);
  border-color: rgba(255, 255, 255, 0.4);
}

.vc-toast-info .vc-toast-title,
.vc-toast-info .vc-toast-message {
  color: var(--toast-info-text);
}

.vc-toast-info .vc-toast-icon {
  background: oklch(0.4 0.12 250 / 0.15);
  color: oklch(0.35 0.1 250);
}

.vc-toast-warning {
  background: var(--toast-warning-bg);
  border-color: rgba(255, 255, 255, 0.4);
}

.vc-toast-warning .vc-toast-title,
.vc-toast-warning .vc-toast-message {
  color: var(--toast-warning-text);
}

.vc-toast-warning .vc-toast-icon {
  background: oklch(0.5 0.2 80 / 0.15);
  color: oklch(0.45 0.18 80);
}