/* =========================================
   TOAST NOTIFICATIONS (Dynamic & Full Width)
   ================================********* */

.toast-container {
  position: fixed;
  bottom: 1rem;
  left: 0;
  width: 100%;
  z-index: 10000;
  
  padding: 0 1rem;
  box-sizing: border-box;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; 
}

.toast {
  width: 100%;
  max-width: 1800px;
  
  /* --- DYNAMIC COLORS --- */
  /* Use your Primary color (Black/White) for background */
  background: var(--color-primary);
  
  /* Use your Page Background color for text (creating high contrast) */
  color: var(--color-bg-main);
  
  /* Add a subtle border using your border variable */
  /*border: 1px solid var(--color-border);*/
  /* ----------------------- */
  
  padding: 1rem 1.2rem;
  border-radius: 2px;
  
  text-align: left;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  
  /* Use a darker shadow even in light mode for pop */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  opacity: 0;
  transform: translateY(20px);
  
  /* OPTIMIZATION: Only animate specific properties + GPU Hint */
  transition: 
    opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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