.toast {
  flex-basis: 380px;
  max-width: 380px;
  font-size: 0.857rem;
  color: #6e6b7b;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border: 0 solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px 0 rgba(34, 41, 47, 0.08);
  opacity: 0;
  border-radius: 0.286rem;
}

.toast:not(:last-child) {
  margin-bottom: 1.14rem;
}

.toast.showing {
  opacity: 1;
}

.toast.show {
  display: block;
  opacity: 1;
}

.toast.hide {
  display: none;
}

.toast-header {
  display: flex;
  align-items: center;
  padding: 0.15rem 1.14rem;
  color: #6e6b7b;
  background-color: #fff;
  background-clip: padding-box;
  border-bottom: 0 solid rgba(0, 0, 0, 0.05);
  border-top-left-radius: 0.286rem;
  border-top-right-radius: 0.286rem;
}

.toast-body {
  padding: 1.14rem;
}

.toast.show {
  z-index: 1030;
}

.toast .close:focus {
  outline: none;
}

@media (max-width: 575.98px) {
  .toast {
    left: 1rem;
  }
}

#toast-container > div {
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  max-width: none;
  border-radius: 0.286rem;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
}

.toast-message b {
  font-weight: 600;
}

#toast-container > div,
#toast-container > div:hover {
  box-shadow: 0 2px 10px 0 rgba(34, 41, 47, 0.2);
}

#toast-container > .toast {
  background-image: none !important;
}

.toast {
  background-color: #fff;
  color: #6a7695 !important;
}

.toast .toast-close-button {
  color: #6a7695;
  font-size: 1.25rem;
  font-weight: 350;
  top: 0;
  right: 0;
  text-shadow: none;
}

.toast .toast-close-button:focus {
  outline: none;
}

.toast .toast-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
}

.toast .toast-progress {
  opacity: 1;
}

.toast:before {
  content: "";
  height: 24px;
  width: 24px;
  border-radius: 50%;
  color: #fff;
  position: absolute;
  left: 1.25rem;
  background-size: 1rem;
  background-repeat: no-repeat;
  background-position: center;
}

.toast-success .toast-title {
  color: #28c76f;
}

.toast-success .toast-progress {
  background-color: #28c76f;
}

.toast-success:before {
  background-color: #28c76f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.toast-error .toast-title {
  color: #ea5455;
}

.toast-error .toast-progress {
  background-color: #ea5455;
}

.toast-error:before {
  background-color: #ea5455;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.toast-info .toast-title {
  color: #00cfe8;
}

.toast-info .toast-progress {
  background-color: #00cfe8;
}

.toast-info:before {
  background-color: #00cfe8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-info'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E");
}

.toast-warning .toast-title {
  color: #ff9f43;
}

.toast-warning .toast-progress {
  background-color: #ff9f43;
}

.toast-warning:before {
  background-color: #ff9f43;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-alert-triangle'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");
}

.toast-top-left {
  top: 1.3rem;
  left: 2rem;
}

.toast-top-right {
  top: 1.3rem;
  right: 2rem;
}

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

.toast-bottom-left {
  bottom: 1.3rem;
  left: 2rem;
}

.toast-bottom-right {
  bottom: 1.3rem;
  right: 2rem;
}

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

@media (max-width: 480px) and (min-width: 241px) {
  #toast-container > .toast:after {
    top: 0.95rem;
  }
  #toast-container > .toast .toast-close-button {
    top: 0;
    right: -1px;
  }
  #toast-container:not(.toast-top-full-width):not(.toast-bottom-full-width)
    > div {
    width: 17rem;
  }
  .toast-top-left {
    left: 0;
  }
  #toast-container.toast-top-center,
  #toast-container.toast-bottom-center {
    right: 1rem;
  }
  #toast-container.toast-top-center > div,
  #toast-container.toast-bottom-center > div {
    width: 20rem !important;
  }
  .toast-top-full-width,
  .toast-bottom-full-width {
    right: 0;
    left: 0;
    width: 93%;
  }
  .toast-top-full-width > div,
  .toast-bottom-full-width > div {
    width: 100%;
  }
  .toast-bottom-left {
    left: 0.25rem;
    bottom: 0.75rem;
  }
  .toast-bottom-right {
    right: 2.25rem;
    bottom: 0.75rem;
  }
  .toast-bottom-center,
  .toast-bottom-full-width {
    bottom: 0.75rem;
  }
  [data-textdirection="rtl"] #toast-container > div {
    padding-right: 8px;
  }
}

.dark-layout #toast-container > div,
.dark-layout #toast-container > div:hover {
  box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);
}

.dark-layout #toast-container .toast {
  background-color: #283046;
  color: #b4b7bd !important;
}

.dark-layout #toast-container .toast .toast-close-button {
  color: #b4b7bd;
}

@media (max-width: 575.98px) {
  [data-textdirection="rtl"] .toast .toast-close-button {
    top: 0.55rem !important;
    right: 0.5rem !important;
  }
}

[data-textdirection="rtl"] .toast-top-left {
  left: 1rem;
  right: auto;
}

[data-textdirection="rtl"] .toast-top-right {
  right: 3rem;
  left: auto;
}

[data-textdirection="rtl"] .toast-bottom-left {
  left: 1em;
  right: auto;
}

[data-textdirection="rtl"] .toast-bottom-right {
  right: 3rem;
  left: auto;
}

[data-textdirection="rtl"] .toast-top-full-width#toast-container > div,
[data-textdirection="rtl"] .toast-bottom-full-width#toast-container > div {
  left: 0;
  right: 0;
}
