.toastR-container {
  background: #fff;
  color: #051930;
  position: fixed;
  top: 75px;
  right: -100%;
  z-index: 9999;
  width: 320px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: all 0.3s ease-out;
}
.toastR-container p {
  line-height: 1.4 !important;
}
.toastR-container .toast-close {
  width: 100%;
  position: relative;
  display: block;
}
.toastR-container .toast-close i::before {
  cursor: pointer;
  position: absolute;
  top: 8px;
  left: 93%;
  content: "\d7";
  font-size: 18px;
  font-weight: 500;
  color: #000;
}

.toast_body {
  display: flex;
  align-items: center;
  padding: 0.5rem;
}
.toast_body .toast-type__icon {
  width: 25px;
  height: 25px;
  margin: 0 10px;
  border-radius: 3px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast_body .toast-type__text-title {
  font-size: 0.85rem;
  font-weight: bold;
  margin: 0;
}
.toast_body .toast-type__text-description {
  font-size: 0.8rem;
  margin: 0;
}

/* Toast type backgrounds */
.toast-type__success {
  background-color: #35bb6b;
}
.toast-type__success::before {
  content: "\2713";
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}
.toast-type__error {
  background-color: #ff5252;
}

.toast-type__error::before {
  content: "\d7";
  font-size: 20px;
  font-weight: bolder;
  color: #fff;
}
.toast-type__warning {
  background-color: #ff9800;
}
.toast-type__warning::before {
  content: "\0021";
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}
/* Toast container remover */
.toastR-container--hidden {
  animation: remove-toast 0.7s alternate forwards;
}

@keyframes remove-toast {
  50% {
    right: 70px;
  }
  100% {
    right: -100%;
  }
}

.init-toast {
  animation: add-toast 0.7s alternate forwards;
}

@keyframes add-toast {
  100% {
    right: 50px;
  }
}

@media (max-width: 768px) {
  .toastR-container {
    width: 98%;
    margin: auto;
    right: 0;
    transition: all 0.2s;
  }
  .init-toast {
    animation: unset;
  }
}
