/* CSS for toast container and toast message */
.toast-container {
    position: fixed;
    top: 10rem; /* Adjust as needed */
    right: 6px; /* Adjust as needed */
    z-index: 1000; /* Ensure it's above other content */
    width: 300px; /* Adjust width as needed */
  }
  
  .toast {
    background-color: #333;
    color: #fff;
    background: linear-gradient(135deg, #34c5e6, #29801a); 
    color: #fff; /* Text color */
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    /*transition: opacity 0.2s ease-in-out;
    opacity: 0;*/
    /* Newly added */
    transform: translateX(100%); /* Initially off-screen to the right */
    /*transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;*/
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.2s ease-in-out;

  }
  
  .toast.success {
    background-color: linear-gradient(135deg, #34c5e6, #29801a); 
  }
  
  .toast.failure {
    background-color: #d9534f; /* Failure background color */
  }

  .toast.show {
    opacity: 1;
    /* Newly added */
    transform: translateX(0); /* Slide in from right to left */
  }
  