/* OptionPerks toastr — clean, nt-theme aligned */
#toast-container {
  z-index: 1000000 !important;
}

#toast-container.toast-top-right {
  top: 16px;
  right: 16px;
}

#toast-container.toast-bottom-right {
  bottom: 16px;
  right: 16px;
}

#toast-container > div {
  width: 340px;
  max-width: calc(100vw - 32px);
  min-height: 56px;
  margin: 0 0 10px !important;
  padding: 14px 40px 14px 52px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(28, 66, 110, 0.16) !important;
  opacity: 1 !important;
  background-image: none !important;
  background-color: #fff !important;
  border: 1px solid #e6eef6 !important;
  border-left-width: 4px !important;
  color: #1a2332 !important;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#toast-container > .toast-success {
  border-left-color: #12b76a !important;
}

#toast-container > .toast-error {
  border-left-color: #f04438 !important;
}

#toast-container > .toast-warning {
  border-left-color: #f79009 !important;
}

#toast-container > .toast-info {
  border-left-color: #1f86f0 !important;
}

#toast-container > div::before {
  font-family: "bootstrap-icons" !important;
  font-size: 1.05rem !important;
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  content: "" !important;
}

#toast-container > .toast-success::before {
  content: "\F26A" !important;
  color: #039855 !important;
  background: #dcfae6 !important;
}

#toast-container > .toast-error::before {
  content: "\F623" !important;
  color: #d92d20 !important;
  background: #fee4e2 !important;
}

#toast-container > .toast-warning::before {
  content: "\F33B" !important;
  color: #dc6803 !important;
  background: #fef0c7 !important;
}

#toast-container > .toast-info::before {
  content: "\F431" !important;
  color: #175cd3 !important;
  background: #d1e9ff !important;
}

/* Kill older ::after icon hacks */
#toast-container > div::after {
  content: none !important;
  display: none !important;
}

#toast-container .toast-title {
  font-size: 0.88rem !important;
  font-weight: 650 !important;
  margin-bottom: 2px !important;
  color: #1a2332 !important;
}

#toast-container .toast-message {
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  color: #344054 !important;
  padding-right: 4px !important;
}

#toast-container .toast-close-button {
  position: absolute !important;
  right: 10px !important;
  top: 8px !important;
  color: #98a2b3 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  opacity: 0.85 !important;
}

#toast-container .toast-close-button:hover,
#toast-container .toast-close-button:focus {
  color: #1a2332 !important;
  opacity: 1 !important;
}

#toast-container .toast-progress {
  height: 3px !important;
  opacity: 0.85 !important;
  bottom: 0 !important;
}

#toast-container > .toast-success .toast-progress {
  background-color: #12b76a !important;
}

#toast-container > .toast-error .toast-progress {
  background-color: #f04438 !important;
}

#toast-container > .toast-warning .toast-progress {
  background-color: #f79009 !important;
}

#toast-container > .toast-info .toast-progress {
  background-color: #1f86f0 !important;
}

@media (max-width: 575px) {
  #toast-container.toast-top-right,
  #toast-container.toast-bottom-right {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
  }

  #toast-container > div {
    width: 100% !important;
  }
}
