  /* Toast container */
  .toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    width: fit-content;
    max-width: 90vw;
    background-color: #333;
    color: white;
    border-radius: 5px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  .toast.success {
    background-color: #40c162;
  }
  
  .toast.error {
    background-color: red;
  }
  
  .toast.warning {
    background-color: orange;
  }
  
  .toast.show {
    opacity: 1;
  }
  
  @media (max-width:768px) {
    .toast {
      position: fixed;
      bottom: 20px;
      width: 100%;
      max-width: 90vw;
      margin: 0 auto;
      text-align: center;
    }
  }