.toast-container {
    position: fixed;
    right: 20px;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
  }

  .toast {
    min-width: 260px;
    padding: 16px 20px 10px;
    background: #333;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.4s ease forwards;
    overflow: hidden;
  }

  .toast.success {
    background: #4caf50;
  }

  .toast.error {
    background: #f44336;
  }

  .toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255,255,255,0.8);
    width: 100%;
    animation: progressBar 3s linear forwards;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideOut {
    from {
      opacity: 1;
      transform: translateX(0);
    }
    to {
      opacity: 0;
      transform: translateX(30px);
    }
  }

  @keyframes progressBar {
    from {
      width: 100%;
    }
    to {
      width: 0%;
    }
  }

  button {
    margin: 20px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
  }