/* Kyro toast UI */
.hs-toast-fixed-top {
  position: fixed;
  top: 78px;
  right: 16px;
  left: auto;
  z-index: 10050;
  margin: 0;
  max-width: 380px;
  width: calc(100% - 32px);
  padding: 0;
  pointer-events: none;
}

.hs-toast-absolute-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hs-toast-wrapper {
  margin: 0;
  max-width: 380px;
  padding: 0;
}

.hs-toast {
  margin: 0 0 .75rem auto;
  border-radius: .85rem;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, .12),
    0 2px 8px rgba(15, 23, 42, .06);
  background: #fff;
  padding: 0;
  max-width: 380px;
  width: 100%;
  position: relative;
  overflow: hidden;
  pointer-events: auto;
  border: 1px solid rgba(15, 23, 42, .06);
  animation: hs-toast-in .35s cubic-bezier(.22, 1, .36, 1);
}

.hs-toast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #556ee6;
}

.hs-toast-inner {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
}

.hs-toast-msg {
  color: #343a40;
  line-height: 1.45;
  flex: 1 1 0%;
  min-width: 0;
  padding: .15rem 0 0;
  font-size: .875rem;
  font-weight: 500;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hs-toast-msg ul {
  margin: 0;
  padding-left: .75rem;
}

.hs-toast-icons {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(85, 110, 230, .12);
  color: #556ee6;
}

.hs-toast-icons svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.hs-toast-action {
  flex: none;
  margin-top: .1rem;
}

.hs-close {
  border: none;
  background: rgba(15, 23, 42, .04);
  color: #74788d;
  outline: none;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: .85rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}

.hs-close:hover {
  background: rgba(15, 23, 42, .08);
  color: #343a40;
}

.hs-toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(85, 110, 230, .2);
  transform-origin: left center;
  animation: hs-toast-progress linear forwards;
}

.hs-toast + .hs-toast {
  margin-top: 0;
}

.hs-theme-error::before { background: #f46a6a; }
.hs-theme-error .hs-toast-icons {
  background: rgba(244, 106, 106, .12);
  color: #f46a6a;
}
.hs-theme-error .hs-toast-progress {
  background: rgba(244, 106, 106, .35);
}

.hs-theme-success::before { background: #1cbb8c; }
.hs-theme-success .hs-toast-icons {
  background: rgba(28, 187, 140, .12);
  color: #1cbb8c;
}
.hs-theme-success .hs-toast-progress {
  background: rgba(28, 187, 140, .35);
}

.hs-theme-warning::before { background: #f1b44c; }
.hs-theme-warning .hs-toast-icons {
  background: rgba(241, 180, 76, .15);
  color: #c7922d;
}
.hs-theme-warning .hs-toast-progress {
  background: rgba(241, 180, 76, .4);
}

.hs-theme-info::before { background: #50a5f1; }
.hs-theme-info .hs-toast-icons {
  background: rgba(80, 165, 241, .12);
  color: #50a5f1;
}
.hs-theme-info .hs-toast-progress {
  background: rgba(80, 165, 241, .35);
}

@keyframes hs-toast-in {
  from {
    opacity: 0;
    transform: translateX(18px) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes hs-toast-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 575.98px) {
  .hs-toast-fixed-top {
    top: 70px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }

  .hs-toast-wrapper,
  .hs-toast {
    max-width: none;
  }
}

/* Toastr (login / AJAX) — match hexa toast look */
#toast-container {
  z-index: 10060 !important;
}

#toast-container > div {
  opacity: 1 !important;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, .12),
    0 2px 8px rgba(15, 23, 42, .06) !important;
  border-radius: .85rem !important;
  background-image: none !important;
  padding: .95rem 1rem .95rem 3.25rem !important;
  border: 1px solid rgba(15, 23, 42, .06) !important;
  color: #343a40 !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  width: 340px !important;
}

#toast-container > .toast-success {
  background-color: #fff !important;
  border-left: 4px solid #1cbb8c !important;
}

#toast-container > .toast-error {
  background-color: #fff !important;
  border-left: 4px solid #f46a6a !important;
}

#toast-container > .toast-info {
  background-color: #fff !important;
  border-left: 4px solid #50a5f1 !important;
}

#toast-container > .toast-warning {
  background-color: #fff !important;
  border-left: 4px solid #f1b44c !important;
}

#toast-container > div:hover {
  box-shadow:
    0 14px 34px rgba(15, 23, 42, .16),
    0 4px 10px rgba(15, 23, 42, .08) !important;
}

.toast-close-button {
  color: #74788d !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.toast-progress {
  opacity: 1 !important;
  height: 3px !important;
}
