/* ---- start demo code ---- */
body {
    background-color: #26282a;
    color: #fff;
    font-family: Arial;
    font-size: 14px;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  h1 {
    font-weight: 600;
    padding: 10px;
  }

  button {
    background: #fff;
    border: 0;
    border-radius: 4px;
    display: block;
    cursor: pointer;
    margin: 10px;
    padding: 5px 10px;
  }

  .custom-toast {
    display: flex;
    align-items: center;
  }

  .custom-toast img {
    background-size: 50px 50px;
    height: 50px;
    width: 50px;
  }

  .custom-toast p {
    font-size: 14px;
    padding: 10px;
  }

  /* ---- end demo code ---- */

  #toasts {
    min-height: 0;
    position: fixed;
    right: 20px;
    top: 20px;
    text-align: center;
    z-index: 9999;
    width: 300px;
  }

  #toasts .toast {
    border: 1px solid white;
    background: #46A960;
    border-radius: 50px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .1);
    color: rgba(0,0,0, .6);
    cursor: default;
    opacity: 0;
    position: relative;
    padding: 1px;
    transform: translateY(15%);
    transition: opacity .5s ease-in-out, transform .5s ease-in-out;
    width: 100%;
    will-change: opacity, transform;
    z-index: 1100;
  }

  .toast p{
    color: white;
    margin: 1rem !important;
  }

  #toasts .toast.success {
    background: #26d68a;
  }

  #toasts .toast.warning {
    background: #ffa533;
  }

  #toasts .toast.info {
    background: #46A960;
  }

  #toasts .toast.error {
    background: #f44336;
  }

  #toasts .toast.show {
    opacity: 0.9;
    transform: translateY(0);
    transition: opacity .5s ease-in-out, transform .5s ease-in-out;
  }

  #toasts .toast.hide {
    height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: all .5s ease-in-out;
  }

  #toasts .toast .close {
    cursor: pointer;
    font-size: 24px;
    height: 16px;
    margin-top: -10px;
    position: absolute;
    right: 14px;
    top: 50%;
    width: 16px;
  }
