  
  
  .sn-toast {
    position: fixed;
    top: 1.2rem;
    left: 1.2rem;
    max-width: 90vw;
    width: 350px;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateX(-100%);
    /*transition: opacity 0.4s ease, transform 0.4s ease; */
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-sizing: border-box;
  }

  .sn-toast.sn-visible {
    opacity: 1;
    transform: translateX(0);
  }

  .sn-toast-success {
    background-color: #e6fffa;
    border-left: 6px solid #2ecc71;
    color: #2c3e50;
  }

  .sn-toast-error {
    background-color: #ffe6e6;
    border-left: 6px solid #e74c3c;
    color: #c0392b;
  }

  .sn-toast-icon {
    font-size: 1.5rem;
    margin-right: 0.8rem;
    margin-top: 0.1rem;
  }

  .sn-toast-text h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
  }

  .sn-toast-text p {
    margin: 2px 0 0;
    font-size: 0.88rem;
    color: #555;
  }

  .sn-toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #888;
  }

  .sn-toast-close:hover {
    color: #333;
  }

  @media (max-width: 480px) {
    .sn-toast {
      width: 90%;
      left: 5%;
      top: 1rem;
      padding: 0.7rem 0.9rem;
    }

    .sn-toast-icon {
      font-size: 1.3rem;
      margin-right: 0.6rem;
    }

    .sn-toast-text h4 {
      font-size: 0.95rem;
    }

    .sn-toast-text p {
      font-size: 0.82rem;
    }

    .sn-toast-close {
      font-size: 1rem;
      top: 6px;
      right: 8px;
    }
  }
  

  /*  This css codes has been Created and Updated by 5P COMPANY www.5pcompany.site  */

