.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6347; /* Red */
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: none;
  }
  
  .toast.success {
    background-color: #32cd32; /* Green */
  }
  
  .toast.show {
    display: block;
  }
  
  .toast .close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
  }
  
  .toast .close:hover {
    color: #fff;
  }