.toast-title {
  margin: 0 0 4px;
  color: #20352b;
  font-family: 'fa_font', yekan, Tahoma, Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.7;
}

.toast-message {
  color: #5f6f66;
  font-family: 'fa_font', yekan, Tahoma, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.9;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

.toast-message a,
.toast-message label {
  color: #2E5040;
}

.toast-message a:hover {
  color: #244434;
  text-decoration: none;
}

.toast-close-button {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  border-radius: 8px;
  background: rgba(46, 80, 64, 0.08);
  color: #2E5040;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.toast-close-button:hover,
.toast-close-button:focus {
  background: rgba(198, 55, 55, 0.12);
  color: #c63737;
  cursor: pointer;
  opacity: 1;
  outline: none;
  transform: translateY(-1px);
  text-decoration: none;
}

.rtl .toast-close-button {
  left: 10px;
  right: auto;
  float: none;
}

button.toast-close-button {
  padding: 0;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
}

.toast-top-center,
.toast-bottom-center,
.toast-top-full-width,
.toast-bottom-full-width {
  right: 0;
  width: 100%;
}

.toast-top-center,
.toast-top-full-width {
  top: 0;
}

.toast-bottom-center,
.toast-bottom-full-width {
  bottom: 0;
}

.toast-top-left {
  top: 18px;
  left: 18px;
}

.toast-top-right {
  top: 18px;
  right: 18px;
}

.toast-bottom-right {
  right: 18px;
  bottom: 18px;
}

.toast-bottom-left {
  bottom: 18px;
  left: 18px;
}

#toast-container {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
}

#toast-container * {
  box-sizing: border-box;
}

#toast-container > div {
  position: relative;
  pointer-events: auto;
  overflow: hidden;
  width: min(390px, calc(100vw - 28px));
  min-height: 78px;
  margin: 0 0 10px;
  padding: 15px 58px 15px 44px;
  border: 1px solid rgba(46, 80, 64, 0.1);
  border-radius: 12px;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 18px 42px rgba(17, 29, 23, 0.16);
  color: #20352b;
  opacity: 1;
  direction: rtl;
  text-align: right;
  transform: translateY(0);
  transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

#toast-container > div:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: #2E5040;
}

#toast-container > div:after {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(46, 80, 64, 0.1);
  color: #2E5040;
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

#toast-container > div.rtl {
  direction: rtl;
  padding: 15px 58px 15px 44px;
  background-position: right 15px center;
}

#toast-container > div:hover {
  border-color: rgba(46, 80, 64, 0.18);
  box-shadow: 0 22px 54px rgba(17, 29, 23, 0.2);
  cursor: pointer;
  transform: translateY(-1px);
}

#toast-container > .toast-success:before,
#toast-container > .toast-success .toast-progress {
  background: #2E5040;
}

#toast-container > .toast-success:after {
  content: "\f00c";
  background: rgba(46, 80, 64, 0.12);
  color: #2E5040;
}

#toast-container > .toast-info:before,
#toast-container > .toast-info .toast-progress {
  background: #0f7e88;
}

#toast-container > .toast-info:after {
  content: "\f129";
  background: rgba(15, 126, 136, 0.12);
  color: #0f7e88;
}

#toast-container > .toast-warning:before,
#toast-container > .toast-warning .toast-progress {
  background: #F2D519;
}

#toast-container > .toast-warning:after {
  content: "\f071";
  background: rgba(242, 213, 25, 0.24);
  color: #2E5040;
}

#toast-container > .toast-error:before,
#toast-container > .toast-error .toast-progress {
  background: #c63737;
}

#toast-container > .toast-error:after {
  content: "\f00d";
  background: rgba(198, 55, 55, 0.12);
  color: #c63737;
}

#toast-container.toast-top-center > div,
#toast-container.toast-bottom-center > div {
  width: min(390px, calc(100vw - 28px));
  margin-left: auto;
  margin-right: auto;
}

#toast-container.toast-top-full-width > div,
#toast-container.toast-bottom-full-width > div {
  width: calc(100vw - 36px);
  margin-left: auto;
  margin-right: auto;
}

.toast {
  background-color: #ffffff;
}

.toast-success,
.toast-error,
.toast-info,
.toast-warning {
  background-color: #ffffff;
}

.toast-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px 0 0 999px;
  opacity: 1;
}

@media all and (max-width: 480px) {
  .toast-top-right,
  .toast-top-left {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .toast-bottom-right,
  .toast-bottom-left {
    right: 10px;
    left: 10px;
    bottom: 10px;
  }

  #toast-container > div,
  #toast-container > div.rtl {
    width: 100%;
    min-height: 72px;
    margin-bottom: 8px;
    padding: 13px 54px 13px 40px;
  }

  .toast-title {
    font-size: 12px;
  }

  .toast-message {
    font-size: 11.5px;
  }
}
