#toast-container>div {
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  max-width: none;
  border-radius: 0.286rem;
}

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

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

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

.toast .toast-close-button {
  color: #6e6b7b;
  font-size: 1.75rem;
  font-weight: 400;
  top: 0;
  right: 0;
  text-shadow: none;
}

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

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

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

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

.toast:before {
  content: '';
  height: 24px;
  width: 24px;
  top: 20px;
  border-radius: 50%;
  color: #fff;
  position: absolute;
  left: 8rem;
  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: #FFAB00;
}

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

.toast-warning:before {
  background-color: #FFAB00;
  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;
  margin: auto;
}

.toast-top-center,
.toast-top-full-width {
  top: 1.3rem;
  width: 100% !important;
}

.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;
  width: 100% !important;
}

@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>div {
    width: 20rem;
  }

  .toast-top-left {
    left: 1rem;
  }

  #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: 1rem;
    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;
}

/* ── Modern toast design ── */
#toast-container > div {
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14) !important;
  padding: 18px 44px 18px 56px !important;
  min-width: 320px;
  max-width: 440px;
  opacity: 1 !important;
  background-image: none !important;
}
#toast-container > .toast-success {
  background-color: #fff !important;
  border-left: 4px solid #10B981 !important;
  color: #1a1a2e !important;
}
#toast-container > .toast-warning {
  background-color: #fff !important;
  border-left: 4px solid #F59E0B !important;
  color: #1a1a2e !important;
}
#toast-container > .toast-error {
  background-color: #fff !important;
  border-left: 4px solid #EF4444 !important;
  color: #1a1a2e !important;
}
#toast-container > .toast-info {
  background-color: #fff !important;
  border-left: 4px solid #3B82F6 !important;
  color: #1a1a2e !important;
}
#toast-container .toast-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-bottom: 3px !important;
}
#toast-container > .toast-success .toast-title { color: #059669 !important; }
#toast-container > .toast-warning .toast-title { color: #D97706 !important; }
#toast-container > .toast-error   .toast-title { color: #DC2626 !important; }
#toast-container > .toast-info    .toast-title { color: #2563EB !important; }
#toast-container .toast-message {
  font-size: 13px !important;
  color: #4B5563 !important;
}
#toast-container .toast-close-button {
  position: absolute !important;
  top: 4px !important;
  right: 6px !important;
  transform: none !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #9CA3AF !important;
  text-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transition: background 0.15s, color 0.15s !important;
}
#toast-container .toast-close-button:hover {
  background: #F3F4F6 !important;
  color: #374151 !important;
  border: none !important;
  box-shadow: none !important;
}