.custom-toast {
  background: #ffffff !important;
  border: 1px solid rgba(59, 130, 246, 0.5) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  min-width: 350px !important;

  .notyf__wrapper {
    padding-right: 0.5rem;
  }
}

.custom-toast-success {
  --toast-color: rgb(59, 130, 246);

  .notyf__message {
    color: var(--toast-color);
    font-weight: 500;
  }
}

.custom-toast-error {
  --toast-color: rgb(239, 68, 68);

  border-color: var(--toast-color) !important;
  min-width: 380px !important;
}

.custom-toast-error .notyf__message {
  color: var(--toast-color) !important;
  font-weight: 500;
}

.notyf__icon--success,
.notyf__icon--error {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px !important;
  height: 24px !important;
  margin-right: 12px !important;
}

.custom-toast .notyf__dismiss,
.notyf__dismiss-btn {
  background: transparent !important;
  color: black;
  width: auto !important;
}

.custom-toast {
  .notyf__dismiss-btn {
    padding-right: 2rem;
  }

  .notyf__dismiss-btn::before,
  .notyf__dismiss-btn::after {
    background: var(--toast-color);
    height: 14px;
  }
}

.custom-toast .toast-icon {
  width: 32px;
  aspect-ratio: 1;
  color: var(--toast-color) !important;
}
