/*
 * Note that this is toastr v2.1.3, the "latest" version in url has no more maintenance,
 * please go to https://cdnjs.com/libraries/toastr.js and pick a certain version you want to use,
 * make sure you copy the url from the website since the url may change between versions.
 * */
.toast-title {
  font-size:.875rem;
  line-height:1.25rem;
  font-weight: 600;
  margin-bottom: 2px
}

.toast-message {
  -ms-word-wrap: break-word;
  word-wrap: break-word
}

.toast-message a,
.toast-message label {
  color: #FFF
  font-size:.875rem;
  line-height:1.25rem
}

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

.toast-close-button {
  position: relative;
  right: -.3em;
  top: -.3em;
  float: right;
  font-size:.875rem;
  line-height:1.25rem
  color: #FFF;
}

.toast-close-button:focus,
.toast-close-button:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.rtl .toast-close-button {
  left: -.3em;
  float: left;
  right: .3em
}

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

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

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

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

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

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

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

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

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

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

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

#toast-container>div {
  position: relative;
  pointer-events: auto;
  overflow: hidden;
  margin: 0 0 10px;
  padding: 14px 16px 14px 54px;
  width: 320px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background-position: 16px center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
  animation: toastSlideIn 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
  border-left: 5px solid transparent;
}

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

#toast-container>div:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.10);
  cursor: pointer;
  transform: translateY(-1px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#toast-container>.toast-info {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath fill='white' d='M11 7h2v2h-2zm0 4h2v6h-2z'/%3E%3C/svg%3E") !important;
  color: #1e3a5f !important;
  border-left-color: #2563eb !important;
}

#toast-container>.toast-error {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath fill='white' d='M13 7h-2v6h2zm0 8h-2v2h2z'/%3E%3C/svg%3E") !important;
  color: #5f1e1e !important;
  border-left-color: #dc2626 !important;
}

#toast-container>.toast-success {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath fill='white' d='M9 12.5l2.5 2.5 5-5-1.4-1.4L11.5 12.1 10.4 11z'/%3E%3C/svg%3E") !important;
  color: #1a3d2b !important;
  border-left-color: #16a34a !important;
}

#toast-container>.toast-warning {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d97706'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 3.5L20.5 19H3.5L12 5.5zM11 10v4h2v-4zm0 6v2h2v-2z'/%3E%3C/svg%3E") !important;
  color: #4a2c00 !important;
  border-left-color: #d97706 !important;
}

#toast-container.toast-bottom-center>div,
#toast-container.toast-top-center>div {
  width: 300px;
  margin-left: auto;
  margin-right: auto
}

#toast-container.toast-bottom-full-width>div,
#toast-container.toast-top-full-width>div {
  width: 96%;
  margin-left: auto;
  margin-right: auto
}

.toast {
  background-color: #030303
}

.toast-success {
  background-color: #f0fdf4;
  top: 10px
}

.toast-error {
  background-color: #fef2f2;
  top: 10px
}

.toast-info {
  background-color: #eff6ff;
  top: 10px
}

.toast-warning {
  background-color: #fffbeb;
  top: 10px
}

.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background-color: rgba(0,0,0,0.15);
  border-radius: 0 0 0 10px;
}

.toast-success .toast-progress { background-color: #16a34a; }
.toast-error   .toast-progress { background-color: #dc2626; }
.toast-info    .toast-progress { background-color: #2563eb; }
.toast-warning .toast-progress { background-color: #d97706; }

/* ── Pop-in from top animation ── */
@keyframes toastSlideIn {
  0%   { opacity: 0; transform: translateY(-24px) scale(0.85); }
  65%  { transform: translateY(4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Slide-out to top animation ── */
@keyframes toastSlideOut {
  0%   { opacity: 1; transform: translateY(0) scale(1); max-height: 200px; margin-bottom: 10px; }
  60%  { opacity: 0; transform: translateY(-20px) scale(0.9); }
  100% { opacity: 0; transform: translateY(-30px) scale(0.85); max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
}

@media all and (max-width:240px) {
  #toast-container>div {
    padding: 8px 8px 8px 50px;
    width: 11em
  }

  #toast-container>div.rtl {
    padding: 8px 50px 8px 8px
  }

  #toast-container .toast-close-button {
    right: -.2em;
    top: -.2em
  }

  #toast-container .rtl .toast-close-button {
    left: -.2em;
    right: .2em
  }
}

@media all and (min-width:241px) and (max-width:480px) {
  #toast-container>div {
    padding: 8px 8px 8px 50px;
    width: 18em
  }

  #toast-container>div.rtl {
    padding: 8px 50px 8px 8px
  }

  #toast-container .toast-close-button {
    right: -.2em;
    top: -.2em
  }

  #toast-container .rtl .toast-close-button {
    left: -.2em;
    right: .2em
  }
}

@media all and (min-width:481px) and (max-width:768px) {
  #toast-container>div {
    padding: 15px 15px 15px 50px;
    width: 25em
  }

  #toast-container>div.rtl {
    padding: 15px 50px 15px 15px
  }
}