/* ============================
   Toast Notifications Container
   ============================ */

.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  pointer-events: none;
}

/* ============================
   Toast Notifications
   ============================ */

.toast {
  min-width: 280px;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 
    0 10px 40px rgba(0,0,0,0.5),
    0 4px 12px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.toast.hiding {
  opacity: 0;
  transform: translateX(100%);
}

/* ============================
   Toast Types
   ============================ */

.toast-success {
  background: linear-gradient(
    135deg, 
    rgba(46, 204, 113, 0.95),
    rgba(39, 174, 96, 0.95)
  );
  border-color: rgba(46, 204, 113, 0.3);
}

.toast-error {
  background: linear-gradient(
    135deg, 
    rgba(255, 92, 124, 0.95),
    rgba(224, 67, 95, 0.95)
  );
  border-color: rgba(255, 92, 124, 0.3);
}

.toast-warning {
  background: linear-gradient(
    135deg, 
    rgba(241, 196, 15, 0.95),
    rgba(243, 156, 18, 0.95)
  );
  border-color: rgba(241, 196, 15, 0.3);
}

.toast-info {
  background: linear-gradient(
    135deg, 
    rgba(124, 92, 255, 0.95),
    rgba(155, 124, 255, 0.95)
  );
  border-color: rgba(124, 92, 255, 0.3);
}

/* ============================
   Animations
   ============================ */

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 768px) {
  .toast-container {
    top: 72px;
    right: 12px;
    left: auto;
    max-width: 280px;
  }
  
  .toast {
    min-width: auto;
    width: 100%;
  }
}
